枚举类 DataFixTypes
- 所有已实现的接口:
Serializable
,Comparable<DataFixTypes>
,Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明 -
字段概要
字段修饰符和类型字段说明private final com.mojang.datafixers.DSL.TypeReference
static final Set
<com.mojang.datafixers.DSL.TypeReference> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) static int
<T> com.mojang.serialization.Dynamic
<T> update
(com.mojang.datafixers.DataFixer p_265388_, com.mojang.serialization.Dynamic<T> p_265179_, int p_265372_, int p_265168_) update
(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) <T> com.mojang.serialization.Dynamic
<T> updateToCurrentVersion
(com.mojang.datafixers.DataFixer p_265085_, com.mojang.serialization.Dynamic<T> p_265237_, int p_265099_) updateToCurrentVersion
(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) static DataFixTypes
返回带有指定名称的该类的枚举常量。static DataFixTypes[]
values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同<A> com.mojang.serialization.Codec
<A> wrapCodec
(com.mojang.serialization.Codec<A> p_301309_, com.mojang.datafixers.DataFixer p_301075_, int p_300912_)
-
枚举常量详细资料
-
LEVEL
-
LEVEL_SUMMARY
-
PLAYER
-
CHUNK
-
HOTBAR
-
OPTIONS
-
STRUCTURE
-
STATS
-
SAVED_DATA_COMMAND_STORAGE
-
SAVED_DATA_FORCED_CHUNKS
-
SAVED_DATA_MAP_DATA
-
SAVED_DATA_MAP_INDEX
-
SAVED_DATA_RAIDS
-
SAVED_DATA_RANDOM_SEQUENCES
-
SAVED_DATA_SCOREBOARD
-
SAVED_DATA_STRUCTURE_FEATURE_INDICES
-
ADVANCEMENTS
-
POI_CHUNK
-
WORLD_GEN_SETTINGS
-
ENTITY_CHUNK
-
-
字段详细资料
-
TYPES_FOR_LEVEL_LIST
-
type
private final com.mojang.datafixers.DSL.TypeReference type
-
-
构造器详细资料
-
DataFixTypes
private DataFixTypes(com.mojang.datafixers.DSL.TypeReference p_14503_)
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- 如果该枚举类没有带有指定名称的常量NullPointerException
- 如果参数为空值
-
currentVersion
static int currentVersion() -
wrapCodec
public <A> com.mojang.serialization.Codec<A> wrapCodec(com.mojang.serialization.Codec<A> p_301309_, com.mojang.datafixers.DataFixer p_301075_, int p_300912_) -
update
public <T> com.mojang.serialization.Dynamic<T> update(com.mojang.datafixers.DataFixer p_265388_, com.mojang.serialization.Dynamic<T> p_265179_, int p_265372_, int p_265168_) -
updateToCurrentVersion
public <T> com.mojang.serialization.Dynamic<T> updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265085_, com.mojang.serialization.Dynamic<T> p_265237_, int p_265099_) -
update
public CompoundTag update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) -
updateToCurrentVersion
public CompoundTag updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_)
-