Added a temporary texture overlay (borrowed from the Faithful 32x texture pack, until a unique one is made) for the corrupted zombie. Generalized enough so that new mobs can have them added easily.

This commit is contained in:
WayofTime 2016-09-15 17:07:06 -04:00
parent 80af2463b3
commit f0a5b5274f
4 changed files with 70 additions and 32 deletions

View file

@ -16,6 +16,7 @@ import WayofTime.bloodmagic.api.altar.IBloodAltar;
import WayofTime.bloodmagic.api.iface.IAltarReader;
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
import WayofTime.bloodmagic.api.util.helper.PlayerHelper;
import WayofTime.bloodmagic.entity.mob.EntityCorruptedZombie;
import WayofTime.bloodmagic.tile.TileIncenseAltar;
import WayofTime.bloodmagic.tile.TileInversionPillar;
import WayofTime.bloodmagic.util.ChatUtil;
@ -39,12 +40,12 @@ public class ItemSigilDivination extends ItemSigilBase implements IAltarReader
// DungeonTester.testDungeonElementWithOutput((WorldServer) world, player.getPosition());
// }
// if (!world.isRemote)
// {
// EntityCorruptedZombie fred = new EntityCorruptedZombie(world);
// fred.setPosition(player.posX, player.posY, player.posZ);
// world.spawnEntityInWorld(fred);
// }
if (!world.isRemote)
{
EntityCorruptedZombie fred = new EntityCorruptedZombie(world);
fred.setPosition(player.posX, player.posY, player.posZ);
world.spawnEntityInWorld(fred);
}
if (!world.isRemote)
{