Class RunOne<E extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.behavior.GateBehavior<E>
net.minecraft.world.entity.ai.behavior.RunOne<E>
- All Implemented Interfaces:
BehaviorControl<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class GateBehavior
GateBehavior.OrderPolicy, GateBehavior.RunningPolicy -
Constructor Summary
ConstructorsConstructorDescriptionRunOne(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) RunOne(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) -
Method Summary
Methods inherited from class GateBehavior
debugString, doStop, getRequiredMemories, getStatus, tickOrStop, tryStart
-
Constructor Details
-
RunOne
public RunOne(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) -
RunOne
public RunOne(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors)
-