guardian.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "type": "minecraft:entity",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "bonus_rolls": 0.0,
  7. "entries": [
  8. {
  9. "type": "minecraft:item",
  10. "functions": [
  11. {
  12. "function": "minecraft:set_count",
  13. "count": {
  14. "type": "minecraft:uniform",
  15. "min": 0.0,
  16. "max": 2.0
  17. },
  18. "add": false
  19. },
  20. {
  21. "function": "minecraft:looting_enchant",
  22. "count": {
  23. "type": "minecraft:uniform",
  24. "min": 0.0,
  25. "max": 1.0
  26. }
  27. }
  28. ],
  29. "name": "minecraft:prismarine_shard"
  30. }
  31. ]
  32. },
  33. {
  34. "rolls": 1.0,
  35. "bonus_rolls": 0.0,
  36. "entries": [
  37. {
  38. "type": "minecraft:item",
  39. "weight": 2,
  40. "functions": [
  41. {
  42. "function": "minecraft:looting_enchant",
  43. "count": {
  44. "type": "minecraft:uniform",
  45. "min": 0.0,
  46. "max": 1.0
  47. }
  48. },
  49. {
  50. "function": "minecraft:furnace_smelt",
  51. "conditions": [
  52. {
  53. "condition": "minecraft:entity_properties",
  54. "predicate": {
  55. "flags": {
  56. "is_on_fire": true
  57. }
  58. },
  59. "entity": "this"
  60. }
  61. ]
  62. }
  63. ],
  64. "name": "minecraft:cod"
  65. },
  66. {
  67. "type": "minecraft:item",
  68. "weight": 2,
  69. "functions": [
  70. {
  71. "function": "minecraft:looting_enchant",
  72. "count": {
  73. "type": "minecraft:uniform",
  74. "min": 0.0,
  75. "max": 1.0
  76. }
  77. }
  78. ],
  79. "name": "minecraft:prismarine_crystals"
  80. },
  81. {
  82. "type": "minecraft:empty"
  83. }
  84. ]
  85. },
  86. {
  87. "rolls": 1.0,
  88. "bonus_rolls": 0.0,
  89. "entries": [
  90. {
  91. "type": "minecraft:loot_table",
  92. "functions": [
  93. {
  94. "function": "minecraft:furnace_smelt",
  95. "conditions": [
  96. {
  97. "condition": "minecraft:entity_properties",
  98. "predicate": {
  99. "flags": {
  100. "is_on_fire": true
  101. }
  102. },
  103. "entity": "this"
  104. }
  105. ]
  106. }
  107. ],
  108. "name": "minecraft:gameplay/fishing/fish"
  109. }
  110. ],
  111. "conditions": [
  112. {
  113. "condition": "minecraft:killed_by_player"
  114. },
  115. {
  116. "condition": "minecraft:random_chance_with_looting",
  117. "chance": 0.025,
  118. "looting_multiplier": 0.01
  119. }
  120. ]
  121. }
  122. ]
  123. }