beehive.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "bonus_rolls": 0.0,
  7. "entries": [
  8. {
  9. "type": "minecraft:alternatives",
  10. "children": [
  11. {
  12. "type": "minecraft:item",
  13. "conditions": [
  14. {
  15. "condition": "minecraft:match_tool",
  16. "predicate": {
  17. "enchantments": [
  18. {
  19. "enchantment": "minecraft:silk_touch",
  20. "levels": {
  21. "min": 1
  22. }
  23. }
  24. ]
  25. }
  26. }
  27. ],
  28. "functions": [
  29. {
  30. "function": "minecraft:copy_nbt",
  31. "source": "block_entity",
  32. "ops": [
  33. {
  34. "source": "Bees",
  35. "target": "BlockEntityTag.Bees",
  36. "op": "replace"
  37. }
  38. ]
  39. },
  40. {
  41. "function": "minecraft:copy_state",
  42. "block": "minecraft:beehive",
  43. "properties": [
  44. "honey_level"
  45. ]
  46. }
  47. ],
  48. "name": "minecraft:beehive"
  49. },
  50. {
  51. "type": "minecraft:item",
  52. "name": "minecraft:beehive"
  53. }
  54. ]
  55. }
  56. ]
  57. }
  58. ]
  59. }