white.json 2.1 KB

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