Class FarmerWorkTask

All Implemented Interfaces:
Task<VillagerEntity>

public class FarmerWorkTask extends VillagerWorkTask
Mappings:
Namespace Name
official bjd
intermediary net/minecraft/class_4983
named net/minecraft/entity/ai/brain/task/FarmerWorkTask
  • Field Details

    • COMPOSTABLES

      private static final List<Item> COMPOSTABLES
      Mappings:
      Namespace Name Mixin selector
      official c Lbjd;c:Ljava/util/List;
      intermediary field_23226 Lnet/minecraft/class_4983;field_23226:Ljava/util/List;
      named COMPOSTABLES Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;COMPOSTABLES:Ljava/util/List;
  • Constructor Details

    • FarmerWorkTask

      public FarmerWorkTask()
  • Method Details

    • performAdditionalWork

      protected void performAdditionalWork(ServerWorld world, VillagerEntity entity)
      Overrides:
      performAdditionalWork in class VillagerWorkTask
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Lahm;Lbwc;)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
    • compostSeeds

      private void compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjd;a(Lahm;Lbwc;Lgy;Lcyt;)V
      intermediary method_26334 Lnet/minecraft/class_4983;method_26334(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_4208;Lnet/minecraft/class_2680;)V
      named compostSeeds Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;compostSeeds(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/util/math/GlobalPos;Lnet/minecraft/block/BlockState;)V
    • syncComposterEvent

      private void syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjd;a(Lahm;Lcyt;Lgp;Lcyt;)V
      intermediary method_30232 Lnet/minecraft/class_4983;method_30232(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named syncComposterEvent Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;syncComposterEvent(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • craftAndDropBread

      private void craftAndDropBread(VillagerEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjd;a(Lbwc;)V
      intermediary method_26333 Lnet/minecraft/class_4983;method_26333(Lnet/minecraft/class_1646;)V
      named craftAndDropBread Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;craftAndDropBread(Lnet/minecraft/entity/passive/VillagerEntity;)V