2
0

diamond.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {"pools": [{"rolls": 5,"entries": [
  2. {
  3. "type": "minecraft:item",
  4. "weight": 3,
  5. "name": "minecraft:nether_star",
  6. "functions": [
  7. {
  8. "function": "minecraft:set_nbt",
  9. "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\"}'}}"
  10. }
  11. ]
  12. },
  13. {
  14. "type": "minecraft:item",
  15. "weight": 1,
  16. "name": "minecraft:coal",
  17. "functions": [
  18. {
  19. "function": "minecraft:set_count",
  20. "count": {
  21. "min": 1.0,
  22. "max": 3.0,
  23. "type": "minecraft:uniform"
  24. }
  25. }
  26. ]
  27. },
  28. {
  29. "type": "minecraft:item",
  30. "weight": 2,
  31. "name": "minecraft:iron_ingot",
  32. "functions": [
  33. {
  34. "function": "minecraft:set_count",
  35. "count": {
  36. "min": 1.0,
  37. "max": 3.0,
  38. "type": "minecraft:uniform"
  39. }
  40. }
  41. ]
  42. },
  43. {
  44. "type": "minecraft:item",
  45. "weight": 1,
  46. "name": "minecraft:diamond",
  47. "functions": [
  48. {
  49. "function": "minecraft:set_count",
  50. "count": {
  51. "min": 1.0,
  52. "max": 2.0,
  53. "type": "minecraft:uniform"
  54. }
  55. }
  56. ]
  57. }
  58. ]}]}