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