Package net.minecraft.datafixer.schema
Class IdentifierNormalizingSchema
java.lang.Object
com.mojang.datafixers.schemas.Schema
net.minecraft.datafixer.schema.IdentifierNormalizingSchema
- Direct Known Subclasses:
Schema1125
,Schema1451
,Schema1451v1
,Schema1451v2
,Schema1451v3
,Schema1451v4
,Schema1451v5
,Schema1451v6
,Schema1451v7
,Schema1460
,Schema1466
,Schema1470
,Schema1481
,Schema1483
,Schema1486
,Schema1510
,Schema1800
,Schema1801
,Schema1904
,Schema1906
,Schema1909
,Schema1920
,Schema1928
,Schema1929
,Schema1931
,Schema2100
,Schema2501
,Schema2502
,Schema2505
,Schema2509
,Schema2519
,Schema2522
,Schema2551
,Schema2568
,Schema2571
,Schema2684
,Schema2686
,Schema2688
,Schema2704
,Schema2707
,Schema705
,Schema808
public class IdentifierNormalizingSchema
extends com.mojang.datafixers.schemas.Schema
- Mappings:
Namespace Name official anf
intermediary net/minecraft/class_1220
named net/minecraft/datafixer/schema/IdentifierNormalizingSchema
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.codecs.PrimitiveCodec<String>
private static com.mojang.datafixers.types.Type<String>
Fields inherited from class com.mojang.datafixers.schemas.Schema
parent, RECURSIVE_TYPES
-
Constructor Summary
ConstructorDescriptionIdentifierNormalizingSchema(int versionKey, com.mojang.datafixers.schemas.Schema parent)
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.types.Type<?>
getChoiceType(com.mojang.datafixers.DSL.TypeReference typeReference, String string)
static com.mojang.datafixers.types.Type<String>
static 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
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lanf;a:Lcom/mojang/serialization/codecs/PrimitiveCodec;
intermediary field_24652
Lnet/minecraft/class_1220;field_24652:Lcom/mojang/serialization/codecs/PrimitiveCodec;
named CODEC
Lnet/minecraft/datafixer/schema/IdentifierNormalizingSchema;CODEC:Lcom/mojang/serialization/codecs/PrimitiveCodec;
-
IDENTIFIER_TYPE
- Mappings:
Namespace Name Mixin selector official b
Lanf;b:Lcom/mojang/datafixers/types/Type;
intermediary field_24653
Lnet/minecraft/class_1220;field_24653:Lcom/mojang/datafixers/types/Type;
named IDENTIFIER_TYPE
Lnet/minecraft/datafixer/schema/IdentifierNormalizingSchema;IDENTIFIER_TYPE:Lcom/mojang/datafixers/types/Type;
-
-
Constructor Details
-
IdentifierNormalizingSchema
public IdentifierNormalizingSchema(int versionKey, com.mojang.datafixers.schemas.Schema parent)- Mappings:
Namespace Name Mixin selector official <init>
Lanf;<init>(ILcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_1220;<init>(ILcom/mojang/datafixers/schemas/Schema;)V
named <init>
Lnet/minecraft/datafixer/schema/IdentifierNormalizingSchema;<init>(ILcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
normalize
- Mappings:
Namespace Name Mixin selector official a
Lanf;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_5193
Lnet/minecraft/class_1220;method_5193(Ljava/lang/String;)Ljava/lang/String;
named normalize
Lnet/minecraft/datafixer/schema/IdentifierNormalizingSchema;normalize(Ljava/lang/String;)Ljava/lang/String;
-
getIdentifierType
- Mappings:
Namespace Name Mixin selector official a
Lanf;a()Lcom/mojang/datafixers/types/Type;
intermediary method_28295
Lnet/minecraft/class_1220;method_28295()Lcom/mojang/datafixers/types/Type;
named getIdentifierType
Lnet/minecraft/datafixer/schema/IdentifierNormalizingSchema;getIdentifierType()Lcom/mojang/datafixers/types/Type;
-
getChoiceType
public com.mojang.datafixers.types.Type<?> getChoiceType(com.mojang.datafixers.DSL.TypeReference typeReference, String string)- Overrides:
getChoiceType
in classcom.mojang.datafixers.schemas.Schema
-