hoglin.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "type": "minecraft:entity",
  3. "pools": [
  4. {
  5. "rolls": 1,
  6. "entries": [
  7. {
  8. "type": "minecraft:item",
  9. "functions": [
  10. {
  11. "function": "minecraft:set_count",
  12. "count": {
  13. "min": 2.0,
  14. "max": 4.0,
  15. "type": "minecraft:uniform"
  16. }
  17. },
  18. {
  19. "function": "minecraft:furnace_smelt",
  20. "conditions": [
  21. {
  22. "condition": "minecraft:entity_properties",
  23. "predicate": {
  24. "flags": {
  25. "is_on_fire": true
  26. }
  27. },
  28. "entity": "this"
  29. }
  30. ]
  31. },
  32. {
  33. "function": "minecraft:looting_enchant",
  34. "count": {
  35. "min": 0.0,
  36. "max": 1.0
  37. }
  38. }
  39. ],
  40. "name": "minecraft:porkchop"
  41. }
  42. ]
  43. },
  44. {
  45. "rolls": 1,
  46. "entries": [
  47. {
  48. "type": "minecraft:item",
  49. "functions": [
  50. {
  51. "function": "minecraft:set_count",
  52. "count": {
  53. "min": 0.0,
  54. "max": 1.0,
  55. "type": "minecraft:uniform"
  56. }
  57. },
  58. {
  59. "function": "minecraft:looting_enchant",
  60. "count": {
  61. "min": 0.0,
  62. "max": 1.0
  63. }
  64. }
  65. ],
  66. "name": "minecraft:leather"
  67. }
  68. ]
  69. }
  70. ]
  71. }