Class Variant.Deserializer

java.lang.Object
net.minecraft.client.renderer.block.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>
  • Field Details

  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public Variant deserialize(com.google.gson.JsonElement p_111893_, Type p_111894_, com.google.gson.JsonDeserializationContext p_111895_) 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_111903_)
    • getBlockRotation

      protected BlockModelRotation getBlockRotation(com.google.gson.JsonObject p_111897_)
    • getModel

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

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