Fix gravel loot table
As originally intended, gravel now always drops flint unless mined with a shovel (or paxel), giving it a 50% chance of dropping gravel, or 100% with silk touch
This commit is contained in:
parent
4ac859b21a
commit
e32a075832
|
|
@ -1,56 +1,36 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [{
|
"pools": [{
|
||||||
"bonus_rolls": 0,
|
"rolls": 1,
|
||||||
"entries": [
|
"entries": [{
|
||||||
{
|
|
||||||
"type": "minecraft:alternatives",
|
"type": "minecraft:alternatives",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"type": "minecraft:item",
|
"type": "minecraft:item",
|
||||||
"conditions": [
|
"name": "minecraft:gravel",
|
||||||
{
|
"conditions": [{
|
||||||
"condition": "minecraft:match_tool",
|
"condition": "minecraft:match_tool",
|
||||||
"predicate": {
|
"predicate": {"enchantments": [{"enchantment": "minecraft:silk_touch", "levels": {"min": 1}}]}
|
||||||
"enchantments": [{
|
|
||||||
"enchantment": "minecraft:silk_touch",
|
|
||||||
"levels": {"min": 1}
|
|
||||||
}]
|
}]
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "minecraft:gravel"
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "minecraft:alternatives",
|
|
||||||
"children": [
|
|
||||||
{
|
{
|
||||||
"type": "minecraft:item",
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:gravel",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"chances": [
|
"condition": "minecraft:any_of",
|
||||||
0.1,
|
"terms": [
|
||||||
0.14285715,
|
{"condition": "minecraft:match_tool", "predicate": {"tag": "minecraft:shovels"}},
|
||||||
0.25,
|
{"condition": "minecraft:match_tool", "predicate": {"tag": "forge:tools/paxels"}}
|
||||||
1
|
]
|
||||||
],
|
|
||||||
"condition": "minecraft:table_bonus",
|
|
||||||
"enchantment": "minecraft:fortune"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "minecraft:flint"
|
|
||||||
},
|
},
|
||||||
{
|
{"condition": "minecraft:random_chance", "chance": 0.5}
|
||||||
"type": "minecraft:item",
|
]
|
||||||
"name": "minecraft:flint"
|
},
|
||||||
}
|
{"type": "minecraft:item", "name": "minecraft:flint"}
|
||||||
],
|
],
|
||||||
"conditions": [{"condition": "minecraft:survives_explosion"}]
|
"conditions": [{"condition": "minecraft:survives_explosion"}]
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"rolls": 1
|
|
||||||
}],
|
}],
|
||||||
"random_sequence": "minecraft:blocks/gravel"
|
"random_sequence": "minecraft:blocks/gravel"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue