zombie.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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": 0.0,
  14. "max": 2.0,
  15. "type": "minecraft:uniform"
  16. }
  17. },
  18. {
  19. "function": "minecraft:looting_enchant",
  20. "count": {
  21. "min": 0.0,
  22. "max": 1.0
  23. }
  24. }
  25. ],
  26. "name": "minecraft:rotten_flesh"
  27. }
  28. ]
  29. },
  30. {
  31. "rolls": 1,
  32. "entries": [
  33. {
  34. "type": "minecraft:item",
  35. "name": "minecraft:iron_ingot"
  36. },
  37. {
  38. "type": "minecraft:item",
  39. "name": "minecraft:carrot"
  40. },
  41. {
  42. "type": "minecraft:item",
  43. "name": "minecraft:potato"
  44. }
  45. ],
  46. "conditions": [
  47. {
  48. "condition": "minecraft:killed_by_player"
  49. },
  50. {
  51. "condition": "minecraft:random_chance_with_looting",
  52. "chance": 0.025,
  53. "looting_multiplier": 0.01
  54. }
  55. ]
  56. }
  57. ]
  58. }