danger.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "pools": [
  3. {
  4. "rolls": 1,
  5. "entries": [
  6. {
  7. "type": "minecraft:item",
  8. "name": "minecraft:armor_stand",
  9. "weight": 15,
  10. "functions": [
  11. {
  12. "function": "minecraft:set_nbt",
  13. "tag": "{conditions:[{name:'{\"text\":\"R<6\",\"color\":\"red\"}',type:'red_l',value:10s}],events:[{name:'{\"text\":\"清除脚下方块\",\"color\":\"yellow\"}',type:'place_air'}]}"
  14. }
  15. ]
  16. },
  17. {
  18. "type": "minecraft:item",
  19. "name": "minecraft:armor_stand",
  20. "weight": 1,
  21. "functions": [
  22. {
  23. "function": "minecraft:set_nbt",
  24. "tag": "{conditions:[{name:'{\"text\":\"R<8\",\"color\":\"red\"}',type:'red_l',value:10s}],events:[{name:'{\"text\":\"清除脚下方块\",\"color\":\"yellow\"}',type:'place_air'}]}"
  25. }
  26. ]
  27. },
  28. {
  29. "type": "minecraft:item",
  30. "name": "minecraft:armor_stand",
  31. "weight": 1,
  32. "functions": [
  33. {
  34. "function": "minecraft:set_nbt",
  35. "tag": "{conditions:[{name:'{\"text\":\"R<10\",\"color\":\"red\"}',type:'red_l',value:10s}],events:[{name:'{\"text\":\"清除脚下方块\",\"color\":\"yellow\"}',type:'place_air'}]}"
  36. }
  37. ]
  38. }
  39. ]
  40. }
  41. ]
  42. }