net.minecraft.world.entity.ai.behavior

public class GateBehavior<E extends LivingEntity>

extends Behavior<E>

bec
net.minecraft.world.entity.ai.behavior.GateBehavior
net.minecraft.class_4103
net.minecraft.entity.ai.brain.task.CompositeTask
net.minecraft.src.C_583_
net.minecraft.world.entity.ai.behavior.BehaviorGate

Field summary

Modifier and TypeField
private final Set<MemoryModuleType<?>>
a
exitErasedMemories
field_18344
memoriesToForgetWhenStopped
f_22868_
private final GateBehavior$OrderPolicy
d
orderPolicy
field_18345
order
f_22869_
private final GateBehavior$RunningPolicy
e
runningPolicy
field_18346
runMode
f_22870_
private final ShufflingList<Behavior<? super E>>
f
behaviors
field_18347
tasks
f_22871_

Constructor summary

ModifierConstructor
public (Map<MemoryModuleType<?>, MemoryStatus> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, GateBehavior$OrderPolicy order, GateBehavior$RunningPolicy runMode, List<com.mojang.datafixers.util.Pair<Behavior<? super E>, Integer>> tasks)

Method summary

Modifier and TypeMethod
protected boolean
b(agg arg0, E arg1, long arg2)
canStillUse(ServerLevel arg0, E arg1, long arg2)
method_18927(class_3218 arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, E arg1, long arg2)
m_6737_(C_12_ p_22895_, E p_22896_, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected void
a(agg arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_22882_, E p_22883_, long arg2)
protected void
d(agg arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_18924(class_3218 arg0, E arg1, long arg2)
keepRunning(ServerWorld arg0, E arg1, long arg2)
m_6725_(C_12_ p_22917_, E p_22918_, long arg2)
protected void
c(agg arg0, E arg1, long arg2)
stop(ServerLevel arg0, E arg1, long arg2)
method_18926(class_3218 arg0, E arg1, long arg2)
finishRunning(ServerWorld arg0, E arg1, long arg2)
m_6732_(C_12_ p_22906_, E p_22907_, long arg2)