Class BlockModelDefinition.Deserializer

java.lang.Object
net.minecraft.client.renderer.block.model.BlockModelDefinition.Deserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockModelDefinition>
Enclosing class:
BlockModelDefinition

public static class BlockModelDefinition.Deserializer extends Object implements com.google.gson.JsonDeserializer<BlockModelDefinition>
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public BlockModelDefinition deserialize(com.google.gson.JsonElement p_111559_, Type p_111560_, com.google.gson.JsonDeserializationContext p_111561_) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<BlockModelDefinition>
      Throws:
      com.google.gson.JsonParseException
    • getVariants

      protected Map<String,MultiVariant> getVariants(com.google.gson.JsonDeserializationContext p_111556_, com.google.gson.JsonObject p_111557_)
    • getMultiPart

      @Nullable protected MultiPart getMultiPart(com.google.gson.JsonDeserializationContext p_111563_, com.google.gson.JsonObject p_111564_)