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
static class PandaEntity.LookAtEntityGoal extends LookAtEntityGoal
- Mappings:
Namespace Name official bbw$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 Modifier and Type Field Description private PandaEntity
panda
Fields inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
chance, mob, range, target, targetPredicate, targetType
-
Constructor Summary
Constructors Constructor Description LookAtEntityGoal(PandaEntity panda, Class<? extends LivingEntity> targetType, float range)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
void
setTarget(LivingEntity target)
boolean
shouldContinue()
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, setControls, toString
-
Field Details
-
panda
- Mappings:
Namespace Name Mixin selector official g
Lbbw$g;g:Lbbw;
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>
Lbbw$g;<init>(Lbbw;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
Lbbw$g;a(Lari;)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
Lawx;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
Lawx;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
Lawx;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-