Uses of Class
net.minecraft.entity.ai.brain.Memory
-
Packages that use Memory Package Description net.minecraft.entity.ai.brain net.minecraft.entity.ai.brain.memory -
-
Uses of Memory in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type Memory Modifier and Type Field Description private java.util.Map<MemoryModuleType<?>,java.util.Optional<? extends Memory<?>>>
Brain. memories
private java.util.Optional<? extends Memory<U>>
Brain.MemoryCodec. value
Methods in net.minecraft.entity.ai.brain that return Memory Modifier and Type Method Description static <T> Memory<T>
Memory. of(T p_234068_0_)
static <T> Memory<T>
Memory. of(T p_234069_0_, long p_234069_1_)
Methods in net.minecraft.entity.ai.brain that return types with arguments of type Memory Modifier and Type Method Description static <T> com.mojang.serialization.Codec<Memory<T>>
Memory. codec(com.mojang.serialization.Codec<T> p_234066_0_)
Method parameters in net.minecraft.entity.ai.brain with type arguments of type Memory Modifier and Type Method Description private static <U> Brain.MemoryCodec<U>
Brain.MemoryCodec. createUnchecked(MemoryModuleType<U> p_233743_0_, java.util.Optional<? extends Memory<?>> p_233743_1_)
private <U> void
Brain. setMemoryInternal(MemoryModuleType<U> p_233709_1_, java.util.Optional<? extends Memory<?>> p_233709_2_)
Constructor parameters in net.minecraft.entity.ai.brain with type arguments of type Memory Constructor Description MemoryCodec(MemoryModuleType<U> p_i231496_1_, java.util.Optional<? extends Memory<U>> p_i231496_2_)
-
Uses of Memory in net.minecraft.entity.ai.brain.memory
Fields in net.minecraft.entity.ai.brain.memory with type parameters of type Memory Modifier and Type Field Description private java.util.Optional<com.mojang.serialization.Codec<Memory<U>>>
MemoryModuleType. codec
Methods in net.minecraft.entity.ai.brain.memory that return types with arguments of type Memory Modifier and Type Method Description java.util.Optional<com.mojang.serialization.Codec<Memory<U>>>
MemoryModuleType. getCodec()
-