redstone_ore.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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:redstone_ore"
  28. },
  29. {
  30. "type": "minecraft:item",
  31. "functions": [
  32. {
  33. "function": "minecraft:set_count",
  34. "count": {
  35. "min": 4.0,
  36. "max": 5.0,
  37. "type": "minecraft:uniform"
  38. }
  39. },
  40. {
  41. "function": "minecraft:apply_bonus",
  42. "enchantment": "minecraft:fortune",
  43. "formula": "minecraft:uniform_bonus_count",
  44. "parameters": {
  45. "bonusMultiplier": 1
  46. }
  47. },
  48. {
  49. "function": "minecraft:explosion_decay"
  50. }
  51. ],
  52. "name": "minecraft:redstone"
  53. }
  54. ]
  55. }
  56. ]
  57. }
  58. ]
  59. }