net.minecraft.world.entity.ai.behavior

public class GateBehavior<E extends LivingEntity>

extends Behavior<E>

ame
net.minecraft.world.entity.ai.behavior.GateBehavior
net.minecraft.class_4103
net.minecraft.entity.ai.brain.task.CompositeTask
net.minecraft.entity.ai.brain.task.MultiTask
net.minecraft.server.v1_15_R1.BehaviorGate

Field summary

Modifier and TypeField
private final Set<MemoryModuleType<?>>
a
exitErasedMemories
field_18344
memoriesToForgetWhenStopped
field_220416_b
private final GateBehavior$OrderPolicy
b
orderPolicy
field_18345
order
field_220417_c
private final GateBehavior$RunningPolicy
c
runningPolicy
field_18346
runMode
field_220418_d
private final WeightedList<Behavior<? super E>>
d
behaviors
field_18347
tasks
field_220419_e

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
g(xd 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)
func_212834_g_(ServerWorld arg0, E arg1, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
func_220383_a(long arg0)
protected void
a(xd 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)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)
protected void
d(xd 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)
func_212833_d_(ServerWorld arg0, E arg1, long arg2)
protected void
f(xd 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)
func_212835_f_(ServerWorld arg0, E arg1, long arg2)