rabbit.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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": 1.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:rabbit_hide"
  27. }
  28. ]
  29. },
  30. {
  31. "rolls": 1,
  32. "entries": [
  33. {
  34. "type": "minecraft:item",
  35. "functions": [
  36. {
  37. "function": "minecraft:set_count",
  38. "count": {
  39. "min": 0.0,
  40. "max": 1.0,
  41. "type": "minecraft:uniform"
  42. }
  43. },
  44. {
  45. "function": "minecraft:furnace_smelt",
  46. "conditions": [
  47. {
  48. "condition": "minecraft:entity_properties",
  49. "predicate": {
  50. "flags": {
  51. "is_on_fire": true
  52. }
  53. },
  54. "entity": "this"
  55. }
  56. ]
  57. },
  58. {
  59. "function": "minecraft:looting_enchant",
  60. "count": {
  61. "min": 0.0,
  62. "max": 1.0
  63. }
  64. }
  65. ],
  66. "name": "minecraft:rabbit"
  67. }
  68. ]
  69. },
  70. {
  71. "rolls": 1,
  72. "entries": [
  73. {
  74. "type": "minecraft:item",
  75. "name": "minecraft:rabbit_foot"
  76. }
  77. ],
  78. "conditions": [
  79. {
  80. "condition": "minecraft:killed_by_player"
  81. },
  82. {
  83. "condition": "minecraft:random_chance_with_looting",
  84. "chance": 0.1,
  85. "looting_multiplier": 0.03
  86. }
  87. ]
  88. }
  89. ]
  90. }