Add Zombice

This commit is contained in:
DeadVoxelx
2026-04-11 22:22:53 -04:00
committed by GitHub
parent e2260463a7
commit 6ea85565ba

View File

@@ -8,6 +8,7 @@ ResourceLocation ZombieRenderer::ZOMBIE_PIGMAN_LOCATION(TN_MOB_PIGZOMBIE);
ResourceLocation ZombieRenderer::ZOMBIE_LOCATION(TN_MOB_ZOMBIE);
ResourceLocation ZombieRenderer::ZOMBIE_VILLAGER_LOCATION(TN_MOB_ZOMBIE_VILLAGER);
ResourceLocation ZombieRenderer::HUSK_LOCATION(TN_MOB_HUSK);
ResourceLocation ZombieRenderer::ZOMBICE_LOCATION(TN_MOB_ZOMBICE);
ZombieRenderer::ZombieRenderer() : HumanoidMobRenderer(new ZombieModel(), .5f, 1.0f)
{
@@ -68,6 +69,11 @@ ResourceLocation *ZombieRenderer::getTextureLocation(shared_ptr<Entity> entity)
return &HUSK_LOCATION;
}
if ( entity->instanceof(eTYPE_ZOMBICE) )
{
return &ZOMBICE_LOCATION;
}
if (mob->isVillager())
{
return &ZOMBIE_VILLAGER_LOCATION;