Class BlockModelDefinition.Deserializer

    • Constructor Summary

      Constructors 
      Constructor Description
      Deserializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BlockModelDefinition deserialize​(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)  
      protected Multipart getMultiPart​(com.google.gson.JsonDeserializationContext p_187998_1_, com.google.gson.JsonObject p_187998_2_)  
      protected java.util.Map<java.lang.String,​VariantList> getVariants​(com.google.gson.JsonDeserializationContext p_187999_1_, com.google.gson.JsonObject p_187999_2_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Deserializer

        public Deserializer()
    • Method Detail

      • deserialize

        public BlockModelDefinition deserialize​(com.google.gson.JsonElement p_deserialize_1_,
                                                java.lang.reflect.Type p_deserialize_2_,
                                                com.google.gson.JsonDeserializationContext p_deserialize_3_)
                                         throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<BlockModelDefinition>
        Throws:
        com.google.gson.JsonParseException
      • getVariants

        protected java.util.Map<java.lang.String,​VariantList> getVariants​(com.google.gson.JsonDeserializationContext p_187999_1_,
                                                                                com.google.gson.JsonObject p_187999_2_)
      • getMultiPart

        @Nullable
        protected Multipart getMultiPart​(com.google.gson.JsonDeserializationContext p_187998_1_,
                                         com.google.gson.JsonObject p_187998_2_)