60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
![]() |
{
|
||
|
"type": "minecraft:block",
|
||
|
"pools": [
|
||
|
{
|
||
|
"bonus_rolls": 0.0,
|
||
|
"entries": [
|
||
|
{
|
||
|
"type": "minecraft:alternatives",
|
||
|
"children": [
|
||
|
{
|
||
|
"type": "minecraft:item",
|
||
|
"conditions": [
|
||
|
{
|
||
|
"condition": "minecraft:match_tool",
|
||
|
"predicate": {
|
||
|
"enchantments": [
|
||
|
{
|
||
|
"enchantment": "minecraft:silk_touch",
|
||
|
"levels": {
|
||
|
"min": 1
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"functions": [
|
||
|
{
|
||
|
"function": "minecraft:copy_nbt",
|
||
|
"ops": [
|
||
|
{
|
||
|
"op": "replace",
|
||
|
"source": "Bees",
|
||
|
"target": "BlockEntityTag.Bees"
|
||
|
}
|
||
|
],
|
||
|
"source": "block_entity"
|
||
|
},
|
||
|
{
|
||
|
"block": "minecraft:beehive",
|
||
|
"function": "minecraft:copy_state",
|
||
|
"properties": [
|
||
|
"honey_level"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"name": "minecraft:beehive"
|
||
|
},
|
||
|
{
|
||
|
"type": "minecraft:item",
|
||
|
"name": "minecraft:beehive"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"rolls": 1.0
|
||
|
}
|
||
|
],
|
||
|
"random_sequence": "minecraft:blocks/beehive"
|
||
|
}
|