use of com.lying.variousoddities.entity.ai.hostile.EntityAIRatStand in project VariousOddities by Lyinginbedmon.
the class AbstractRat method registerGoals.
protected void registerGoals() {
this.goalSelector.addGoal(3, new EntityAIRatStand(this));
this.goalSelector.addGoal(5, new MeleeAttackGoal(this, 1.0D, true));
this.goalSelector.addGoal(6, new WaterAvoidingRandomWalkingGoal(this, 1.0D));
this.goalSelector.addGoal(7, new LookAtGoal(this, PlayerEntity.class, 6.0F));
this.goalSelector.addGoal(8, new LookRandomlyGoal(this));
if (ConfigVO.MOBS.aiSettings.isOddityAIEnabled(getType()))
this.goalSelector.addGoal(3, new EntityAIRatGnawing(this, 6, 100));
}
Aggregations