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

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official a Lbny;a:Lbgi;
      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

      public AvoidSunlightGoal(PathAwareEntity mob)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbny;<init>(Lbgi;)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()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmv;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

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

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