I'm currently creating a custom entity that extends a Zombie I'm trying to have it have a custom drop (Removing it's previous Zombie Flesh drop) and I'm using this.drops = new ArrayList<ItemStack>();
Past attempts at fixing (Failed):
-
Setting
this.drops = null;before changing. -
Setting
this.lootTable = null;. -
Overriding
Zombie#dropCustomDeathLoot(). -
Overriding
Zombie#setGuaranteedDrop(). -
Using
super.setGuaranteedDrop().
Issue:
- The Zombie Flesh drop still drops when zombie is killed.