use of be.isach.ultracosmetics.v1_13_R2.pathfinders.CustomPathFinderGoalPanic in project UltraCosmetics by iSach.
the class EntityUtil method makePanic.
@Override
public void makePanic(org.bukkit.entity.Entity entity) {
EntityInsentient insentient = (EntityInsentient) ((CraftEntity) entity).getHandle();
insentient.goalSelector.a(3, new CustomPathFinderGoalPanic((EntityCreature) insentient, 0.4d));
}
use of be.isach.ultracosmetics.v1_13_R2.pathfinders.CustomPathFinderGoalPanic in project UltraCosmetics by iSach.
the class EntityUtil method makePanic.
@Override
public void makePanic(org.bukkit.entity.Entity entity) {
EntityInsentient insentient = (EntityInsentient) ((CraftEntity) entity).getHandle();
insentient.goalSelector.a(3, new CustomPathFinderGoalPanic((EntityCreature) insentient, 0.4d));
}
use of be.isach.ultracosmetics.v1_13_R2.pathfinders.CustomPathFinderGoalPanic in project UltraCosmetics by iSach.
the class EntityUtil method makePanic.
@Override
public void makePanic(org.bukkit.entity.Entity entity) {
PathfinderMob insentient = (PathfinderMob) ((CraftEntity) entity).getHandle();
insentient.goalSelector.addGoal(3, new CustomPathFinderGoalPanic(insentient, 0.4d));
}
use of be.isach.ultracosmetics.v1_13_R2.pathfinders.CustomPathFinderGoalPanic in project UltraCosmetics by iSach.
the class EntityUtil method makePanic.
@Override
public void makePanic(Entity entity) {
EntityInsentient insentient = (EntityInsentient) ((CraftEntity) entity).getHandle();
insentient.goalSelector.a(3, new CustomPathFinderGoalPanic((EntityCreature) insentient, 0.4d));
}
use of be.isach.ultracosmetics.v1_13_R2.pathfinders.CustomPathFinderGoalPanic in project UltraCosmetics by iSach.
the class EntityUtil method makePanic.
@Override
public void makePanic(org.bukkit.entity.Entity entity) {
PathfinderMob insentient = (PathfinderMob) ((CraftEntity) entity).getHandle();
insentient.goalSelector.addGoal(3, new CustomPathFinderGoalPanic(insentient, 0.4d));
}
Aggregations