Class ModelElement.Deserializer

java.lang.Object
net.minecraft.client.render.model.json.ModelElement.Deserializer
All Implemented Interfaces:
JsonDeserializer<ModelElement>
Enclosing class:
ModelElement

@Environment(CLIENT)
static class ModelElement.Deserializer
extends Object
implements JsonDeserializer<ModelElement>
Mappings:
Namespace Name
official bgh$a
intermediary net/minecraft/class_1056$class_1057
named net/minecraft/client/render/model/json/ModelElement$Deserializer
  • Constructor Details

    • Deserializer

      Deserializer()
  • Method Details

    • deserialize

      public ModelElement deserialize​(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ModelElement>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lbgh;
      intermediary method_3627 Lnet/minecraft/class_1056$class_1057;method_3627(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_1056;
      named deserialize Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelElement;
    • deserializeRotation

      private ModelRotation deserializeRotation​(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh$a;a(Lcom/google/gson/JsonObject;)Lbgj;
      intermediary method_3628 Lnet/minecraft/class_1056$class_1057;method_3628(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1060;
      named deserializeRotation Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/json/ModelRotation;
    • deserializeRotationAngle

      private float deserializeRotationAngle​(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgh$a;b(Lcom/google/gson/JsonObject;)F
      intermediary method_3632 Lnet/minecraft/class_1056$class_1057;method_3632(Lcom/google/gson/JsonObject;)F
      named deserializeRotationAngle Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserializeRotationAngle(Lcom/google/gson/JsonObject;)F
    • deserializeAxis

      private Direction.Axis deserializeAxis​(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official c Lbgh$a;c(Lcom/google/gson/JsonObject;)Lcq$a;
      intermediary method_3633 Lnet/minecraft/class_1056$class_1057;method_3633(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1383$class_1384;
      named deserializeAxis Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserializeAxis(Lcom/google/gson/JsonObject;)Lnet/minecraft/util/math/Direction$Axis;
    • deserializeFacesValidating

      private Map<Direction,​ModelElementFace> deserializeFacesValidating​(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      intermediary method_3626 Lnet/minecraft/class_1056$class_1057;method_3626(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      named deserializeFacesValidating Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserializeFacesValidating(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
    • deserializeFaces

      private Map<Direction,​ModelElementFace> deserializeFaces​(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgh$a;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      intermediary method_3631 Lnet/minecraft/class_1056$class_1057;method_3631(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
      named deserializeFaces Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;deserializeFaces(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map;
    • getDirection

      private Direction getDirection​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh$a;a(Ljava/lang/String;)Lcq;
      intermediary method_3630 Lnet/minecraft/class_1056$class_1057;method_3630(Ljava/lang/String;)Lnet/minecraft/class_1383;
      named getDirection Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;getDirection(Ljava/lang/String;)Lnet/minecraft/util/math/Direction;
    • method_3634

      private org.lwjgl.util.vector.Vector3f method_3634​(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official d Lbgh$a;d(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
      intermediary method_3634 Lnet/minecraft/class_1056$class_1057;method_3634(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
      named method_3634 Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;method_3634(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
    • method_3635

      private org.lwjgl.util.vector.Vector3f method_3635​(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official e Lbgh$a;e(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
      intermediary method_3635 Lnet/minecraft/class_1056$class_1057;method_3635(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
      named method_3635 Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;method_3635(Lcom/google/gson/JsonObject;)Lorg/lwjgl/util/vector/Vector3f;
    • method_3629

      private org.lwjgl.util.vector.Vector3f method_3629​(JsonObject jsonObject, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh$a;a(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lorg/lwjgl/util/vector/Vector3f;
      intermediary method_3629 Lnet/minecraft/class_1056$class_1057;method_3629(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lorg/lwjgl/util/vector/Vector3f;
      named method_3629 Lnet/minecraft/client/render/model/json/ModelElement$Deserializer;method_3629(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lorg/lwjgl/util/vector/Vector3f;