mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 14:34:28 +00:00
Add Shears ToolActions (#7997)
Make shear interactions extend to subclasses Add Shears actions for beehive harvesting, pumpkin carving and trip wire disarming
This commit is contained in:
1 parent
c5a1c90366
commit
a336e443f7
31 files changed
+231
-161
No files matched your search
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -160,10 +156,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:dead_bush"
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:fern"
|
||||
|
||||
+4
-8
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:grass"
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -105,10 +103,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
@@ -79,10 +77,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -160,10 +156,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
@@ -104,10 +102,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
@@ -79,10 +77,8 @@
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
|
||||
@@ -19,10 +19,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
@@ -12,10 +12,8 @@
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
}
|
||||
],
|
||||
"functions": []
|
||||
|
||||
@@ -15,10 +15,8 @@
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"tag": "forge:shears"
|
||||
}
|
||||
"condition": "forge:can_tool_perform_action",
|
||||
"action": "shears_dig"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
|
||||
Reference in new issue
Block a user