purple.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {"pools": [{"rolls": 1,"entries": [
  2. {
  3. "type": "minecraft:loot_table",
  4. "weight": 5,
  5. "name": "item:item/purple"
  6. },
  7. {
  8. "type": "minecraft:item",
  9. "weight": 1,
  10. "name": "minecraft:shulker_shell",
  11. "functions": [
  12. {
  13. "function": "minecraft:set_nbt",
  14. "tag": "{item_name:'{\"text\":\"随机橙色道具\",\"color\":\"gold\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"purple\",Count:1}]}"
  15. }
  16. ]
  17. },
  18. {
  19. "type": "minecraft:item",
  20. "weight": 1,
  21. "name": "minecraft:blaze_powder",
  22. "functions": [
  23. {
  24. "function": "minecraft:set_count",
  25. "count": 3
  26. },
  27. {
  28. "function": "minecraft:set_nbt",
  29. "tag": "{item_name:'{\"text\":\"清空物品栏, 换取随机紫色道具 x3\",\"color\":\"gold\"}',is_bonus:1b,bonus_new:1b,clean_inventory:1b,bonus_random_bonus:[{type:\"item\",level:\"blue\",Count:3}]}"
  30. }
  31. ]
  32. },
  33. {
  34. "type": "minecraft:item",
  35. "weight": 1,
  36. "name": "minecraft:shulker_shell",
  37. "functions": [
  38. {
  39. "function": "minecraft:set_count",
  40. "count": 4
  41. },
  42. {
  43. "function": "minecraft:set_nbt",
  44. "tag": "{item_name:'{\"text\":\"随机紫色、蓝色、白色道具各一件\",\"color\":\"gold\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"blue\",Count:1},{type:\"item\",level:\"green\",Count:1},{type:\"item\",level:\"white\",Count:1}]}"
  45. }
  46. ]
  47. },
  48. {
  49. "type": "minecraft:item",
  50. "weight": 1,
  51. "name": "minecraft:shulker_shell",
  52. "functions": [
  53. {
  54. "function": "minecraft:set_count",
  55. "count": 2
  56. },
  57. {
  58. "function": "minecraft:set_nbt",
  59. "tag": "{item_name:'{\"text\":\"随机紫色道具 x2\",\"color\":\"gold\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"blue\",Count:2}]}"
  60. }
  61. ]
  62. },
  63. {
  64. "type": "minecraft:item",
  65. "weight": 1,
  66. "name": "minecraft:shulker_shell",
  67. "functions": [
  68. {
  69. "function": "minecraft:set_count",
  70. "count": 4
  71. },
  72. {
  73. "function": "minecraft:set_nbt",
  74. "tag": "{item_name:'{\"text\":\"随机蓝色道具 x4\",\"color\":\"gold\"}',is_bonus:1b,bonus_new:1b,bonus_random_bonus:[{type:\"item\",level:\"green\",Count:4}]}"
  75. }
  76. ]
  77. }
  78. ]}]}