hoglin.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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": 2.0,
  16. "max": 4.0
  17. },
  18. "add": false
  19. },
  20. {
  21. "function": "minecraft:furnace_smelt",
  22. "conditions": [
  23. {
  24. "condition": "minecraft:entity_properties",
  25. "predicate": {
  26. "flags": {
  27. "is_on_fire": true
  28. }
  29. },
  30. "entity": "this"
  31. }
  32. ]
  33. },
  34. {
  35. "function": "minecraft:looting_enchant",
  36. "count": {
  37. "type": "minecraft:uniform",
  38. "min": 0.0,
  39. "max": 1.0
  40. }
  41. }
  42. ],
  43. "name": "minecraft:porkchop"
  44. }
  45. ]
  46. },
  47. {
  48. "rolls": 1.0,
  49. "bonus_rolls": 0.0,
  50. "entries": [
  51. {
  52. "type": "minecraft:item",
  53. "functions": [
  54. {
  55. "function": "minecraft:set_count",
  56. "count": {
  57. "type": "minecraft:uniform",
  58. "min": 0.0,
  59. "max": 1.0
  60. },
  61. "add": false
  62. },
  63. {
  64. "function": "minecraft:looting_enchant",
  65. "count": {
  66. "type": "minecraft:uniform",
  67. "min": 0.0,
  68. "max": 1.0
  69. }
  70. }
  71. ],
  72. "name": "minecraft:leather"
  73. }
  74. ]
  75. }
  76. ]
  77. }