white.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {"pools": [{"rolls": 1,"entries": [
  2. {
  3. "type": "minecraft:loot_table",
  4. "weight": 28,
  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": 3
  15. },
  16. {
  17. "function": "minecraft:set_nbt",
  18. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取 3 积分\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_add_score:3}"
  19. }
  20. ]
  21. },
  22. {
  23. "type": "minecraft:loot_table",
  24. "weight": 48,
  25. "name": "item:item/white"
  26. },
  27. {
  28. "type": "minecraft:item",
  29. "weight": 3,
  30. "name": "minecraft:blaze_powder",
  31. "functions": [
  32. {
  33. "function": "minecraft:set_count",
  34. "count": 5
  35. },
  36. {
  37. "function": "minecraft:set_nbt",
  38. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取随机白色道具 x5\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_random_bonus:[{type:\"item\",level:\"white\",Count:5}]}"
  39. }
  40. ]
  41. },
  42. {
  43. "type": "minecraft:item",
  44. "weight": 2,
  45. "name": "minecraft:blaze_powder",
  46. "functions": [
  47. {
  48. "function": "minecraft:set_count",
  49. "count": 2
  50. },
  51. {
  52. "function": "minecraft:set_nbt",
  53. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取随机蓝色道具 x2\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_random_bonus:[{type:\"item\",level:\"green\",Count:2}]}"
  54. }
  55. ]
  56. },
  57. {
  58. "type": "minecraft:item",
  59. "weight": 7,
  60. "name": "minecraft:shulker_shell",
  61. "functions": [
  62. {
  63. "function": "minecraft:set_nbt",
  64. "tag": "{item_name:'{\"text\":\"随机白色道具\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"white\",Count:1}]}"
  65. }
  66. ]
  67. },
  68. {
  69. "type": "minecraft:item",
  70. "weight": 7,
  71. "name": "minecraft:shulker_shell",
  72. "functions": [
  73. {
  74. "function": "minecraft:set_count",
  75. "count": 2
  76. },
  77. {
  78. "function": "minecraft:set_nbt",
  79. "tag": "{item_name:'{\"text\":\"随机白色道具 x2\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"white\",Count:2}]}"
  80. }
  81. ]
  82. }
  83. ]}]}