Class NamespacedSchema
java.lang.Object
com.mojang.datafixers.schemas.Schema
net.minecraft.util.datafix.schemas.NamespacedSchema
- Direct Known Subclasses:
V1125
,V1451
,V1451_1
,V1451_2
,V1451_3
,V1451_4
,V1451_5
,V1451_6
,V1460
,V1466
,V1470
,V1481
,V1483
,V1486
,V1510
,V1800
,V1801
,V1904
,V1906
,V1909
,V1920
,V1928
,V1929
,V1931
,V2100
,V2501
,V2502
,V2505
,V2509
,V2519
,V2522
,V2551
,V2568
,V2571
,V2684
,V2686
,V2688
,V2704
,V2707
,V2831
,V2832
,V2842
,V3076
,V3078
,V3081
,V3082
,V3083
,V3202
,V3203
,V3204
,V3325
,V3326
,V3327
,V3328
,V3438
,V3448
,V3682
,V3683
,V3685
,V3689
,V3799
,V3807
,V3808
,V3808_1
,V3808_2
,V3816
,V3818
,V3818_3
,V3818_4
,V3818_5
,V3825
,V3938
,V705
,V808
public class NamespacedSchema
extends com.mojang.datafixers.schemas.Schema
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.datafixers.types.Type
<String> static final com.mojang.serialization.codecs.PrimitiveCodec
<String> Fields inherited from class com.mojang.datafixers.schemas.Schema
parent, RECURSIVE_TYPES
-
Constructor Summary
ConstructorsConstructorDescriptionNamespacedSchema
(int versionKey, com.mojang.datafixers.schemas.Schema parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
ensureNamespaced
(String string) com.mojang.datafixers.types.Type
<?> getChoiceType
(com.mojang.datafixers.DSL.TypeReference type, String choiceName) static com.mojang.datafixers.types.Type
<String> Methods inherited from class com.mojang.datafixers.schemas.Schema
buildTypes, findChoiceType, getParent, getTemplate, getType, getTypeRaw, getVersionKey, id, register, register, registerBlockEntities, registerEntities, registerSimple, registerType, registerTypes, resolveTemplate, types
-
Field Details
-
NAMESPACED_STRING_CODEC
-
NAMESPACED_STRING
-
-
Constructor Details
-
NamespacedSchema
public NamespacedSchema(int versionKey, com.mojang.datafixers.schemas.Schema parent)
-
-
Method Details
-
ensureNamespaced
-
namespacedString
-
getChoiceType
public com.mojang.datafixers.types.Type<?> getChoiceType(com.mojang.datafixers.DSL.TypeReference type, String choiceName) - Overrides:
getChoiceType
in classcom.mojang.datafixers.schemas.Schema
-