blue.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {"pools": [{"rolls": 1,"entries": [
  2. {
  3. "type": "minecraft:item",
  4. "weight": 2,
  5. "name": "minecraft:blaze_powder",
  6. "functions": [
  7. {
  8. "function": "minecraft:set_count",
  9. "count": 7
  10. },
  11. {
  12. "function": "minecraft:set_nbt",
  13. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取 7 积分\",\"color\":\"light_purple\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_add_score:7}"
  14. }
  15. ]
  16. },
  17. {
  18. "type": "minecraft:loot_table",
  19. "weight": 30,
  20. "name": "item:item/blue"
  21. },
  22. {
  23. "type": "minecraft:item",
  24. "weight": 2,
  25. "name": "minecraft:blaze_powder",
  26. "functions": [
  27. {
  28. "function": "minecraft:set_nbt",
  29. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取随机紫色道具 x2\",\"color\":\"light_purple\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_random_bonus:[{type:\"item\",level:\"blue\",Count:2}]}"
  30. }
  31. ]
  32. },
  33. {
  34. "type": "minecraft:item",
  35. "weight": 3,
  36. "name": "minecraft:shulker_shell",
  37. "functions": [
  38. {
  39. "function": "minecraft:set_nbt",
  40. "tag": "{item_name:'{\"text\":\"随机紫色道具\",\"color\":\"light_purple\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"blue\",Count:1}]}"
  41. }
  42. ]
  43. },
  44. {
  45. "type": "minecraft:item",
  46. "weight": 3,
  47. "name": "minecraft:shulker_shell",
  48. "functions": [
  49. {
  50. "function": "minecraft:set_count",
  51. "count": 2
  52. },
  53. {
  54. "function": "minecraft:set_nbt",
  55. "tag": "{item_name:'{\"text\":\"随机蓝色道具 x2\",\"color\":\"light_purple\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"green\",Count:2}]}"
  56. }
  57. ]
  58. }
  59. ]}]}