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 named net/minecraft/entity/passive/PandaEntity$LookAtEntityGoal
intermediary net/minecraft/class_1440$class_4056
official cfr$g
-
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 named panda
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;panda:Lnet/minecraft/entity/passive/PandaEntity;
intermediary field_18116
Lnet/minecraft/class_1440$class_4056;field_18116:Lnet/minecraft/class_1440;
official h
Lcfr$g;h:Lcfr;
-
-
Constructor Details
-
LookAtEntityGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;<init>(Lnet/minecraft/entity/passive/PandaEntity;Ljava/lang/Class;F)V
intermediary <init>
Lnet/minecraft/class_1440$class_4056;<init>(Lnet/minecraft/class_1440;Ljava/lang/Class;F)V
official <init>
Lcfr$g;<init>(Lcfr;Ljava/lang/Class;F)V
-
-
Method Details
-
setTarget
- Mappings:
Namespace Name Mixin selector named setTarget
Lnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;setTarget(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_24217
Lnet/minecraft/class_1440$class_4056;method_24217(Lnet/minecraft/class_1309;)V
official a
Lcfr$g;a(Lbtl;)V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcak;c()Z
-
canStart
public boolean canStart()- Overrides:
canStart
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official b
Lcak;b()Z
-
tick
public void tick()- Overrides:
tick
in classLookAtEntityGoal
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
official a
Lcak;a()V
-