mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LegacyNetherFork.git
synced 2026-05-21 22:44:59 +00:00
Add Zombice
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user