类 GoToWorkTask


  • public class GoToWorkTask
    extends Task<VillagerEntity>
    Mappings:
    Namespace Name
    official auf
    intermediary net/minecraft/class_4114
    named net/minecraft/entity/ai/brain/task/GoToWorkTask
    • 构造器详细资料

      • GoToWorkTask

        public GoToWorkTask()
    • 方法详细资料

      • shouldRun

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

        protected void run​(ServerWorld serverWorld,
                           VillagerEntity villagerEntity,
                           long long2)
        覆盖:
        run 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lauf;a(Labj;Lbis;J)V
        intermediary method_18988 Lnet/minecraft/class_4114;method_18988(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named run Lnet/minecraft/entity/ai/brain/task/GoToWorkTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V