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$LookAtEntityGoalintermediary net/minecraft/class_1440$class_4056official cft$g
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
chance, DEFAULT_CHANCE, mob, range, target, targetPredicate, targetType -
Constructor Summary
ConstructorsConstructorDescriptionLookAtEntityGoal(PandaEntity panda, Class<? extends LivingEntity> targetType, float range) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()voidsetTarget(LivingEntity target) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
start, stopMethods 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 pandaLnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;panda:Lnet/minecraft/entity/passive/PandaEntity;intermediary field_18116Lnet/minecraft/class_1440$class_4056;field_18116:Lnet/minecraft/class_1440;official hLcft$g;h:Lcft;
-
-
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)Vintermediary <init>Lnet/minecraft/class_1440$class_4056;<init>(Lnet/minecraft/class_1440;Ljava/lang/Class;F)Vofficial <init>Lcft$g;<init>(Lcft;Ljava/lang/Class;F)V
-
-
Method Details
-
setTarget
- Mappings:
Namespace Name Mixin selector named setTargetLnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;setTarget(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_24217Lnet/minecraft/class_1440$class_4056;method_24217(Lnet/minecraft/class_1309;)Vofficial aLcft$g;a(Lbtn;)V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector named shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Zofficial cLcam;c()Z
-
canStart
public boolean canStart()- Overrides:
canStartin classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
tick
public void tick()- Overrides:
tickin classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/ai/goal/Goal;tick()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vofficial aLcam;a()V
-