Uses of Enum Class
net.minecraft.entity.ai.brain.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
Modifier and TypeFieldDescriptionprivate final Map
<Activity, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>>> Brain.requiredActivityMemories
Modifier 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.Modifier and TypeMethodDescriptionboolean
Brain.isMemoryInState
(MemoryModuleType<?> type, MemoryModuleState state) Modifier 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
Modifier and TypeFieldDescriptionprivate final Map
<MemoryModuleType<?>, MemoryModuleState> CompositeTask.requiredMemoryState
protected final Map
<MemoryModuleType<?>, MemoryModuleState> MultiTickTask.requiredMemoryStates
ModifierConstructorDescriptionCompositeTask
(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)