Class Variant.Deserializer

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

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

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public Variant deserialize(com.google.gson.JsonElement p_deserialize_1_, 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<Variant>
      Throws:
      com.google.gson.JsonParseException
    • getUvLock

      private boolean getUvLock(com.google.gson.JsonObject p_188044_1_)
    • getBlockRotation

      protected ModelRotation getBlockRotation(com.google.gson.JsonObject p_188042_1_)
    • getModel

      protected ResourceLocation getModel(com.google.gson.JsonObject p_188043_1_)
    • getWeight

      protected int getWeight(com.google.gson.JsonObject p_188045_1_)