diamond.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {"pools": [
  2. {"rolls": 4,"entries": [
  3. {
  4. "type": "minecraft:item",
  5. "weight": 1,
  6. "name": "minecraft:coal",
  7. "functions": [
  8. {
  9. "function": "minecraft:set_count",
  10. "count": {
  11. "min": 1.0,
  12. "max": 3.0,
  13. "type": "minecraft:uniform"
  14. }
  15. }
  16. ]
  17. },
  18. {
  19. "type": "minecraft:item",
  20. "weight": 2,
  21. "name": "minecraft:iron_ingot",
  22. "functions": [
  23. {
  24. "function": "minecraft:set_count",
  25. "count": {
  26. "min": 2.0,
  27. "max": 3.0,
  28. "type": "minecraft:uniform"
  29. }
  30. }
  31. ]
  32. },
  33. {
  34. "type": "minecraft:item",
  35. "weight": 1,
  36. "name": "minecraft:diamond",
  37. "functions": [
  38. {
  39. "function": "minecraft:set_count",
  40. "count": {
  41. "min": 1.0,
  42. "max": 2.0,
  43. "type": "minecraft:uniform"
  44. }
  45. }
  46. ]
  47. }
  48. ]},
  49. {"rolls": 1,"entries": [
  50. {
  51. "type": "minecraft:empty",
  52. "weight": 1
  53. },
  54. {
  55. "type": "minecraft:item",
  56. "weight": 1,
  57. "name": "minecraft:nether_star",
  58. "functions": [
  59. {
  60. "function": "minecraft:set_nbt",
  61. "tag": "{item_name:'{\"text\":\"1 积分\",\"color\":\"white\"}',is_bonus:1b,bonus_new:1b,bonus_add_score:1,display:{Name:'{\"text\":\"1 积分\",\"italic\":false,\"color\":\"white\"}'}}"
  62. }
  63. ]
  64. },
  65. {
  66. "type": "minecraft:item",
  67. "weight": 1,
  68. "name": "minecraft:nether_star",
  69. "functions": [
  70. {
  71. "function": "minecraft:set_nbt",
  72. "tag": "{item_name:'{\"text\":\"2 积分\",\"color\":\"aqua\"}',is_bonus:1b,bonus_new:1b,bonus_add_score:2,display:{Name:'{\"text\":\"2 积分\",\"italic\":false,\"color\":\"aqua\"}'}}"
  73. }
  74. ]
  75. },
  76. {
  77. "type": "minecraft:item",
  78. "weight": 1,
  79. "name": "minecraft:nether_star",
  80. "functions": [
  81. {
  82. "function": "minecraft:set_nbt",
  83. "tag": "{item_name:'{\"text\":\"3 积分\",\"color\":\"aqua\"}',is_bonus:1b,bonus_new:1b,bonus_add_score:3,display:{Name:'{\"text\":\"3 积分\",\"italic\":false,\"color\":\"aqua\"}'}}"
  84. }
  85. ]
  86. },
  87. {
  88. "type": "minecraft:item",
  89. "weight": 1,
  90. "name": "minecraft:nether_star",
  91. "functions": [
  92. {
  93. "function": "minecraft:set_nbt",
  94. "tag": "{item_name:'{\"text\":\"4 积分\",\"color\":\"light_purple\"}',is_bonus:1b,bonus_new:1b,bonus_add_score:4,display:{Name:'{\"text\":\"4 积分\",\"italic\":false,\"color\":\"light_purple\"}'}}"
  95. }
  96. ]
  97. }
  98. ]}
  99. ]}