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 TypeMethodDescriptionstatic 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 TypeFieldDescriptionprotected final Map<MemoryModuleType<?>,
MemoryModuleState> Task.requiredMemoryStates
Modifier and TypeMethodDescriptionprivate static ImmutableMap<MemoryModuleType<?>,
MemoryModuleState> FindPointOfInterestTask.create
(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule) private static Map<MemoryModuleType<?>,
MemoryModuleState> ConditionalTask.merge
(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second) Modifier and TypeMethodDescriptionprivate static Map<MemoryModuleType<?>,
MemoryModuleState> ConditionalTask.merge
(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second) ModifierConstructorDescriptionCompositeTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) ConditionalTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryStates, Predicate<E> condition, Task<? super E> delegate, boolean allowsContinuation) ConditionalTask
(Map<MemoryModuleType<?>, MemoryModuleState> memory, Task<? super E> delegate) RandomTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int runTime) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime)