Uses of Enum Class
net.minecraft.entity.ai.brain.MemoryModuleState
Packages that use MemoryModuleState
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of MemoryModuleState in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type MemoryModuleStateModifier and TypeFieldDescriptionprivate final Map<Activity,Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>>> Brain.requiredActivityMemoriesMethods in net.minecraft.entity.ai.brain that return MemoryModuleStateModifier and TypeMethodDescriptionMemoryQuery.Absent.getState()MemoryQuery.getState()MemoryQuery.Optional.getState()MemoryQuery.Value.getState()static MemoryModuleStateReturns the enum constant of this class with the specified name.static MemoryModuleState[]MemoryModuleState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity.ai.brain with parameters of type MemoryModuleStateModifier and TypeMethodDescriptionbooleanBrain.isMemoryInState(MemoryModuleType<?> type, MemoryModuleState state) Method parameters in net.minecraft.entity.ai.brain with type arguments of type MemoryModuleStateModifier and TypeMethodDescriptionvoidBrain.setTaskList(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories) voidBrain.setTaskList(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories, Set<MemoryModuleType<?>> forgettingMemories) -
Uses of MemoryModuleState in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type MemoryModuleStateModifier and TypeFieldDescriptionprivate final Map<MemoryModuleType<?>,MemoryModuleState> CompositeTask.requiredMemoryStateprotected final Map<MemoryModuleType<?>,MemoryModuleState> MultiTickTask.requiredMemoryStatesConstructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type MemoryModuleStateModifierConstructorDescriptionCompositeTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks) MultiTickTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState) MultiTickTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int runTime) MultiTickTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime) RandomTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks)