campfire.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:campfire"
  28. },
  29. {
  30. "type": "minecraft:item",
  31. "conditions": [
  32. {
  33. "condition": "minecraft:survives_explosion"
  34. }
  35. ],
  36. "functions": [
  37. {
  38. "function": "minecraft:set_count",
  39. "count": 2
  40. }
  41. ],
  42. "name": "minecraft:charcoal"
  43. }
  44. ]
  45. }
  46. ]
  47. }
  48. ]
  49. }