Class VillagerWorkTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.VillagerWorkTask
Direct Known Subclasses:
FarmerWorkTask

public class VillagerWorkTask extends Task<VillagerEntity>
Mappings:
Namespace Name
official bim
intermediary net/minecraft/class_4133
named net/minecraft/entity/ai/brain/task/VillagerWorkTask
  • Field Details

    • RUN_TIME

      private static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbim;a:I
      intermediary field_30192 Lnet/minecraft/class_4133;field_30192:I
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;RUN_TIME:I
    • MAX_DISTANCE

      private static final double MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbim;d:D
      intermediary field_30193 Lnet/minecraft/class_4133;field_30193:D
      named MAX_DISTANCE Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;MAX_DISTANCE:D
    • lastCheckedTime

      private long lastCheckedTime
      Mappings:
      Namespace Name Mixin selector
      official e Lbim;e:J
      intermediary field_19426 Lnet/minecraft/class_4133;field_19426:J
      named lastCheckedTime Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;lastCheckedTime:J
  • Constructor Details

    • VillagerWorkTask

      public VillagerWorkTask()
  • Method Details

    • method_21641

      protected boolean method_21641(ServerWorld serverWorld, VillagerEntity villagerEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbim;b(Lahb;Lbvf;)Z
      intermediary method_21641 Lnet/minecraft/class_4133;method_21641(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
      named method_21641 Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;method_21641(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
    • method_21642

      protected void method_21642(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbim;a(Lahb;Lbvf;J)V
      intermediary method_21642 Lnet/minecraft/class_4133;method_21642(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named method_21642 Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;method_21642(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • performAdditionalWork

      protected void performAdditionalWork(ServerWorld world, VillagerEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbim;a(Lahb;Lbvf;)V
      intermediary method_26335 Lnet/minecraft/class_4133;method_26335(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)V
      named performAdditionalWork Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;performAdditionalWork(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)V
    • method_26336

      protected boolean method_26336(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbim;b(Lahb;Lbvf;J)Z
      intermediary method_26336 Lnet/minecraft/class_4133;method_26336(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
      named method_26336 Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;method_26336(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z