Package net.minecraft.entity.passive
Class PandaEntity.WatchGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtGoal
net.minecraft.entity.passive.PandaEntity.WatchGoal
- Enclosing class:
- PandaEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.LookAtGoal
lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
-
Constructor Summary
ConstructorDescriptionWatchGoal
(PandaEntity p_i51458_1_, Class<? extends LivingEntity> p_i51458_2_, float p_i51458_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
void
setTarget
(LivingEntity p_229975_1_) void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.LookAtGoal
start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
panda
-
-
Constructor Details
-
WatchGoal
public WatchGoal(PandaEntity p_i51458_1_, Class<? extends LivingEntity> p_i51458_2_, float p_i51458_3_)
-
-
Method Details
-
setTarget
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classLookAtGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classLookAtGoal
-
tick
public void tick()- Overrides:
tick
in classLookAtGoal
-