brown_mushroom_block.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "enchantments": [
  17. {
  18. "enchantment": "minecraft:silk_touch",
  19. "levels": {
  20. "min": 1
  21. }
  22. }
  23. ]
  24. }
  25. }
  26. ],
  27. "name": "minecraft:brown_mushroom_block"
  28. },
  29. {
  30. "type": "minecraft:item",
  31. "functions": [
  32. {
  33. "function": "minecraft:set_count",
  34. "count": {
  35. "min": -6.0,
  36. "max": 2.0,
  37. "type": "minecraft:uniform"
  38. }
  39. },
  40. {
  41. "function": "minecraft:limit_count",
  42. "limit": {
  43. "min": 0
  44. }
  45. },
  46. {
  47. "function": "minecraft:explosion_decay"
  48. }
  49. ],
  50. "name": "minecraft:brown_mushroom"
  51. }
  52. ]
  53. }
  54. ]
  55. }
  56. ]
  57. }