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.requiredActivityMemories
Methods in net.minecraft.entity.ai.brain that return MemoryModuleStateModifier and TypeMethodDescriptionMemoryQuery.Absent.getState()
MemoryQuery.getState()
MemoryQuery.Optional.getState()
MemoryQuery.Value.getState()
static MemoryModuleState
Returns 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 TypeMethodDescriptionboolean
Brain.isMemoryInState
(MemoryModuleType<?> type, MemoryModuleState state) Method parameters in net.minecraft.entity.ai.brain with type arguments of type MemoryModuleStateModifier and TypeMethodDescriptionvoid
Brain.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) void
Brain.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.requiredMemoryState
protected final Map
<MemoryModuleType<?>, MemoryModuleState> MultiTickTask.requiredMemoryStates
Constructor 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)