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
named net/minecraft/entity/ai/goal/AvoidSunlightGoal
intermediary net/minecraft/class_1384
official cbr
  • Field Details

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      named mob Lnet/minecraft/entity/ai/goal/AvoidSunlightGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      intermediary field_6594 Lnet/minecraft/class_1384;field_6594:Lnet/minecraft/class_1314;
      official a Lcbr;a:Lbtz;
  • Constructor Details

    • AvoidSunlightGoal

      public AvoidSunlightGoal(PathAwareEntity mob)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/AvoidSunlightGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary <init> Lnet/minecraft/class_1384;<init>(Lnet/minecraft/class_1314;)V
      official <init> Lcbr;<init>(Lbtz;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      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 a Lcao;a()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official c Lcao;c()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official d Lcao;d()V