grass.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "bonus_rolls": 0.0,
  7. "entries": [
  8. {
  9. "type": "minecraft:alternatives",
  10. "children": [
  11. {
  12. "type": "minecraft:item",
  13. "conditions": [
  14. {
  15. "condition": "minecraft:match_tool",
  16. "predicate": {
  17. "items": [
  18. "minecraft:shears"
  19. ]
  20. }
  21. }
  22. ],
  23. "name": "minecraft:grass"
  24. },
  25. {
  26. "type": "minecraft:item",
  27. "conditions": [
  28. {
  29. "condition": "minecraft:random_chance",
  30. "chance": 0.125
  31. }
  32. ],
  33. "functions": [
  34. {
  35. "function": "minecraft:apply_bonus",
  36. "enchantment": "minecraft:fortune",
  37. "formula": "minecraft:uniform_bonus_count",
  38. "parameters": {
  39. "bonusMultiplier": 2
  40. }
  41. },
  42. {
  43. "function": "minecraft:explosion_decay"
  44. }
  45. ],
  46. "name": "minecraft:wheat_seeds"
  47. }
  48. ]
  49. }
  50. ]
  51. }
  52. ]
  53. }