Probably fixed rubber leaves drop

This commit is contained in:
drcrazy 2021-06-14 11:14:54 +03:00
parent bff7238679
commit a49daa0339

View file

@ -1,64 +1,135 @@
{ {
"type": "minecraft:block", "type": "minecraft:block",
"pools": [ "pools": [
{ {
"rolls": 1, "rolls": 1.0,
"entries": [ "bonus_rolls": 0.0,
{ "entries": [
"type": "minecraft:alternatives", {
"children": [ "type": "minecraft:alternatives",
{ "children": [
"type": "minecraft:item", {
"conditions": [ "type": "minecraft:item",
{ "conditions": [
"condition": "minecraft:alternative", {
"terms": [ "condition": "minecraft:alternative",
{ "terms": [
"condition": "minecraft:match_tool", {
"predicate": { "condition": "minecraft:match_tool",
"item": "minecraft:shears" "predicate": {
} "items": [
}, "minecraft:shears"
{ ]
"condition": "minecraft:match_tool", }
"predicate": { },
"enchantments": [ {
{ "condition": "minecraft:match_tool",
"enchantment": "minecraft:silk_touch", "predicate": {
"levels": { "enchantments": [
"min": 1 {
} "enchantment": "minecraft:silk_touch",
} "levels": {
] "min": 1
} }
} }
] ]
} }
], }
"name": "techreborn:rubber_leaves" ]
}, }
{ ],
"type": "minecraft:item", "name": "techreborn:rubber_leaves"
"conditions": [ },
{ {
"condition": "minecraft:survives_explosion" "type": "minecraft:item",
}, "conditions": [
{ {
"condition": "minecraft:table_bonus", "condition": "minecraft:survives_explosion"
"enchantment": "minecraft:fortune", },
"chances": [ {
0.05, "condition": "minecraft:table_bonus",
0.0625, "enchantment": "minecraft:fortune",
0.083333336, "chances": [
0.1 0.05,
] 0.0625,
} 0.083333336,
], 0.1
"name": "techreborn:rubber_sapling" ]
} }
] ],
} "name": "techreborn:rubber_sapling"
] }
} ]
}
]
},
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.02,
0.022222223,
0.025,
0.033333335,
0.1
]
}
],
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 2.0
},
"add": false
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "minecraft:stick"
}
],
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:shears"
]
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
]
}
}
]
}
] ]
} }