Class ItemTransformVec3f.Deserializer

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

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

    • DEFAULT_ROTATION

      public static final Vector3f DEFAULT_ROTATION
    • DEFAULT_TRANSLATION

      public static final Vector3f DEFAULT_TRANSLATION
    • DEFAULT_SCALE

      public static final Vector3f DEFAULT_SCALE
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public ItemTransformVec3f 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<ItemTransformVec3f>
      Throws:
      com.google.gson.JsonParseException
    • getVector3f

      private Vector3f getVector3f(com.google.gson.JsonObject p_199340_1_, String p_199340_2_, Vector3f p_199340_3_)