Class NamespacedSchema

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.datafixers.types.Type<java.lang.String> NAMESPACED_STRING  
      static com.mojang.serialization.codecs.PrimitiveCodec<java.lang.String> NAMESPACED_STRING_CODEC  
      • Fields inherited from class com.mojang.datafixers.schemas.Schema

        parent, RECURSIVE_TYPES
    • Constructor Summary

      Constructors 
      Constructor Description
      NamespacedSchema​(int p_i49612_1_, com.mojang.datafixers.schemas.Schema p_i49612_2_)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String ensureNamespaced​(java.lang.String p_206477_0_)  
      com.mojang.datafixers.types.Type<?> getChoiceType​(com.mojang.datafixers.DSL.TypeReference p_getChoiceType_1_, java.lang.String p_getChoiceType_2_)  
      static com.mojang.datafixers.types.Type<java.lang.String> namespacedString()  
      • 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 Detail

      • NAMESPACED_STRING_CODEC

        public static final com.mojang.serialization.codecs.PrimitiveCodec<java.lang.String> NAMESPACED_STRING_CODEC
      • NAMESPACED_STRING

        private static final com.mojang.datafixers.types.Type<java.lang.String> NAMESPACED_STRING
    • Constructor Detail

      • NamespacedSchema

        public NamespacedSchema​(int p_i49612_1_,
                                com.mojang.datafixers.schemas.Schema p_i49612_2_)
    • Method Detail

      • ensureNamespaced

        public static java.lang.String ensureNamespaced​(java.lang.String p_206477_0_)
      • namespacedString

        public static com.mojang.datafixers.types.Type<java.lang.String> namespacedString()
      • getChoiceType

        public com.mojang.datafixers.types.Type<?> getChoiceType​(com.mojang.datafixers.DSL.TypeReference p_getChoiceType_1_,
                                                                 java.lang.String p_getChoiceType_2_)
        Overrides:
        getChoiceType in class com.mojang.datafixers.schemas.Schema