campfire.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. "enchantments": [
  18. {
  19. "enchantment": "minecraft:silk_touch",
  20. "levels": {
  21. "min": 1
  22. }
  23. }
  24. ]
  25. }
  26. }
  27. ],
  28. "name": "minecraft:campfire"
  29. },
  30. {
  31. "type": "minecraft:item",
  32. "conditions": [
  33. {
  34. "condition": "minecraft:survives_explosion"
  35. }
  36. ],
  37. "functions": [
  38. {
  39. "function": "minecraft:set_count",
  40. "count": 2.0,
  41. "add": false
  42. }
  43. ],
  44. "name": "minecraft:charcoal"
  45. }
  46. ]
  47. }
  48. ]
  49. }
  50. ]
  51. }