类 FarmerWorkTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
-
- net.minecraft.entity.ai.brain.task.VillagerWorkTask
-
- net.minecraft.entity.ai.brain.task.FarmerWorkTask
-
public class FarmerWorkTask extends VillagerWorkTask
- Mappings:
Namespace Name official axlintermediary net/minecraft/class_4983named net/minecraft/entity/ai/brain/task/FarmerWorkTask
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
字段概要
字段 修饰符和类型 字段 说明 private static List<Item>COMPOSTABLES-
从类继承的字段 net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
-
构造器概要
构造器 构造器 说明 FarmerWorkTask()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidcompostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)private voidcraftAndDropBread(VillagerEntity entity)protected voidperformAdditionalWork(ServerWorld world, VillagerEntity entity)private voidsyncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState)-
从类继承的方法 net.minecraft.entity.ai.brain.task.VillagerWorkTask
run, shouldKeepRunning, shouldRun
-
从类继承的方法 net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, stop, tick, toString, tryStarting
-
-
-
-
字段详细资料
-
COMPOSTABLES
private static final List<Item> COMPOSTABLES
- Mappings:
Namespace Name Mixin selector official aLaxl;a:Ljava/util/List;intermediary field_23226Lnet/minecraft/class_4983;field_23226:Ljava/util/List;named COMPOSTABLESLnet/minecraft/entity/ai/brain/task/FarmerWorkTask;COMPOSTABLES:Ljava/util/List;
-
-
方法详细资料
-
performAdditionalWork
protected void performAdditionalWork(ServerWorld world, VillagerEntity entity)
- 覆盖:
performAdditionalWork在类中VillagerWorkTask- Mappings:
Namespace Name Mixin selector official aLaxm;a(Labj;Lbis;)Vintermediary method_26335Lnet/minecraft/class_4133;method_26335(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Vnamed performAdditionalWorkLnet/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 aLaxl;a(Labj;Lbis;Lgj;Lcjr;)Vintermediary method_26334Lnet/minecraft/class_4983;method_26334(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_4208;Lnet/minecraft/class_2680;)Vnamed compostSeedsLnet/minecraft/entity/ai/brain/task/FarmerWorkTask;compostSeeds(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/util/dynamic/GlobalPos;Lnet/minecraft/block/BlockState;)V
-
syncComposterEvent
private void syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState)
- Mappings:
Namespace Name Mixin selector official aLaxl;a(Labj;Lcjr;Lgb;Lcjr;)Vintermediary method_30232Lnet/minecraft/class_4983;method_30232(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed syncComposterEventLnet/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 aLaxl;a(Lbis;)Vintermediary method_26333Lnet/minecraft/class_4983;method_26333(Lnet/minecraft/class_1646;)Vnamed craftAndDropBreadLnet/minecraft/entity/ai/brain/task/FarmerWorkTask;craftAndDropBread(Lnet/minecraft/entity/passive/VillagerEntity;)V
-
-