-
Bug
-
Resolution: Unresolved
-
None
-
1.19.80.20 Preview, 1.19.70.22 Preview, 1.19.60, 1.19.63, 1.20.0.21 Preview, 1.19.73, 1.20.0, 1.20.1 Hotfix
-
Confirmed
-
Multiple
-
733981
Rabbits sometimes don't drop any raw rabbit upon being killed. Every passive mob drops at least one piece of meat upon being killed, however, this isn't the case for rabbits. This was fixed on Java, however this fix hasn't carried over to Bedrock so far. (MC-96449)
Step to Reproduce
- Summon a rabbit
- Kill it and take notice of the loot it dropped.
- If it dropped some raw rabbit, continue to spawn and kill rabbits until one of them doesn't.
- Take note as to whether or not rabbits sometimes don't drop any raw rabbit upon being killed.
Observed Result
Rabbits sometimes don't drop any raw rabbit upon being killed.
Expected Result
Rabbits would always drop at least one piece of meat upon being killed.
Code Analysis, based on the loot table of the Rabbit
{ "pools": [ { "rolls": 1, "entries": [ { "type": "item", "name": "minecraft:rabbit_hide", "weight": 1, "functions": [ { "function": "set_count", "count": { "min": 0, "max": 1 } }, { "function": "looting_enchant", "count": { "min": 0, "max": 1 } } ] } ] }, { "rolls": 1, "entries": [ { "type": "item", "name": "minecraft:rabbit", "weight": 1, "functions": [ { "function": "set_count", "count": { "min": 0, "max": 1 } }, { "function": "furnace_smelt", "conditions": [ { "condition": "entity_properties", "entity": "this", "properties": { "on_fire": true } } ] } ] } ] }, { "conditions": [ { "condition": "killed_by_player" }, { "condition": "random_chance_with_looting", "chance": 0.1, "looting_multiplier": 0.03 } ], "rolls": 1, "entries": [ { "type": "item", "name": "minecraft:rabbit_foot", "weight": 1 } ] } ] }
Analyzing the json file above, we can see that rabbits can drop a maximum of 1 raw rabbit (referred as minecraft:rabbit on Bedrock) and a minimum of 0 upon being killed. This means that there is only a 50% chance of a rabbit dropping raw rabbit upon death, thus resulting in this problem. Every other animal throughout the game such as cows, pigs, sheep, etc have their minimum respective meat drop set to 1, meaning that they always have a guaranteed chance of dropping meat upon being killed, however, this isn't the case with rabbits here.
- relates to
-
MC-96449 Rabbits sometimes don't drop any raw rabbit upon being killed
- Resolved