amethyst_cluster.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. "name": "minecraft:amethyst_cluster"
  29. },
  30. {
  31. "type": "minecraft:alternatives",
  32. "children": [
  33. {
  34. "type": "minecraft:item",
  35. "conditions": [
  36. {
  37. "condition": "minecraft:match_tool",
  38. "predicate": {
  39. "tag": "minecraft:cluster_max_harvestables"
  40. }
  41. }
  42. ],
  43. "functions": [
  44. {
  45. "function": "minecraft:set_count",
  46. "count": 4.0,
  47. "add": false
  48. },
  49. {
  50. "function": "minecraft:apply_bonus",
  51. "enchantment": "minecraft:fortune",
  52. "formula": "minecraft:ore_drops"
  53. }
  54. ],
  55. "name": "minecraft:amethyst_shard"
  56. },
  57. {
  58. "type": "minecraft:item",
  59. "functions": [
  60. {
  61. "function": "minecraft:set_count",
  62. "count": 2.0,
  63. "add": false
  64. },
  65. {
  66. "function": "minecraft:explosion_decay"
  67. }
  68. ],
  69. "name": "minecraft:amethyst_shard"
  70. }
  71. ]
  72. }
  73. ]
  74. }
  75. ]
  76. }
  77. ]
  78. }