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 bqz$gintermediary net/minecraft/class_1440$class_4056named 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
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 official hLbqz$g;h:Lbqz;intermediary field_18116Lnet/minecraft/class_1440$class_4056;field_18116:Lnet/minecraft/class_1440;named pandaLnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;panda:Lnet/minecraft/entity/passive/PandaEntity;
-
-
Constructor Details
-
LookAtEntityGoal
- Mappings:
Namespace Name Mixin selector official <init>Lbqz$g;<init>(Lbqz;Ljava/lang/Class;F)Vintermediary <init>Lnet/minecraft/class_1440$class_4056;<init>(Lnet/minecraft/class_1440;Ljava/lang/Class;F)Vnamed <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 aLbqz$g;a(Lbfa;)Vintermediary method_24217Lnet/minecraft/class_1440$class_4056;method_24217(Lnet/minecraft/class_1309;)Vnamed setTargetLnet/minecraft/entity/passive/PandaEntity$LookAtEntityGoal;setTarget(Lnet/minecraft/entity/LivingEntity;)V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector official bLblu;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStart
public boolean canStart()- Overrides:
canStartin classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector official aLblu;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
tick
public void tick()- Overrides:
tickin classLookAtEntityGoal- Mappings:
Namespace Name Mixin selector official eLblu;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-