public class MultiTask<E extends LivingEntity> extends Task<E>
Task.Status| Constructor and Description |
|---|
MultiTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51503_1_,
java.util.Set<MemoryModuleType<?>> p_i51503_2_,
net.minecraft.entity.ai.brain.task.MultiTask.Ordering p_i51503_3_,
net.minecraft.entity.ai.brain.task.MultiTask.RunType p_i51503_4_,
java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51503_5_) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTimedOut(long gameTime) |
protected void |
resetTask(ServerWorld worldIn,
E entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
E entityIn,
long gameTimeIn) |
protected void |
startExecuting(ServerWorld worldIn,
E entityIn,
long gameTimeIn) |
java.lang.String |
toString() |
protected void |
updateTask(ServerWorld worldIn,
E owner,
long gameTime) |
public MultiTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51503_1_, java.util.Set<MemoryModuleType<?>> p_i51503_2_, net.minecraft.entity.ai.brain.task.MultiTask.Ordering p_i51503_3_, net.minecraft.entity.ai.brain.task.MultiTask.RunType p_i51503_4_, java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51503_5_)
protected boolean shouldContinueExecuting(ServerWorld worldIn, E entityIn, long gameTimeIn)
shouldContinueExecuting in class Task<E extends LivingEntity>protected boolean isTimedOut(long gameTime)
isTimedOut in class Task<E extends LivingEntity>protected void startExecuting(ServerWorld worldIn, E entityIn, long gameTimeIn)
startExecuting in class Task<E extends LivingEntity>protected void updateTask(ServerWorld worldIn, E owner, long gameTime)
updateTask in class Task<E extends LivingEntity>protected void resetTask(ServerWorld worldIn, E entityIn, long gameTimeIn)
resetTask in class Task<E extends LivingEntity>public java.lang.String toString()
toString in class Task<E extends LivingEntity>