grass.json 1.3 KB

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