Interface MemoryCondition<F extends com.mojang.datafixers.kinds.K1, Value>
- All Known Implementing Classes:
MemoryCondition.Absent, MemoryCondition.Present, MemoryCondition.Registered
public interface MemoryCondition<F extends com.mojang.datafixers.kinds.K1, Value>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescription@Nullable MemoryAccessor<F, Value> createAccessor(Brain<?> brain, Optional<Value> value) memory()
-
Method Details
-
memory
MemoryModuleType<Value> memory() -
condition
MemoryStatus condition() -
createAccessor
-