类 WanderIndoorsTask


  • public class WanderIndoorsTask
    extends Task<PathAwareEntity>
    Mappings:
    Namespace Name
    official ave
    intermediary net/minecraft/class_4289
    named net/minecraft/entity/ai/brain/task/WanderIndoorsTask
    • 字段详细资料

      • speed

        private final float speed
        Mappings:
        Namespace Name Mixin selector
        official a Lave;a:F
        intermediary field_19258 Lnet/minecraft/class_4289;field_19258:F
        named speed Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;speed:F
    • 构造器详细资料

      • WanderIndoorsTask

        public WanderIndoorsTask​(float speed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lave;<init>(F)V
        intermediary <init> Lnet/minecraft/class_4289;<init>(F)V
        named <init> Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;<init>(F)V
    • 方法详细资料

      • shouldRun

        protected boolean shouldRun​(ServerWorld serverWorld,
                                    PathAwareEntity pathAwareEntity)
        覆盖:
        shouldRun 在类中 Task<PathAwareEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lave;a(Labj;Latg;)Z
        intermediary method_20421 Lnet/minecraft/class_4289;method_20421(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Z
        named shouldRun Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
      • run

        protected void run​(ServerWorld serverWorld,
                           PathAwareEntity pathAwareEntity,
                           long long2)
        覆盖:
        run 在类中 Task<PathAwareEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lave;a(Labj;Latg;J)V
        intermediary method_20422 Lnet/minecraft/class_4289;method_20422(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
        named run Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V