Class LookAtEntityInteractGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
com.minecolonies.core.entity.ai.minimal.LookAtEntityGoal
com.minecolonies.core.entity.ai.minimal.LookAtEntityInteractGoal
Similar to LookAtEntityGoal, just adds movement flags
-
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 com.minecolonies.core.entity.ai.minimal.LookAtEntityGoal
DEFAULT_PROBABILITY, lookAt, lookAtType, lookDistance, mob, probability -
Constructor Summary
ConstructorsConstructorDescriptionLookAtEntityInteractGoal(net.minecraft.world.entity.Mob mob, Class<? extends net.minecraft.world.entity.LivingEntity> lookAtType, float lookDistance, float probability) -
Method Summary
Methods inherited from class com.minecolonies.core.entity.ai.minimal.LookAtEntityGoal
canContinueToUse, canUse, start, stop, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
LookAtEntityInteractGoal
public LookAtEntityInteractGoal(net.minecraft.world.entity.Mob mob, Class<? extends net.minecraft.world.entity.LivingEntity> lookAtType, float lookDistance, float probability)
-