use of de.Keyle.MyPet.compat.v1_16_R1.entity.ai.attack.RangedAttack in project MyPet by xXKeyleXx.
the class EntityMyPet method setPathfinder.
public void setPathfinder() {
petPathfinderSelector.addGoal("Float", new Float(this));
petPathfinderSelector.addGoal("Sit", sitPathfinder);
petPathfinderSelector.addGoal("Sprint", new Sprint(this, 0.25F));
petPathfinderSelector.addGoal("RangedTarget", new RangedAttack(this, -0.1F, 12.0F));
petPathfinderSelector.addGoal("MeleeAttack", new MeleeAttack(this, 0.1F, 1.5, 20));
petPathfinderSelector.addGoal("Control", new Control(this, 0.1F));
petPathfinderSelector.addGoal("FollowOwner", new FollowOwner(this, Configuration.Misc.MYPET_FOLLOW_START_DISTANCE, 2.0F, 16F));
petPathfinderSelector.addGoal("LookAtPlayer", new LookAtPlayer(this, 8.0F));
petPathfinderSelector.addGoal("RandomLockaround", new RandomLookaround(this));
petTargetSelector.addGoal("OwnerHurtByTarget", new OwnerHurtByTarget(this));
petTargetSelector.addGoal("OwnerHurtTarget", new OwnerHurtTarget(this));
petTargetSelector.addGoal("HurtByTarget", new HurtByTarget(this));
petTargetSelector.addGoal("ControlTarget", new ControlTarget(this, 1));
petTargetSelector.addGoal("AggressiveTarget", new BehaviorAggressiveTarget(this, 15));
petTargetSelector.addGoal("FarmTarget", new BehaviorFarmTarget(this, 15));
petTargetSelector.addGoal("DuelTarget", new BehaviorDuelTarget(this, 5));
}
use of de.Keyle.MyPet.compat.v1_16_R1.entity.ai.attack.RangedAttack in project MyPet by xXKeyleXx.
the class EntityMyPet method setPathfinder.
public void setPathfinder() {
petPathfinderSelector.addGoal("Float", new Float(this));
petPathfinderSelector.addGoal("Sit", sitPathfinder);
petPathfinderSelector.addGoal("Sprint", new Sprint(this, 0.25F));
petPathfinderSelector.addGoal("RangedTarget", new RangedAttack(this, -0.1F, 12.0F));
petPathfinderSelector.addGoal("MeleeAttack", new MeleeAttack(this, 0.1F, 1.5, 20));
petPathfinderSelector.addGoal("Control", new Control(this, 0.1F));
petPathfinderSelector.addGoal("FollowOwner", new FollowOwner(this, Configuration.Misc.MYPET_FOLLOW_START_DISTANCE, 2.0F, 16F));
petPathfinderSelector.addGoal("LookAtPlayer", new LookAtPlayer(this, 8.0F));
petPathfinderSelector.addGoal("RandomLockaround", new RandomLookaround(this));
petTargetSelector.addGoal("OwnerHurtByTarget", new OwnerHurtByTarget(this));
petTargetSelector.addGoal("OwnerHurtTarget", new OwnerHurtTarget(this));
petTargetSelector.addGoal("HurtByTarget", new HurtByTarget(this));
petTargetSelector.addGoal("ControlTarget", new ControlTarget(this, 1));
petTargetSelector.addGoal("AggressiveTarget", new BehaviorAggressiveTarget(this, 15));
petTargetSelector.addGoal("FarmTarget", new BehaviorFarmTarget(this, 15));
petTargetSelector.addGoal("DuelTarget", new BehaviorDuelTarget(this, 5));
}
use of de.Keyle.MyPet.compat.v1_16_R1.entity.ai.attack.RangedAttack in project MyPet by xXKeyleXx.
the class EntityMyPet method setPathfinder.
public void setPathfinder() {
petPathfinderSelector.addGoal("Float", new Float(this));
petPathfinderSelector.addGoal("Sit", sitPathfinder);
petPathfinderSelector.addGoal("Sprint", new Sprint(this, 0.25F));
petPathfinderSelector.addGoal("RangedTarget", new RangedAttack(this, -0.1F, 12.0F));
petPathfinderSelector.addGoal("MeleeAttack", new MeleeAttack(this, 0.1F, 1.5, 20));
petPathfinderSelector.addGoal("Control", new Control(this, 0.1F));
petPathfinderSelector.addGoal("FollowOwner", new FollowOwner(this, Configuration.Misc.MYPET_FOLLOW_START_DISTANCE, 2.0F, 16F));
petPathfinderSelector.addGoal("LookAtPlayer", new LookAtPlayer(this, 8.0F));
petPathfinderSelector.addGoal("RandomLockaround", new RandomLookaround(this));
petTargetSelector.addGoal("OwnerHurtByTarget", new OwnerHurtByTarget(this));
petTargetSelector.addGoal("OwnerHurtTarget", new OwnerHurtTarget(this));
petTargetSelector.addGoal("HurtByTarget", new HurtByTarget(this));
petTargetSelector.addGoal("ControlTarget", new ControlTarget(this, 1));
petTargetSelector.addGoal("AggressiveTarget", new BehaviorAggressiveTarget(this, 15));
petTargetSelector.addGoal("FarmTarget", new BehaviorFarmTarget(this, 15));
petTargetSelector.addGoal("DuelTarget", new BehaviorDuelTarget(this, 5));
}
use of de.Keyle.MyPet.compat.v1_16_R1.entity.ai.attack.RangedAttack in project MyPet by xXKeyleXx.
the class EntityMyPet method setPathfinder.
public void setPathfinder() {
petPathfinderSelector.addGoal("Float", new Float(this));
petPathfinderSelector.addGoal("Sit", sitPathfinder);
petPathfinderSelector.addGoal("Sprint", new Sprint(this, 0.25F));
petPathfinderSelector.addGoal("RangedTarget", new RangedAttack(this, -0.1F, 12.0F));
petPathfinderSelector.addGoal("MeleeAttack", new MeleeAttack(this, 0.1F, 1.5, 20));
petPathfinderSelector.addGoal("Control", new Control(this, 0.1F));
petPathfinderSelector.addGoal("FollowOwner", new FollowOwner(this, Configuration.Misc.MYPET_FOLLOW_START_DISTANCE, 2.0F, 16F));
petPathfinderSelector.addGoal("LookAtPlayer", new LookAtPlayer(this, 8.0F));
petPathfinderSelector.addGoal("RandomLockaround", new RandomLookaround(this));
petTargetSelector.addGoal("OwnerHurtByTarget", new OwnerHurtByTarget(this));
petTargetSelector.addGoal("OwnerHurtTarget", new OwnerHurtTarget(this));
petTargetSelector.addGoal("HurtByTarget", new HurtByTarget(this));
petTargetSelector.addGoal("ControlTarget", new ControlTarget(this, 1));
petTargetSelector.addGoal("AggressiveTarget", new BehaviorAggressiveTarget(this, 15));
petTargetSelector.addGoal("FarmTarget", new BehaviorFarmTarget(this, 15));
petTargetSelector.addGoal("DuelTarget", new BehaviorDuelTarget(this, 5));
}
use of de.Keyle.MyPet.compat.v1_16_R1.entity.ai.attack.RangedAttack in project MyPet by xXKeyleXx.
the class EntityMyPet method setPathfinder.
public void setPathfinder() {
petPathfinderSelector.addGoal("Float", new Float(this));
petPathfinderSelector.addGoal("Sit", sitPathfinder);
petPathfinderSelector.addGoal("Sprint", new Sprint(this, 0.25F));
petPathfinderSelector.addGoal("RangedTarget", new RangedAttack(this, -0.1F, 12.0F));
petPathfinderSelector.addGoal("MeleeAttack", new MeleeAttack(this, 0.1F, 1.5, 20));
petPathfinderSelector.addGoal("Control", new Control(this, 0.1F));
petPathfinderSelector.addGoal("FollowOwner", new FollowOwner(this, Configuration.Misc.MYPET_FOLLOW_START_DISTANCE, 2.0F, 16F));
petPathfinderSelector.addGoal("LookAtPlayer", new LookAtPlayer(this, 8.0F));
petPathfinderSelector.addGoal("RandomLockaround", new RandomLookaround(this));
petTargetSelector.addGoal("OwnerHurtByTarget", new OwnerHurtByTarget(this));
petTargetSelector.addGoal("OwnerHurtTarget", new OwnerHurtTarget(this));
petTargetSelector.addGoal("HurtByTarget", new HurtByTarget(this));
petTargetSelector.addGoal("ControlTarget", new ControlTarget(this, 1));
petTargetSelector.addGoal("AggressiveTarget", new BehaviorAggressiveTarget(this, 15));
petTargetSelector.addGoal("FarmTarget", new BehaviorFarmTarget(this, 15));
petTargetSelector.addGoal("DuelTarget", new BehaviorDuelTarget(this, 5));
}
Aggregations