Class Transformation.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.Transformation.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Transformation>
- Enclosing class:
Transformation
@Environment(CLIENT)
protected static class Transformation.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<Transformation>
- Mappings:
Namespace Name official fpm$a
intermediary net/minecraft/class_804$class_805
named net/minecraft/client/render/model/json/Transformation$Deserializer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) private Vector3f
parseVector3f
(com.google.gson.JsonObject json, String key, Vector3f fallback)
-
Field Details
-
DEFAULT_ROTATION
- Mappings:
Namespace Name Mixin selector official c
Lfpm$a;c:Lorg/joml/Vector3f;
intermediary field_4288
Lnet/minecraft/class_804$class_805;field_4288:Lorg/joml/Vector3f;
named DEFAULT_ROTATION
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;DEFAULT_ROTATION:Lorg/joml/Vector3f;
-
DEFAULT_TRANSLATION
- Mappings:
Namespace Name Mixin selector official d
Lfpm$a;d:Lorg/joml/Vector3f;
intermediary field_4290
Lnet/minecraft/class_804$class_805;field_4290:Lorg/joml/Vector3f;
named DEFAULT_TRANSLATION
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;DEFAULT_TRANSLATION:Lorg/joml/Vector3f;
-
DEFAULT_SCALE
- Mappings:
Namespace Name Mixin selector official e
Lfpm$a;e:Lorg/joml/Vector3f;
intermediary field_4289
Lnet/minecraft/class_804$class_805;field_4289:Lorg/joml/Vector3f;
named DEFAULT_SCALE
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;DEFAULT_SCALE:Lorg/joml/Vector3f;
-
field_32808
public static final float field_32808- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfpm$a;a:F
intermediary field_32808
Lnet/minecraft/class_804$class_805;field_32808:F
named field_32808
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;field_32808:F
-
field_32809
public static final float field_32809- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfpm$a;b:F
intermediary field_32809
Lnet/minecraft/class_804$class_805;field_32809:F
named field_32809
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;field_32809:F
-
-
Constructor Details
-
Deserializer
protected Deserializer()
-
-
Method Details
-
deserialize
public Transformation deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Transformation>
- Throws:
com.google.gson.JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Lfpm$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpm;
intermediary method_3494
Lnet/minecraft/class_804$class_805;method_3494(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_804;
named deserialize
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/Transformation;
-
parseVector3f
- Mappings:
Namespace Name Mixin selector official a
Lfpm$a;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Lorg/joml/Vector3f;)Lorg/joml/Vector3f;
intermediary method_3493
Lnet/minecraft/class_804$class_805;method_3493(Lcom/google/gson/JsonObject;Ljava/lang/String;Lorg/joml/Vector3f;)Lorg/joml/Vector3f;
named parseVector3f
Lnet/minecraft/client/render/model/json/Transformation$Deserializer;parseVector3f(Lcom/google/gson/JsonObject;Ljava/lang/String;Lorg/joml/Vector3f;)Lorg/joml/Vector3f;
-