Uses of Class
net.minecraft.world.entity.ai.memory.ExpirableValue
Packages that use ExpirableValue
-
Uses of ExpirableValue in net.minecraft.world.entity.ai
Fields in net.minecraft.world.entity.ai with type parameters of type ExpirableValueModifier and TypeFieldDescriptionprivate final Map
<MemoryModuleType<?>, Optional<? extends ExpirableValue<?>>> Brain.memories
private final Optional
<? extends ExpirableValue<U>> Brain.MemoryValue.value
Methods in net.minecraft.world.entity.ai that return types with arguments of type ExpirableValueModifier and TypeMethodDescriptionMap
<MemoryModuleType<?>, Optional<? extends ExpirableValue<?>>> Brain.getMemories()
Deprecated.Method parameters in net.minecraft.world.entity.ai with type arguments of type ExpirableValueModifier and TypeMethodDescription(package private) static <U> Brain.MemoryValue
<U> Brain.MemoryValue.createUnchecked
(MemoryModuleType<U> pMemoryType, Optional<? extends ExpirableValue<?>> pMemory) (package private) <U> void
Brain.setMemoryInternal
(MemoryModuleType<U> pMemoryType, Optional<? extends ExpirableValue<?>> pMemory) Constructor parameters in net.minecraft.world.entity.ai with type arguments of type ExpirableValueModifierConstructorDescription(package private)
MemoryValue
(MemoryModuleType<U> pType, Optional<? extends ExpirableValue<U>> pValue) -
Uses of ExpirableValue in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type ExpirableValueModifier and TypeFieldDescriptionprivate final Optional
<com.mojang.serialization.Codec<ExpirableValue<U>>> MemoryModuleType.codec
Methods in net.minecraft.world.entity.ai.memory that return ExpirableValueModifier and TypeMethodDescriptionstatic <T> ExpirableValue
<T> ExpirableValue.of
(T pValue) static <T> ExpirableValue
<T> ExpirableValue.of
(T pValue, long pTimeToLive) Methods in net.minecraft.world.entity.ai.memory that return types with arguments of type ExpirableValueModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<ExpirableValue<T>> ExpirableValue.codec
(com.mojang.serialization.Codec<T> p_26305_) Optional
<com.mojang.serialization.Codec<ExpirableValue<U>>> MemoryModuleType.getCodec()