bee_nest.json 1.1 KB

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