Class InteractGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.world.entity.ai.goal.InteractGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class LookAtPlayerGoal
DEFAULT_PROBABILITY, lookAt, lookAtContext, lookAtType, lookDistance, mob, probability -
Constructor Summary
ConstructorsConstructorDescriptionInteractGoal(Mob mob, Class<? extends LivingEntity> lookAtType, float lookDistance) InteractGoal(Mob mob, Class<? extends LivingEntity> lookAtType, float lookDistance, float probability) -
Method Summary
Methods inherited from class LookAtPlayerGoal
canContinueToUse, canUse, start, stop, tickMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
InteractGoal
-
InteractGoal
public InteractGoal(Mob mob, Class<? extends LivingEntity> lookAtType, float lookDistance, float probability)
-