use of mekanism.common.entity.ai.RobitAIFollow in project Mekanism by mekanism.
the class EntityRobit method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
goalSelector.addGoal(1, new RobitAIPickup(this, 1));
goalSelector.addGoal(2, new RobitAIFollow(this, 1, 4, 2));
goalSelector.addGoal(3, new LookAtGoal(this, PlayerEntity.class, 8));
goalSelector.addGoal(3, new LookRandomlyGoal(this));
goalSelector.addGoal(4, new SwimGoal(this));
}
Aggregations