Search in sources :

Example 1 with EntityAIPigtificateLookAtTradePlayer

use of nex.entity.ai.EntityAIPigtificateLookAtTradePlayer 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));
}
Also used : EntityAIWatchClosest(net.minecraft.entity.ai.EntityAIWatchClosest) EntityLiving(net.minecraft.entity.EntityLiving) EntityAISwimming(net.minecraft.entity.ai.EntityAISwimming) EntityAIPigtificateInteract(nex.entity.ai.EntityAIPigtificateInteract) EntityAIPigtificateTradePlayer(nex.entity.ai.EntityAIPigtificateTradePlayer) EntityPlayer(net.minecraft.entity.player.EntityPlayer) EntityAIWatchClosest2(net.minecraft.entity.ai.EntityAIWatchClosest2) EntityAIPigtificateLookAtTradePlayer(nex.entity.ai.EntityAIPigtificateLookAtTradePlayer)

Aggregations

EntityLiving (net.minecraft.entity.EntityLiving)1 EntityAISwimming (net.minecraft.entity.ai.EntityAISwimming)1 EntityAIWatchClosest (net.minecraft.entity.ai.EntityAIWatchClosest)1 EntityAIWatchClosest2 (net.minecraft.entity.ai.EntityAIWatchClosest2)1 EntityPlayer (net.minecraft.entity.player.EntityPlayer)1 EntityAIPigtificateInteract (nex.entity.ai.EntityAIPigtificateInteract)1 EntityAIPigtificateLookAtTradePlayer (nex.entity.ai.EntityAIPigtificateLookAtTradePlayer)1 EntityAIPigtificateTradePlayer (nex.entity.ai.EntityAIPigtificateTradePlayer)1