net.minecraft.entity.ai.brain.task

public abstract class Task<E extends LivingEntity>

arv
net.minecraft.world.entity.ai.behavior.Behavior
net.minecraft.class_4097
net.minecraft.entity.ai.brain.task.Task
net.minecraft.unmapped.C_wbtjxfbq
net.minecraft.entity.ai.brain.task.Task
net.minecraft.entity.ai.brain.task.Task

Field summary

Modifier and TypeField
protected final Map<MemoryModuleType<?>, MemoryModuleState>
a
entryCondition
field_19291
requiredMemoryStates
f_obmumrdg
field_223010_a
requiredMemoryState
private Task$Status
b
status
field_18333
status
f_tijqdxos
field_220384_a
status
private long
c
endTimestamp
field_18334
endTime
f_rfkjmatw
field_220385_b
stopTime
private final int
d
minDuration
field_18335
minRunTime
f_kbnpijts
field_220386_c
durationMin
private final int
e
maxDuration
field_18336
maxRunTime
f_slgvphcl
field_220387_d
durationMax

Constructor summary

ModifierConstructor
public (Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState)
public (Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int runTime)
public (Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
public Task$Status
a()
getStatus()
method_18921()
getStatus()
m_qxzmwkrw()
func_220376_b()
getStatus()
public final boolean
e(aag arg0, E arg1, long arg2)
tryStart(ServerLevel arg0, E arg1, long arg2)
method_18922(class_3218 arg0, E arg1, long arg2)
tryStarting(ServerWorld world, E entity, long time)
m_krlqrwcm(C_bdwnwhiu arg0, E arg1, long arg2)
func_220378_b(ServerWorld arg0, E arg1, long arg2)
start(ServerWorld worldIn, E owner, long gameTime)
protected void
a(aag arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
run(ServerWorld world, E entity, long time)
m_thxoqxcz(C_bdwnwhiu arg0, E arg1, long arg2)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)
startExecuting(ServerWorld worldIn, E entityIn, long gameTimeIn)
public final void
f(aag arg0, E arg1, long arg2)
tickOrStop(ServerLevel arg0, E arg1, long arg2)
method_18923(class_3218 arg0, E arg1, long arg2)
tick(ServerWorld world, E entity, long time)
m_otvnmfsm(C_bdwnwhiu arg0, E arg1, long arg2)
func_220377_c(ServerWorld arg0, E arg1, long arg2)
tick(ServerWorld worldIn, E entityIn, long gameTime)
protected void
d(aag arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_18924(class_3218 arg0, E arg1, long arg2)
keepRunning(ServerWorld world, E entity, long time)
m_jiotgmjk(C_bdwnwhiu arg0, E arg1, long arg2)
func_212833_d_(ServerWorld arg0, E arg1, long arg2)
updateTask(ServerWorld worldIn, E owner, long gameTime)
public final void
g(aag arg0, E arg1, long arg2)
doStop(ServerLevel arg0, E arg1, long arg2)
method_18925(class_3218 arg0, E arg1, long arg2)
stop(ServerWorld world, E entity, long time)
m_kedloueu(C_bdwnwhiu arg0, E arg1, long arg2)
func_220380_e(ServerWorld arg0, E arg1, long arg2)
stop(ServerWorld worldIn, E entityIn, long gameTimeIn)
protected void
c(aag arg0, E arg1, long arg2)
stop(ServerLevel arg0, E arg1, long arg2)
method_18926(class_3218 arg0, E arg1, long arg2)
finishRunning(ServerWorld world, E entity, long time)
m_copsxmjv(C_bdwnwhiu arg0, E arg1, long arg2)
func_212835_f_(ServerWorld arg0, E arg1, long arg2)
resetTask(ServerWorld worldIn, E entityIn, long gameTimeIn)
protected boolean
b(aag arg0, E arg1, long arg2)
canStillUse(ServerLevel arg0, E arg1, long arg2)
method_18927(class_3218 arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld world, E entity, long time)
m_xvrvizlg(C_bdwnwhiu arg0, E arg1, long arg2)
func_212834_g_(ServerWorld arg0, E arg1, long arg2)
shouldContinueExecuting(ServerWorld worldIn, E entityIn, long gameTimeIn)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long time)
m_eghfkoeo(long arg0)
func_220383_a(long arg0)
isTimedOut(long gameTime)
protected boolean
a(aag arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
shouldRun(ServerWorld world, E entity)
m_pwowjghk(C_bdwnwhiu arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
shouldExecute(ServerWorld worldIn, E owner)
private boolean
a(E arg0)
hasRequiredMemories(E arg0)
method_19546(E arg0)
hasRequiredMemoryState(E arg0)
m_tzzxzprb(E arg0)
func_220382_a(E arg0)
hasRequiredMemories(E owner)