piglin_bartering.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. {
  2. "type": "minecraft:barter",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "bonus_rolls": 0.0,
  7. "entries": [
  8. {
  9. "type": "minecraft:item",
  10. "weight": 5,
  11. "functions": [
  12. {
  13. "function": "minecraft:enchant_randomly",
  14. "enchantments": [
  15. "minecraft:soul_speed"
  16. ]
  17. }
  18. ],
  19. "name": "minecraft:book"
  20. },
  21. {
  22. "type": "minecraft:item",
  23. "weight": 8,
  24. "functions": [
  25. {
  26. "function": "minecraft:enchant_randomly",
  27. "enchantments": [
  28. "minecraft:soul_speed"
  29. ]
  30. }
  31. ],
  32. "name": "minecraft:iron_boots"
  33. },
  34. {
  35. "type": "minecraft:item",
  36. "weight": 8,
  37. "functions": [
  38. {
  39. "function": "minecraft:set_potion",
  40. "id": "minecraft:fire_resistance"
  41. }
  42. ],
  43. "name": "minecraft:potion"
  44. },
  45. {
  46. "type": "minecraft:item",
  47. "weight": 8,
  48. "functions": [
  49. {
  50. "function": "minecraft:set_potion",
  51. "id": "minecraft:fire_resistance"
  52. }
  53. ],
  54. "name": "minecraft:splash_potion"
  55. },
  56. {
  57. "type": "minecraft:item",
  58. "weight": 10,
  59. "functions": [
  60. {
  61. "function": "minecraft:set_potion",
  62. "id": "minecraft:water"
  63. }
  64. ],
  65. "name": "minecraft:potion"
  66. },
  67. {
  68. "type": "minecraft:item",
  69. "weight": 10,
  70. "functions": [
  71. {
  72. "function": "minecraft:set_count",
  73. "count": {
  74. "type": "minecraft:uniform",
  75. "min": 10.0,
  76. "max": 36.0
  77. },
  78. "add": false
  79. }
  80. ],
  81. "name": "minecraft:iron_nugget"
  82. },
  83. {
  84. "type": "minecraft:item",
  85. "weight": 10,
  86. "functions": [
  87. {
  88. "function": "minecraft:set_count",
  89. "count": {
  90. "type": "minecraft:uniform",
  91. "min": 2.0,
  92. "max": 4.0
  93. },
  94. "add": false
  95. }
  96. ],
  97. "name": "minecraft:ender_pearl"
  98. },
  99. {
  100. "type": "minecraft:item",
  101. "weight": 20,
  102. "functions": [
  103. {
  104. "function": "minecraft:set_count",
  105. "count": {
  106. "type": "minecraft:uniform",
  107. "min": 3.0,
  108. "max": 9.0
  109. },
  110. "add": false
  111. }
  112. ],
  113. "name": "minecraft:string"
  114. },
  115. {
  116. "type": "minecraft:item",
  117. "weight": 20,
  118. "functions": [
  119. {
  120. "function": "minecraft:set_count",
  121. "count": {
  122. "type": "minecraft:uniform",
  123. "min": 5.0,
  124. "max": 12.0
  125. },
  126. "add": false
  127. }
  128. ],
  129. "name": "minecraft:quartz"
  130. },
  131. {
  132. "type": "minecraft:item",
  133. "weight": 40,
  134. "name": "minecraft:obsidian"
  135. },
  136. {
  137. "type": "minecraft:item",
  138. "weight": 40,
  139. "functions": [
  140. {
  141. "function": "minecraft:set_count",
  142. "count": {
  143. "type": "minecraft:uniform",
  144. "min": 1.0,
  145. "max": 3.0
  146. },
  147. "add": false
  148. }
  149. ],
  150. "name": "minecraft:crying_obsidian"
  151. },
  152. {
  153. "type": "minecraft:item",
  154. "weight": 40,
  155. "name": "minecraft:fire_charge"
  156. },
  157. {
  158. "type": "minecraft:item",
  159. "weight": 40,
  160. "functions": [
  161. {
  162. "function": "minecraft:set_count",
  163. "count": {
  164. "type": "minecraft:uniform",
  165. "min": 2.0,
  166. "max": 4.0
  167. },
  168. "add": false
  169. }
  170. ],
  171. "name": "minecraft:leather"
  172. },
  173. {
  174. "type": "minecraft:item",
  175. "weight": 40,
  176. "functions": [
  177. {
  178. "function": "minecraft:set_count",
  179. "count": {
  180. "type": "minecraft:uniform",
  181. "min": 2.0,
  182. "max": 8.0
  183. },
  184. "add": false
  185. }
  186. ],
  187. "name": "minecraft:soul_sand"
  188. },
  189. {
  190. "type": "minecraft:item",
  191. "weight": 40,
  192. "functions": [
  193. {
  194. "function": "minecraft:set_count",
  195. "count": {
  196. "type": "minecraft:uniform",
  197. "min": 2.0,
  198. "max": 8.0
  199. },
  200. "add": false
  201. }
  202. ],
  203. "name": "minecraft:nether_brick"
  204. },
  205. {
  206. "type": "minecraft:item",
  207. "weight": 40,
  208. "functions": [
  209. {
  210. "function": "minecraft:set_count",
  211. "count": {
  212. "type": "minecraft:uniform",
  213. "min": 6.0,
  214. "max": 12.0
  215. },
  216. "add": false
  217. }
  218. ],
  219. "name": "minecraft:spectral_arrow"
  220. },
  221. {
  222. "type": "minecraft:item",
  223. "weight": 40,
  224. "functions": [
  225. {
  226. "function": "minecraft:set_count",
  227. "count": {
  228. "type": "minecraft:uniform",
  229. "min": 8.0,
  230. "max": 16.0
  231. },
  232. "add": false
  233. }
  234. ],
  235. "name": "minecraft:gravel"
  236. },
  237. {
  238. "type": "minecraft:item",
  239. "weight": 40,
  240. "functions": [
  241. {
  242. "function": "minecraft:set_count",
  243. "count": {
  244. "type": "minecraft:uniform",
  245. "min": 8.0,
  246. "max": 16.0
  247. },
  248. "add": false
  249. }
  250. ],
  251. "name": "minecraft:blackstone"
  252. }
  253. ]
  254. }
  255. ]
  256. }