bookshelf.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1,
  6. "entries": [
  7. {
  8. "type": "minecraft:alternatives",
  9. "children": [
  10. {
  11. "type": "minecraft:item",
  12. "conditions": [
  13. {
  14. "condition": "minecraft:match_tool",
  15. "predicate": {
  16. "enchantments": [
  17. {
  18. "enchantment": "minecraft:silk_touch",
  19. "levels": {
  20. "min": 1
  21. }
  22. }
  23. ]
  24. }
  25. }
  26. ],
  27. "name": "minecraft:bookshelf"
  28. },
  29. {
  30. "type": "minecraft:item",
  31. "functions": [
  32. {
  33. "function": "minecraft:set_count",
  34. "count": 3
  35. },
  36. {
  37. "function": "minecraft:explosion_decay"
  38. }
  39. ],
  40. "name": "minecraft:book"
  41. }
  42. ]
  43. }
  44. ]
  45. }
  46. ]
  47. }