bee_nest.json 1.1 KB

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