Package net.minecraft.entity.ai.goal
Class AvoidSunlightGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AvoidSunlightGoal
public class AvoidSunlightGoal extends Goal
- Mappings:
Namespace Name official ayb
intermediary net/minecraft/class_1384
named net/minecraft/entity/ai/goal/AvoidSunlightGoal
-
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 PathAwareEntity
mob
-
Constructor Summary
Constructors Constructor Description AvoidSunlightGoal(PathAwareEntity mob)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, shouldContinue, tick, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official a
Layb;a:Larq;
intermediary field_6594
Lnet/minecraft/class_1384;field_6594:Lnet/minecraft/class_1314;
named mob
Lnet/minecraft/entity/ai/goal/AvoidSunlightGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
-
-
Constructor Details
-
AvoidSunlightGoal
- Mappings:
Namespace Name Mixin selector official <init>
Layb;<init>(Larq;)V
intermediary <init>
Lnet/minecraft/class_1384;<init>(Lnet/minecraft/class_1314;)V
named <init>
Lnet/minecraft/entity/ai/goal/AvoidSunlightGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
stop
public void stop()
-