Package net.minecraft.entity.monster

Examples of net.minecraft.entity.monster.EntitySpider


    }

    @Override
    public void onHackFinished(Entity entity, EntityPlayer player){
        entity.setDead();
        EntitySpider spider = new EntitySpider(entity.worldObj);
        spider.setPositionAndRotation(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch);
        spider.setHealth(((EntitySpider)entity).getHealth());
        spider.renderYawOffset = ((EntitySpider)entity).renderYawOffset;
        entity.worldObj.spawnEntityInWorld(spider);
    }
View Full Code Here

TOP

Related Classes of net.minecraft.entity.monster.EntitySpider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.