net.minecraft.world.entity.ai.behavior

public class GateBehavior<E extends LivingEntity>

implements BehaviorControl<E>

byn
net.minecraft.world.entity.ai.behavior.GateBehavior
net.minecraft.class_4103
net.minecraft.entity.ai.brain.task.CompositeTask
net.minecraft.world.entity.ai.behavior.BehaviorGate

Field summary

Modifier and TypeField
private final Map<MemoryModuleType<?>, MemoryStatus>
a
entryCondition
field_40992
requiredMemoryState
private final Set<MemoryModuleType<?>>
b
exitErasedMemories
field_18344
memoriesToForgetWhenStopped
private final GateBehavior$OrderPolicy
c
orderPolicy
field_18345
order
private final GateBehavior$RunningPolicy
d
runningPolicy
field_18346
runMode
private final ShufflingList<BehaviorControl<? super E>>
e
behaviors
field_18347
tasks
private Behavior$Status
f
status
field_40993
status

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()
private boolean
a(E arg0)
hasRequiredMemories(E arg0)
method_46924(E arg0)
shouldStart(E entity)
public final boolean
e(ash 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)
public final void
f(ash 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)
public final void
g(ash 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)
public String
b()
debugString()
method_46910()
getName()