Class Panda.PandaLookAtPlayerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.world.entity.animal.Panda.PandaLookAtPlayerGoal
- Enclosing class:
- Panda
-
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
ConstructorDescriptionPandaLookAtPlayerGoal
(Panda p_29308_, Class<? extends LivingEntity> p_29309_, float p_29310_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
void
setTarget
(LivingEntity p_29313_) void
tick()
Methods inherited from class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
start, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
panda
-
-
Constructor Details
-
PandaLookAtPlayerGoal
public PandaLookAtPlayerGoal(Panda p_29308_, Class<? extends LivingEntity> p_29309_, float p_29310_)
-
-
Method Details
-
setTarget
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classLookAtPlayerGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classLookAtPlayerGoal
-
tick
public void tick()- Overrides:
tick
in classLookAtPlayerGoal
-