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, Schema2831, Schema2832, Schema2842, Schema705, Schema808

public class IdentifierNormalizingSchema extends com.mojang.datafixers.schemas.Schema
Mappings:
Namespace Name
official apo
intermediary net/minecraft/class_1220
named net/minecraft/datafixer/schema/IdentifierNormalizingSchema
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.codecs.PrimitiveCodec<String>
     
    private static final com.mojang.datafixers.types.Type<String>
     

    Fields inherited from class com.mojang.datafixers.schemas.Schema

    parent, RECURSIVE_TYPES
  • Constructor Summary

    Constructors
    Constructor
    Description
    IdentifierNormalizingSchema(int versionKey, com.mojang.datafixers.schemas.Schema parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.codecs.PrimitiveCodec<String> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lapo;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

      private static final com.mojang.datafixers.types.Type<String> IDENTIFIER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official b Lapo;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> Lapo;<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

      public static String normalize(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lapo;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

      public static com.mojang.datafixers.types.Type<String> getIdentifierType()
      Mappings:
      Namespace Name Mixin selector
      official a Lapo;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 class com.mojang.datafixers.schemas.Schema