rabbit.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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": 1.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:rabbit_hide"
  30. }
  31. ]
  32. },
  33. {
  34. "rolls": 1.0,
  35. "bonus_rolls": 0.0,
  36. "entries": [
  37. {
  38. "type": "minecraft:item",
  39. "functions": [
  40. {
  41. "function": "minecraft:set_count",
  42. "count": {
  43. "type": "minecraft:uniform",
  44. "min": 0.0,
  45. "max": 1.0
  46. },
  47. "add": false
  48. },
  49. {
  50. "function": "minecraft:furnace_smelt",
  51. "conditions": [
  52. {
  53. "condition": "minecraft:entity_properties",
  54. "predicate": {
  55. "flags": {
  56. "is_on_fire": true
  57. }
  58. },
  59. "entity": "this"
  60. }
  61. ]
  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:rabbit"
  73. }
  74. ]
  75. },
  76. {
  77. "rolls": 1.0,
  78. "bonus_rolls": 0.0,
  79. "entries": [
  80. {
  81. "type": "minecraft:item",
  82. "name": "minecraft:rabbit_foot"
  83. }
  84. ],
  85. "conditions": [
  86. {
  87. "condition": "minecraft:killed_by_player"
  88. },
  89. {
  90. "condition": "minecraft:random_chance_with_looting",
  91. "chance": 0.1,
  92. "looting_multiplier": 0.03
  93. }
  94. ]
  95. }
  96. ]
  97. }