Class GateBehavior<E extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.behavior.GateBehavior<E>
- All Implemented Interfaces:
- BehaviorControl<E>
- Direct Known Subclasses:
- RunOne
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ShufflingList<BehaviorControl<? super E>>private final Map<MemoryModuleType<?>,MemoryStatus> private final Set<MemoryModuleType<?>>private final GateBehavior.OrderPolicyprivate final GateBehavior.RunningPolicyprivate Behavior.Status
- 
Constructor SummaryConstructorsConstructorDescriptionGateBehavior(Map<MemoryModuleType<?>, MemoryStatus> p_22873_, Set<MemoryModuleType<?>> p_22874_, GateBehavior.OrderPolicy p_22875_, GateBehavior.RunningPolicy p_22876_, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> p_22877_) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal voiddoStop(ServerLevel p_259962_, E p_260250_, long p_259847_) private booleanhasRequiredMemories(E p_259419_) final voidtickOrStop(ServerLevel p_259934_, E p_259790_, long p_260259_) toString()final booleantryStart(ServerLevel p_259362_, E p_259746_, long p_259560_) 
- 
Field Details- 
entryCondition
- 
exitErasedMemories
- 
orderPolicy
- 
runningPolicy
- 
behaviors
- 
status
 
- 
- 
Constructor Details- 
GateBehaviorpublic GateBehavior(Map<MemoryModuleType<?>, MemoryStatus> p_22873_, Set<MemoryModuleType<?>> p_22874_, GateBehavior.OrderPolicy p_22875_, GateBehavior.RunningPolicy p_22876_, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> p_22877_) 
 
- 
- 
Method Details- 
getStatus- Specified by:
- getStatusin interface- BehaviorControl<E extends LivingEntity>
 
- 
hasRequiredMemories
- 
tryStart- Specified by:
- tryStartin interface- BehaviorControl<E extends LivingEntity>
 
- 
tickOrStop- Specified by:
- tickOrStopin interface- BehaviorControl<E extends LivingEntity>
 
- 
doStop- Specified by:
- doStopin interface- BehaviorControl<E extends LivingEntity>
 
- 
debugString- Specified by:
- debugStringin interface- BehaviorControl<E extends LivingEntity>
 
- 
toString
 
-