nether_wart.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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:set_count",
  13. "conditions": [
  14. {
  15. "condition": "minecraft:block_state_property",
  16. "block": "minecraft:nether_wart",
  17. "properties": {
  18. "age": "3"
  19. }
  20. }
  21. ],
  22. "count": {
  23. "type": "minecraft:uniform",
  24. "min": 2.0,
  25. "max": 4.0
  26. },
  27. "add": false
  28. },
  29. {
  30. "function": "minecraft:apply_bonus",
  31. "conditions": [
  32. {
  33. "condition": "minecraft:block_state_property",
  34. "block": "minecraft:nether_wart",
  35. "properties": {
  36. "age": "3"
  37. }
  38. }
  39. ],
  40. "enchantment": "minecraft:fortune",
  41. "formula": "minecraft:uniform_bonus_count",
  42. "parameters": {
  43. "bonusMultiplier": 1
  44. }
  45. }
  46. ],
  47. "name": "minecraft:nether_wart"
  48. }
  49. ],
  50. "functions": [
  51. {
  52. "function": "minecraft:explosion_decay"
  53. }
  54. ]
  55. }
  56. ]
  57. }