mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 21:20:12 +00:00
Global Loot Functions (#6401)
This commit is contained in:
1 parent
2ce4f5ece5
commit
58e5f33fad
18 files changed
+643
-44
No files matched your search
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"replace": false,
|
||||
"entries": [
|
||||
"global_loot_test:silk_touch_bamboo",
|
||||
"global_loot_test:smelting",
|
||||
"global_loot_test:wheat_harvest"
|
||||
]
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"item": "minecraft:bamboo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"function": "global_loot_test:silk_touch_bamboo"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "global_loot_test:smelt",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"function": "global_loot_test:smelting"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"item": "minecraft:shears"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "block_state_property",
|
||||
"block":"minecraft:wheat"
|
||||
}
|
||||
],
|
||||
"function": "global_loot_test:wheat_seeds_test",
|
||||
"seedItem": "minecraft:wheat_seeds",
|
||||
"numSeeds": 3,
|
||||
"replacement": "minecraft:wheat"
|
||||
}
|
||||
Reference in new issue
Block a user