类 LoseJobOnSiteLossTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
-
- net.minecraft.entity.ai.brain.task.LoseJobOnSiteLossTask
-
public class LoseJobOnSiteLossTask extends Task<VillagerEntity>
- Mappings:
Namespace Name official avyintermediary net/minecraft/class_4295named net/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
-
构造器概要
构造器 构造器 说明 LoseJobOnSiteLossTask()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidrun(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanshouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)-
从类继承的方法 net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
-
-
-
方法详细资料
-
shouldRun
protected boolean shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)
- 覆盖:
shouldRun在类中Task<VillagerEntity>- Mappings:
Namespace Name Mixin selector official aLavy;a(Labj;Lbis;)Zintermediary method_20449Lnet/minecraft/class_4295;method_20449(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Znamed shouldRunLnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;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 aLavy;a(Labj;Lbis;J)Vintermediary method_20450Lnet/minecraft/class_4295;method_20450(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed runLnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
-