carrots.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:carrot"
  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:carrot"
  32. }
  33. ],
  34. "conditions": [
  35. {
  36. "condition": "minecraft:block_state_property",
  37. "block": "minecraft:carrots",
  38. "properties": {
  39. "age": "7"
  40. }
  41. }
  42. ]
  43. }
  44. ],
  45. "functions": [
  46. {
  47. "function": "minecraft:explosion_decay"
  48. }
  49. ]
  50. }