rcarrots.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "entries": [
  7. {
  8. "type": "minecraft:item",
  9. "name": "minecraft:carrot"
  10. }
  11. ]
  12. },
  13. {
  14. "rolls": 1.0,
  15. "entries": [
  16. {
  17. "type": "minecraft:item",
  18. "functions": [
  19. {
  20. "function": "minecraft:apply_bonus",
  21. "enchantment": "minecraft:fortune",
  22. "formula": "minecraft:binomial_with_bonus_count",
  23. "parameters": {
  24. "extra": 3,
  25. "probability": 0.5714286
  26. }
  27. }
  28. ],
  29. "name": "minecraft:carrot"
  30. }
  31. ],
  32. "conditions": [
  33. {
  34. "condition": "minecraft:block_state_property",
  35. "block": "km:rcarrots",
  36. "properties": {
  37. "age": "7"
  38. }
  39. }
  40. ]
  41. }
  42. ],
  43. "functions": [
  44. {
  45. "function": "minecraft:explosion_decay"
  46. }
  47. ]
  48. }