Class RaiderEntity.PatrolApproachGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.raid.RaiderEntity.PatrolApproachGoal
Enclosing class:
RaiderEntity

protected class RaiderEntity.PatrolApproachGoal extends Goal
Mappings:
Namespace Name
official blj$a
intermediary net/minecraft/class_3763$class_4223
named net/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal
  • Field Details

    • raider

      private final RaiderEntity raider
      Mappings:
      Namespace Name Mixin selector
      official c Lblj$a;c:Lblj;
      intermediary field_18883 Lnet/minecraft/class_3763$class_4223;field_18883:Lnet/minecraft/class_3763;
      named raider Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;raider:Lnet/minecraft/entity/raid/RaiderEntity;
    • squaredDistance

      private final float squaredDistance
      Mappings:
      Namespace Name Mixin selector
      official d Lblj$a;d:F
      intermediary field_18884 Lnet/minecraft/class_3763$class_4223;field_18884:F
      named squaredDistance Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;squaredDistance:F
    • closeRaiderPredicate

      public final TargetPredicate closeRaiderPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lblj$a;a:Lbcz;
      intermediary field_18881 Lnet/minecraft/class_3763$class_4223;field_18881:Lnet/minecraft/class_4051;
      named closeRaiderPredicate Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;closeRaiderPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
  • Constructor Details

    • PatrolApproachGoal

      public PatrolApproachGoal(IllagerEntity illager, float distance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblj$a;<init>(Lblj;Lbhf;F)V
      intermediary <init> Lnet/minecraft/class_3763$class_4223;<init>(Lnet/minecraft/class_3763;Lnet/minecraft/class_1543;F)V
      named <init> Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Lnet/minecraft/entity/mob/IllagerEntity;F)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lazo;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 Lazo;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 Lazo;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lazo;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V