类 FollowCustomerTask


  • public class FollowCustomerTask
    extends Task<VillagerEntity>
    Mappings:
    Namespace Name
    official avm
    intermediary net/minecraft/class_4108
    named net/minecraft/entity/ai/brain/task/FollowCustomerTask
    • 字段详细资料

      • speed

        private final float speed
        Mappings:
        Namespace Name Mixin selector
        official a Lavm;a:F
        intermediary field_18362 Lnet/minecraft/class_4108;field_18362:F
        named speed Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;speed:F
    • 构造器详细资料

      • FollowCustomerTask

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

      • shouldRun

        protected boolean shouldRun​(ServerWorld serverWorld,
                                    VillagerEntity villagerEntity)
        覆盖:
        shouldRun 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lavm;a(Labj;Lbis;)Z
        intermediary method_18954 Lnet/minecraft/class_4108;method_18954(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
        named shouldRun Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
      • shouldKeepRunning

        protected boolean shouldKeepRunning​(ServerWorld serverWorld,
                                            VillagerEntity villagerEntity,
                                            long long2)
        覆盖:
        shouldKeepRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lavm;a(Labj;Lbis;J)Z
        intermediary method_18955 Lnet/minecraft/class_4108;method_18955(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
        named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
      • run

        protected void run​(ServerWorld serverWorld,
                           VillagerEntity villagerEntity,
                           long long2)
        覆盖:
        run 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official b Lavm;b(Labj;Lbis;J)V
        intermediary method_18956 Lnet/minecraft/class_4108;method_18956(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named run Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      • finishRunning

        protected void finishRunning​(ServerWorld serverWorld,
                                     VillagerEntity villagerEntity,
                                     long long2)
        覆盖:
        finishRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official c Lavm;c(Labj;Lbis;J)V
        intermediary method_18957 Lnet/minecraft/class_4108;method_18957(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named finishRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      • keepRunning

        protected void keepRunning​(ServerWorld serverWorld,
                                   VillagerEntity villagerEntity,
                                   long long2)
        覆盖:
        keepRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official d Lavm;d(Labj;Lbis;J)V
        intermediary method_18958 Lnet/minecraft/class_4108;method_18958(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named keepRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      • isTimeLimitExceeded

        protected boolean isTimeLimitExceeded​(long time)
        覆盖:
        isTimeLimitExceeded 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lauj;a(J)Z
        intermediary method_18915 Lnet/minecraft/class_4097;method_18915(J)Z
        named isTimeLimitExceeded Lnet/minecraft/entity/ai/brain/task/Task;isTimeLimitExceeded(J)Z
      • update

        private void update​(VillagerEntity villager)
        Mappings:
        Namespace Name Mixin selector
        official a Lavm;a(Lbis;)V
        intermediary method_18953 Lnet/minecraft/class_4108;method_18953(Lnet/minecraft/class_1646;)V
        named update Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;update(Lnet/minecraft/entity/passive/VillagerEntity;)V