LootTableHelper.getAllMobLootTables(world).entrySet().stream()
.map(entry -> new MobEntry(entry.getValue(), manager.getLootTableFromLocation(entry.getKey())))
.forEach(this::registerMob);
registerMobRenderHook(EntityBat.class, RenderHooks.BAT);
registerMobRenderHook(EntityDragon.class, RenderHooks.ENDER_DRAGON);
<BUG>registerMobRenderHook(EntityGuardian.class, RenderHooks.ELDER_GUARDIAN);
</BUG>
registerMobRenderHook(EntitySquid.class, RenderHooks.SQUID);
<BUG>registerMobRenderHook(EntityGiantZombie.class, RenderHooks.GIANT);
}</BUG>
private void registerDungeonLoot() {

LootTableHelper.getAllMobLootTables(world).entrySet().stream()
.map(entry -> new MobEntry(entry.getValue(), manager.getLootTableFromLocation(entry.getKey())))
.forEach(this::registerMob);
registerMobRenderHook(EntityBat.class, RenderHooks.BAT);
registerMobRenderHook(EntityDragon.class, RenderHooks.ENDER_DRAGON);
registerMobRenderHook(EntityElderGuardian.class, RenderHooks.ELDER_GUARDIAN);
registerMobRenderHook(EntitySquid.class, RenderHooks.SQUID);
registerMobRenderHook(EntityGiantZombie.class, RenderHooks.GIANT);
registerMobRenderHook(EntityShulker.class, RenderHooks.SHULKER);
}
private void registerDungeonLoot() {
