effect.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "pools": [
  3. {
  4. "rolls": 1,
  5. "entries": [
  6. {
  7. "type": "minecraft:item",
  8. "name": "minecraft:armor_stand",
  9. "weight": 1,
  10. "functions": [
  11. {
  12. "function": "minecraft:set_nbt",
  13. "tag": "{conditions:[{name:'{\"text\":\"R≥15\",\"color\":\"red\"}',type:'red_ge',value:15s}],events:[{name:'{\"text\":\"急迫 III\",\"color\":\"yellow\"}',type:'effect',value:'haste_1_2'}]}"
  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\":\"G≥15\",\"color\":\"green\"}',type:'green_ge',value:15s}],events:[{name:'{\"text\":\"跳跃提升 II\",\"color\":\"yellow\"}',type:'effect',value:'jump_boost_1_1'}]}"
  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\":\"B≥15\",\"color\":\"green\"}',type:'blue_ge',value:15s}],events:[{name:'{\"text\":\"速度 II\",\"color\":\"yellow\"}',type:'effect',value:'speed_1_1'}]}"
  36. }
  37. ]
  38. }
  39. ]
  40. }
  41. ]
  42. }