mojira.dev
MCPE-235948

Zombie/husk riders drop mushrooms/rabbit feet even after dismounting

The bug

Zombies riding zombie horses and husks riding camel husks are supposed to drop a red mushroom or rabbit’s foot 50% of the time, respectively.

This drop is only supposed to be available when the mob is killed while riding its mount. This is the same behavior as chicken jockeys dropping the music disc while riding a chicken. However, currently, the drop is possible even if the mount is killed first and the zombie/husk afterwards. This does not match Java Edition.

How to reproduce

  1. /summon zombie_horse ~ ~ ~ 0 0 minecraft:spawn_adult_with_rider

  2. Kill the horse, then the zombie

  3. Repeat multiple times

Expected results

You should never get a red mushroom drop

Observed results

You will eventually get one

Notes

This is caused by the minecraft:zombie_rider component group having a separate loot component pointing to the entities/zombie_rider loot table. Instead, the passenger_of_entity condition should be used in the normal zombie loot table, matching the Java and chicken jockey implementation.

Comments 0

No comments.

tryashtar

(Unassigned)

1560663

Confirmed

Windows

26.10.21 Preview, 26.0

Retrieved