Class FarmerWorkTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<VillagerEntity>
net.minecraft.entity.ai.brain.task.VillagerWorkTask
net.minecraft.entity.ai.brain.task.FarmerWorkTask
- All Implemented Interfaces:
Task<VillagerEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/FarmerWorkTask
intermediary net/minecraft/class_4983
official cbi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
compostSeeds
(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private void
craftAndDropBread
(ServerWorld world, VillagerEntity villager) protected void
performAdditionalWork
(ServerWorld world, VillagerEntity entity) private void
syncComposterEvent
(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) Methods inherited from class net.minecraft.entity.ai.brain.task.VillagerWorkTask
run, shouldKeepRunning, shouldRun
Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
finishRunning, getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, stop, tick, tryStarting
-
Field Details
-
COMPOSTABLES
- Mappings:
Namespace Name Mixin selector named COMPOSTABLES
Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;COMPOSTABLES:Ljava/util/List;
intermediary field_23226
Lnet/minecraft/class_4983;field_23226:Ljava/util/List;
official c
Lcbi;c:Ljava/util/List;
-
-
Constructor Details
-
FarmerWorkTask
public FarmerWorkTask()
-
-
Method Details
-
performAdditionalWork
- Overrides:
performAdditionalWork
in classVillagerWorkTask
- Mappings:
Namespace Name Mixin selector named performAdditionalWork
Lnet/minecraft/entity/ai/brain/task/VillagerWorkTask;performAdditionalWork(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)V
intermediary method_26335
Lnet/minecraft/class_4133;method_26335(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)V
official a
Lcbj;a(Lash;Lcpi;)V
-
compostSeeds
private void compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lcbi;a(Lash;Lcpi;Ljp;Ldxu;)V
-
syncComposterEvent
private void syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lcbi;a(Lash;Ldxu;Ljh;Ldxu;)V
-
craftAndDropBread
- Mappings:
Namespace Name Mixin selector named craftAndDropBread
Lnet/minecraft/entity/ai/brain/task/FarmerWorkTask;craftAndDropBread(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)V
intermediary method_26333
Lnet/minecraft/class_4983;method_26333(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)V
official c
Lcbi;c(Lash;Lcpi;)V
-