类 WanderAroundTask


  • public class WanderAroundTask
    extends Task<MobEntity>
    Mappings:
    Namespace Name
    official avr
    intermediary net/minecraft/class_4112
    named net/minecraft/entity/ai/brain/task/WanderAroundTask
    • 字段详细资料

      • field_30150

        private static final int field_30150
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lavr;a:I
        intermediary field_30150 Lnet/minecraft/class_4112;field_30150:I
        named field_30150 Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;field_30150:I
      • pathUpdateCountdownTicks

        private int pathUpdateCountdownTicks
        Mappings:
        Namespace Name Mixin selector
        official c Lavr;c:I
        intermediary field_18964 Lnet/minecraft/class_4112;field_18964:I
        named pathUpdateCountdownTicks Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;pathUpdateCountdownTicks:I
      • path

        @Nullable
        private @Nullable Path path
        Mappings:
        Namespace Name Mixin selector
        official d Lavr;d:Ldga;
        intermediary field_18369 Lnet/minecraft/class_4112;field_18369:Lnet/minecraft/class_11;
        named path Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;path:Lnet/minecraft/entity/ai/pathing/Path;
      • lookTargetPos

        @Nullable
        private @Nullable BlockPos lookTargetPos
        Mappings:
        Namespace Name Mixin selector
        official e Lavr;e:Lgb;
        intermediary field_18370 Lnet/minecraft/class_4112;field_18370:Lnet/minecraft/class_2338;
        named lookTargetPos Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;lookTargetPos:Lnet/minecraft/util/math/BlockPos;
      • speed

        private float speed
        Mappings:
        Namespace Name Mixin selector
        official f Lavr;f:F
        intermediary field_18371 Lnet/minecraft/class_4112;field_18371:F
        named speed Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;speed:F
    • 构造器详细资料

      • WanderAroundTask

        public WanderAroundTask()
      • WanderAroundTask

        public WanderAroundTask​(int int2,
                                int int3)
    • 方法详细资料

      • shouldRun

        protected boolean shouldRun​(ServerWorld serverWorld,
                                    MobEntity mobEntity)
        覆盖:
        shouldRun 在类中 Task<MobEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lavr;a(Labj;Lasz;)Z
        intermediary method_18978 Lnet/minecraft/class_4112;method_18978(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;)Z
        named shouldRun Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;)Z
      • shouldKeepRunning

        protected boolean shouldKeepRunning​(ServerWorld serverWorld,
                                            MobEntity mobEntity,
                                            long long2)
        覆盖:
        shouldKeepRunning 在类中 Task<MobEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lavr;a(Labj;Lasz;J)Z
        intermediary method_18979 Lnet/minecraft/class_4112;method_18979(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Z
        named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
      • finishRunning

        protected void finishRunning​(ServerWorld serverWorld,
                                     MobEntity mobEntity,
                                     long long2)
        覆盖:
        finishRunning 在类中 Task<MobEntity>
        Mappings:
        Namespace Name Mixin selector
        official b Lavr;b(Labj;Lasz;J)V
        intermediary method_18981 Lnet/minecraft/class_4112;method_18981(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
        named finishRunning Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      • run

        protected void run​(ServerWorld serverWorld,
                           MobEntity mobEntity,
                           long long2)
        覆盖:
        run 在类中 Task<MobEntity>
        Mappings:
        Namespace Name Mixin selector
        official c Lavr;c(Labj;Lasz;J)V
        intermediary method_18982 Lnet/minecraft/class_4112;method_18982(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
        named run Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      • keepRunning

        protected void keepRunning​(ServerWorld serverWorld,
                                   MobEntity mobEntity,
                                   long long2)
        覆盖:
        keepRunning 在类中 Task<MobEntity>
        Mappings:
        Namespace Name Mixin selector
        official d Lavr;d(Labj;Lasz;J)V
        intermediary method_18983 Lnet/minecraft/class_4112;method_18983(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
        named keepRunning Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      • hasFinishedPath

        private boolean hasFinishedPath​(MobEntity entity,
                                        WalkTarget walkTarget,
                                        long time)
        Mappings:
        Namespace Name Mixin selector
        official a Lavr;a(Lasz;Lbax;J)Z
        intermediary method_18977 Lnet/minecraft/class_4112;method_18977(Lnet/minecraft/class_1308;Lnet/minecraft/class_4142;J)Z
        named hasFinishedPath Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;hasFinishedPath(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/ai/brain/WalkTarget;J)Z
      • hasReached

        private boolean hasReached​(MobEntity entity,
                                   WalkTarget walkTarget)
        Mappings:
        Namespace Name Mixin selector
        official a Lavr;a(Lasz;Lbax;)Z
        intermediary method_18980 Lnet/minecraft/class_4112;method_18980(Lnet/minecraft/class_1308;Lnet/minecraft/class_4142;)Z
        named hasReached Lnet/minecraft/entity/ai/brain/task/WanderAroundTask;hasReached(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/ai/brain/WalkTarget;)Z