Package net.minecraft.entity.ai.goal
Class LookAtCustomerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.ai.goal.LookAtCustomerGoal
public class LookAtCustomerGoal extends LookAtEntityGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private MerchantEntity
merchant
Fields inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
chance, mob, range, target, targetPredicate, targetType
-
Constructor Summary
Constructors Constructor Description LookAtCustomerGoal(MerchantEntity merchant)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
Methods inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
shouldContinue, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
merchant
-
-
Constructor Details
-
LookAtCustomerGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classLookAtEntityGoal
-