Class ModelTransformation.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelTransformation.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ModelTransformation>
- Enclosing class:
ModelTransformation
@Environment(CLIENT)
protected static class ModelTransformation.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ModelTransformation>
- Mappings:
Namespace Name official fpn$a
intermediary net/minecraft/class_809$class_810
named net/minecraft/client/render/model/json/ModelTransformation$Deserializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) private Transformation
parseModelTransformation
(com.google.gson.JsonDeserializationContext ctx, com.google.gson.JsonObject jsonObject, ModelTransformationMode modelTransformationMode)
-
Constructor Details
-
Deserializer
protected Deserializer()
-
-
Method Details
-
deserialize
public ModelTransformation 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<ModelTransformation>
- Throws:
com.google.gson.JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Lfpn$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpn;
intermediary method_3505
Lnet/minecraft/class_809$class_810;method_3505(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_809;
named deserialize
Lnet/minecraft/client/render/model/json/ModelTransformation$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelTransformation;
-
parseModelTransformation
private Transformation parseModelTransformation(com.google.gson.JsonDeserializationContext ctx, com.google.gson.JsonObject jsonObject, ModelTransformationMode modelTransformationMode) - Mappings:
Namespace Name Mixin selector official a
Lfpn$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;Lcjc;)Lfpm;
intermediary method_3504
Lnet/minecraft/class_809$class_810;method_3504(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;Lnet/minecraft/class_811;)Lnet/minecraft/class_804;
named parseModelTransformation
Lnet/minecraft/client/render/model/json/ModelTransformation$Deserializer;parseModelTransformation(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;Lnet/minecraft/client/render/model/json/ModelTransformationMode;)Lnet/minecraft/client/render/model/json/Transformation;
-