Package net.minecraft.entity.passive
Class PandaEntity.LookAtEntityGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.passive.PandaEntity.LookAtEntityGoal
- Enclosing class:
PandaEntity
- Mappings:
Namespace Name official bsa$g
intermediary net/minecraft/class_1440$class_4056
named net/minecraft/entity/passive/PandaEntity$LookAtEntityGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
chance, DEFAULT_CHANCE, mob, range, target, targetPredicate, targetType
-
Constructor Summary
ConstructorDescriptionLookAtEntityGoal
(PandaEntity panda, Class<? extends LivingEntity> targetType, float range) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
void
setTarget
(LivingEntity target) boolean
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
panda
- Mappings:
Namespace Name Mixin selector official h
Lbsa$g;h:Lbsa;
intermediary field_18116
Lnet/minecraft/class_1440$class_4056;field_18116:Lnet/minecraft/class_1440;
named panda
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;panda:Lnet/minecraft/entity/passive/PandaEntity;
-
-
Constructor Details
-
LookAtEntityGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbsa$g;<init>(Lbsa;Ljava/lang/Class;F)V
intermediary <init>
Lnet/minecraft/class_1440$class_4056;<init>(Lnet/minecraft/class_1440;Ljava/lang/Class;F)V
named <init>
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;<init>(Lnet/minecraft/entity/passive/PandaEntity;Ljava/lang/Class;F)V
-
-
Method Details
-
setTarget
- Mappings:
Namespace Name Mixin selector official a
Lbsa$g;a(Lbfz;)V
intermediary method_24217
Lnet/minecraft/class_1440$class_4056;method_24217(Lnet/minecraft/class_1309;)V
named setTarget
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;setTarget(Lnet/minecraft/entity/LivingEntity;)V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector official b
Lbmv;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStart
public boolean canStart()- Overrides:
canStart
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector official a
Lbmv;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
tick
public void tick()- Overrides:
tick
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector official e
Lbmv;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-