use of net.minecraft.world.entity.ai.goal.RangedAttackGoal in project Tropicraft by Tropicraft.
the class TreeFrogEntity method registerGoals.
@Override
public void registerGoals() {
goalSelector.addGoal(0, new FloatGoal(this));
goalSelector.addGoal(1, new RangedAttackGoal(this, 1.0D, 60, 10.0F));
goalSelector.addGoal(2, new WaterAvoidingRandomStrollGoal(this, 1.0D));
}
Aggregations