zombie.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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:rotten_flesh"
  30. }
  31. ]
  32. },
  33. {
  34. "rolls": 1.0,
  35. "bonus_rolls": 0.0,
  36. "entries": [
  37. {
  38. "type": "minecraft:item",
  39. "name": "minecraft:iron_ingot"
  40. },
  41. {
  42. "type": "minecraft:item",
  43. "name": "minecraft:carrot"
  44. },
  45. {
  46. "type": "minecraft:item",
  47. "functions": [
  48. {
  49. "function": "minecraft:furnace_smelt",
  50. "conditions": [
  51. {
  52. "condition": "minecraft:entity_properties",
  53. "predicate": {
  54. "flags": {
  55. "is_on_fire": true
  56. }
  57. },
  58. "entity": "this"
  59. }
  60. ]
  61. }
  62. ],
  63. "name": "minecraft:potato"
  64. }
  65. ],
  66. "conditions": [
  67. {
  68. "condition": "minecraft:killed_by_player"
  69. },
  70. {
  71. "condition": "minecraft:random_chance_with_looting",
  72. "chance": 0.025,
  73. "looting_multiplier": 0.01
  74. }
  75. ]
  76. }
  77. ]
  78. }