use of net.minecraft.entity.ai.EntityAIWatchClosest2 in project NetherEx by LogicTechCorp.
the class EntityPigtificateLeader method initEntityAI.
@Override
protected void initEntityAI() {
tasks.addTask(0, new EntityAISwimming(this));
tasks.addTask(1, new EntityAIPigtificateTradePlayer(this));
tasks.addTask(1, new EntityAIPigtificateLookAtTradePlayer(this));
tasks.addTask(2, new EntityAIWatchClosest2(this, EntityPlayer.class, 3.0F, 1.0F));
tasks.addTask(2, new EntityAIPigtificateInteract(this));
tasks.addTask(3, new EntityAIWatchClosest(this, EntityLiving.class, 8.0F));
}
Aggregations