Package net.minecraft.entity.ai.goal
Class LookAtCustomerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.LookAtGoal
-
- net.minecraft.entity.ai.goal.LookAtCustomerGoal
-
public class LookAtCustomerGoal extends LookAtGoal
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractVillagerEntity
villager
-
Fields inherited from class net.minecraft.entity.ai.goal.LookAtGoal
lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
-
-
Constructor Summary
Constructors Constructor Description LookAtCustomerGoal(AbstractVillagerEntity p_i50326_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
-
Methods inherited from class net.minecraft.entity.ai.goal.LookAtGoal
canContinueToUse, start, stop, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
villager
private final AbstractVillagerEntity villager
-
-
Constructor Detail
-
LookAtCustomerGoal
public LookAtCustomerGoal(AbstractVillagerEntity p_i50326_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classLookAtGoal
-
-