141 lines
3.4 KiB
JSON
141 lines
3.4 KiB
JSON
{
|
|
"type": "minecraft:block",
|
|
"pools": [
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"conditions": [
|
|
{
|
|
"block": "minecraft:large_fern",
|
|
"condition": "minecraft:block_state_property",
|
|
"properties": {
|
|
"half": "lower"
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:location_check",
|
|
"offsetY": 1,
|
|
"predicate": {
|
|
"block": {
|
|
"blocks": [
|
|
"minecraft:large_fern"
|
|
],
|
|
"state": {
|
|
"half": "upper"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:match_tool",
|
|
"predicate": {
|
|
"items": [
|
|
"minecraft:shears"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 2.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:fern"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:survives_explosion"
|
|
},
|
|
{
|
|
"chance": 0.125,
|
|
"condition": "minecraft:random_chance"
|
|
}
|
|
],
|
|
"name": "minecraft:wheat_seeds"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
},
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"conditions": [
|
|
{
|
|
"block": "minecraft:large_fern",
|
|
"condition": "minecraft:block_state_property",
|
|
"properties": {
|
|
"half": "upper"
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:location_check",
|
|
"offsetY": -1,
|
|
"predicate": {
|
|
"block": {
|
|
"blocks": [
|
|
"minecraft:large_fern"
|
|
],
|
|
"state": {
|
|
"half": "lower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:match_tool",
|
|
"predicate": {
|
|
"items": [
|
|
"minecraft:shears"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": 2.0,
|
|
"function": "minecraft:set_count"
|
|
}
|
|
],
|
|
"name": "minecraft:fern"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:survives_explosion"
|
|
},
|
|
{
|
|
"chance": 0.125,
|
|
"condition": "minecraft:random_chance"
|
|
}
|
|
],
|
|
"name": "minecraft:wheat_seeds"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
}
|
|
]
|
|
} |