Class AvoidStrongEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T>
com.idark.valoria.registries.entity.ai.goals.AvoidStrongEntityGoal<T>
public class AvoidStrongEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
extends net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
Constructor Summary
ConstructorDescriptionAvoidStrongEntityGoal
(net.minecraft.world.entity.PathfinderMob pEntity, Class<T> pEntityClassToAvoid, float pMaxDist, double pWalkSpeedModifier, double pSprintSpeedModifier) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
canContinueToUse, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
AvoidStrongEntityGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
-
start
public void start()Execute a one shot task or start executing a continuous task- Overrides:
start
in classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
-
tick
public void tick()Keep ticking a continuous task that has already been started- Overrides:
tick
in classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
-