potatoes.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. "name": "minecraft:potato"
  11. }
  12. ]
  13. },
  14. {
  15. "rolls": 1.0,
  16. "bonus_rolls": 0.0,
  17. "entries": [
  18. {
  19. "type": "minecraft:item",
  20. "functions": [
  21. {
  22. "function": "minecraft:apply_bonus",
  23. "enchantment": "minecraft:fortune",
  24. "formula": "minecraft:binomial_with_bonus_count",
  25. "parameters": {
  26. "extra": 3,
  27. "probability": 0.5714286
  28. }
  29. }
  30. ],
  31. "name": "minecraft:potato"
  32. }
  33. ],
  34. "conditions": [
  35. {
  36. "condition": "minecraft:block_state_property",
  37. "block": "minecraft:potatoes",
  38. "properties": {
  39. "age": "7"
  40. }
  41. }
  42. ]
  43. },
  44. {
  45. "rolls": 1.0,
  46. "bonus_rolls": 0.0,
  47. "entries": [
  48. {
  49. "type": "minecraft:item",
  50. "conditions": [
  51. {
  52. "condition": "minecraft:random_chance",
  53. "chance": 0.02
  54. }
  55. ],
  56. "name": "minecraft:poisonous_potato"
  57. }
  58. ],
  59. "conditions": [
  60. {
  61. "condition": "minecraft:block_state_property",
  62. "block": "minecraft:potatoes",
  63. "properties": {
  64. "age": "7"
  65. }
  66. }
  67. ]
  68. }
  69. ],
  70. "functions": [
  71. {
  72. "function": "minecraft:explosion_decay"
  73. }
  74. ]
  75. }