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 |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final String |
| ||||||||||
| private final Supplier<T> |
| ||||||||||
| private final com.mojang.serialization.Codec<T> |
| ||||||||||
| private final DataFixTypes |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (String id, Supplier<T> constructor, com.mojang.serialization.Codec<T> codec, DataFixTypes dataFixType) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public String |
| ||||||||||
| public Supplier<T> |
| ||||||||||
| public com.mojang.serialization.Codec<T> |
| ||||||||||
| public DataFixTypes |
|