类 GoToVillageGoal

  • 直接已知子类:
    FoxEntity.GoToVillageGoal

    public class GoToVillageGoal
    extends Goal
    Mappings:
    Namespace Name
    official azv
    intermediary net/minecraft/class_4018
    named net/minecraft/entity/ai/goal/GoToVillageGoal
    • 字段详细资料

      • field_30228

        private static final int field_30228
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lazv;a:I
        intermediary field_30228 Lnet/minecraft/class_4018;field_30228:I
        named field_30228 Lnet/minecraft/entity/ai/goal/GoToVillageGoal;field_30228:I
      • mob

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

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

        @Nullable
        private @Nullable BlockPos targetPosition
        Mappings:
        Namespace Name Mixin selector
        official d Lazv;d:Lgb;
        intermediary field_17947 Lnet/minecraft/class_4018;field_17947:Lnet/minecraft/class_2338;
        named targetPosition Lnet/minecraft/entity/ai/goal/GoToVillageGoal;targetPosition:Lnet/minecraft/util/math/BlockPos;
    • 构造器详细资料

      • GoToVillageGoal

        public GoToVillageGoal​(PathAwareEntity mob,
                               int searchRange)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazv;<init>(Latg;I)V
        intermediary <init> Lnet/minecraft/class_4018;<init>(Lnet/minecraft/class_1314;I)V
        named <init> Lnet/minecraft/entity/ai/goal/GoToVillageGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;I)V
    • 方法详细资料

      • canStart

        public boolean canStart()
        指定者:
        canStart 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      • tick

        public void tick()
        覆盖:
        tick 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official e Layq;e()V
        intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
        named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      • findOtherWaypoint

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