Class GoToVillageGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.GoToVillageGoal
Direct Known Subclasses:
FoxEntity.GoToVillageGoal

public class GoToVillageGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/GoToVillageGoal
intermediary net/minecraft/class_4018
official cbu
  • Field Details

    • field_30228

      private static final int field_30228
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30228 Lnet/minecraft/entity/ai/goal/GoToVillageGoal;field_30228:I
      intermediary field_30228 Lnet/minecraft/class_4018;field_30228:I
      official a Lcbu;a:I
    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      named mob Lnet/minecraft/entity/ai/goal/GoToVillageGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      intermediary field_17944 Lnet/minecraft/class_4018;field_17944:Lnet/minecraft/class_1314;
      official b Lcbu;b:Lbtz;
    • searchRange

      private final int searchRange
      Mappings:
      Namespace Name Mixin selector
      named searchRange Lnet/minecraft/entity/ai/goal/GoToVillageGoal;searchRange:I
      intermediary field_17945 Lnet/minecraft/class_4018;field_17945:I
      official c Lcbu;c:I
    • targetPosition

      @Nullable private @Nullable BlockPos targetPosition
      Mappings:
      Namespace Name Mixin selector
      named targetPosition Lnet/minecraft/entity/ai/goal/GoToVillageGoal;targetPosition:Lnet/minecraft/util/math/BlockPos;
      intermediary field_17947 Lnet/minecraft/class_4018;field_17947:Lnet/minecraft/class_2338;
      official d Lcbu;d:Liz;
  • Constructor Details

    • GoToVillageGoal

      public GoToVillageGoal(PathAwareEntity mob, int searchRange)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/GoToVillageGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;I)V
      intermediary <init> Lnet/minecraft/class_4018;<init>(Lnet/minecraft/class_1314;I)V
      official <init> Lcbu;<init>(Lbtz;I)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
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official b Lcao;b()Z
    • tick

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

      private void findOtherWaypoint()
      Mappings:
      Namespace Name Mixin selector
      named findOtherWaypoint Lnet/minecraft/entity/ai/goal/GoToVillageGoal;findOtherWaypoint()V
      intermediary method_18252 Lnet/minecraft/class_4018;method_18252()V
      official h Lcbu;h()V