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 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.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 TypeFieldDescriptionprotected final Map<MemoryModuleType<?>,
MemoryModuleState> Task.requiredMemoryStates
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type MemoryModuleStateModifier 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) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type MemoryModuleStateModifier and TypeMethodDescriptionprivate static Map<MemoryModuleType<?>,
MemoryModuleState> ConditionalTask.merge
(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second) 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<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)