Class LookAtTradingPlayerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.world.entity.ai.goal.LookAtTradingPlayerGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
DEFAULT_PROBABILITY, lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
canContinueToUse, start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
villager
-
-
Constructor Details
-
LookAtTradingPlayerGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classLookAtPlayerGoal
-