net.minecraft.world.entity.ai.behavior

public class GateBehavior<E extends LivingEntity>

implements BehaviorControl<E>

bll
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 Map<MemoryModuleType<?>, MemoryStatus>
a
entryCondition
field_40992
requiredMemoryState
f_256759_
private final Set<MemoryModuleType<?>>
b
exitErasedMemories
field_18344
memoriesToForgetWhenStopped
f_22868_
private final GateBehavior$OrderPolicy
c
orderPolicy
field_18345
order
f_22869_
private final GateBehavior$RunningPolicy
d
runningPolicy
field_18346
runMode
f_22870_
private final ShufflingList<BehaviorControl<? super E>>
e
behaviors
field_18347
tasks
f_22871_
private Behavior$Status
f
status
field_40993
status
f_256778_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Behavior$Status
a()
getStatus()
method_18921()
getStatus()
m_22536_()
private boolean
a(E arg0)
hasRequiredMemories(E arg0)
method_46924(E arg0)
shouldStart(E entity)
m_257655_(E arg0)
public final boolean
e(akq arg0, E arg1, long arg2)
tryStart(ServerLevel arg0, E arg1, long arg2)
method_18922(class_3218 arg0, E arg1, long arg2)
tryStarting(ServerWorld arg0, E arg1, long arg2)
m_22554_(C_12_ p_259746_, E p_259560_, long arg2)
public final void
f(akq arg0, E arg1, long arg2)
tickOrStop(ServerLevel arg0, E arg1, long arg2)
method_18923(class_3218 arg0, E arg1, long arg2)
tick(ServerWorld arg0, E arg1, long arg2)
m_22558_(C_12_ p_259790_, E p_260259_, long arg2)
public final void
g(akq arg0, E arg1, long arg2)
doStop(ServerLevel arg0, E arg1, long arg2)
method_18925(class_3218 arg0, E arg1, long arg2)
stop(ServerWorld arg0, E arg1, long arg2)
m_22562_(C_12_ p_260250_, E p_259847_, long arg2)
public String
b()
debugString()
method_46910()
getName()
m_22566_()