public record PersistentStateType<T extends PersistentState>
| net.minecraft.world.level.saveddata.SavedDataType | |
| net.minecraft.class_10741 | |
| net.minecraft.world.PersistentStateType |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final Identifier |
|
||||||
| private final Supplier<T> |
|
||||||
| private final com.mojang.serialization.Codec<T> |
|
||||||
| private final DataFixType |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Identifier id, Supplier<T> constructor, com.mojang.serialization.Codec<T> codec, DataFixType dataFixType) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public Identifier |
|
||||||
| public Supplier<T> |
|
||||||
| public com.mojang.serialization.Codec<T> |
|
||||||
| public DataFixType |
|