Class MultipartUnbakedModel.Deserializer

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

@Environment(CLIENT) public static class MultipartUnbakedModel.Deserializer extends Object implements com.google.gson.JsonDeserializer<MultipartUnbakedModel>
Mappings:
Namespace Name
official fpt$a
intermediary net/minecraft/class_816$class_817
named net/minecraft/client/render/model/MultipartUnbakedModel$Deserializer
  • Field Details

    • context

      Mappings:
      Namespace Name Mixin selector
      official a Lfpt$a;a:Lfph$a;
      intermediary field_4331 Lnet/minecraft/class_816$class_817;field_4331:Lnet/minecraft/class_790$class_791;
      named context Lnet/minecraft/client/render/model/MultipartUnbakedModel$Deserializer;context:Lnet/minecraft/client/render/model/json/ModelVariantMap$DeserializationContext;
  • Constructor Details

    • Deserializer

      public Deserializer(ModelVariantMap.DeserializationContext context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfpt$a;<init>(Lfph$a;)V
      intermediary <init> Lnet/minecraft/class_816$class_817;<init>(Lnet/minecraft/class_790$class_791;)V
      named <init> Lnet/minecraft/client/render/model/MultipartUnbakedModel$Deserializer;<init>(Lnet/minecraft/client/render/model/json/ModelVariantMap$DeserializationContext;)V
  • Method Details

    • deserialize

      public MultipartUnbakedModel deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<MultipartUnbakedModel>
      Throws:
      com.google.gson.JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lfpt$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpt;
      intermediary method_3523 Lnet/minecraft/class_816$class_817;method_3523(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_816;
      named deserialize Lnet/minecraft/client/render/model/MultipartUnbakedModel$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/MultipartUnbakedModel;
    • deserializeComponents

      private List<MultipartModelComponent> deserializeComponents(com.google.gson.JsonDeserializationContext context, com.google.gson.JsonArray array)
      Mappings:
      Namespace Name Mixin selector
      official a Lfpt$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonArray;)Ljava/util/List;
      intermediary method_3522 Lnet/minecraft/class_816$class_817;method_3522(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonArray;)Ljava/util/List;
      named deserializeComponents Lnet/minecraft/client/render/model/MultipartUnbakedModel$Deserializer;deserializeComponents(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonArray;)Ljava/util/List;