Class JsonUnbakedModel.Deserializer

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

@Environment(CLIENT) public static class JsonUnbakedModel.Deserializer extends Object implements JsonDeserializer<JsonUnbakedModel>
Mappings:
Namespace Name
official fkw$a
intermediary net/minecraft/class_793$class_795
named net/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public JsonUnbakedModel deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<JsonUnbakedModel>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lfkw$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfkw;
      intermediary method_3451 Lnet/minecraft/class_793$class_795;method_3451(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_793;
      named deserialize Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
    • overridesFromJson

      protected List<ModelOverride> overridesFromJson(JsonDeserializationContext context, JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official a Lfkw$a;a(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
      intermediary method_3452 Lnet/minecraft/class_793$class_795;method_3452(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
      named overridesFromJson Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;overridesFromJson(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
    • texturesFromJson

      private Map<String,com.mojang.datafixers.util.Either<SpriteIdentifier,String>> texturesFromJson(JsonObject object)
      Mappings:
      Namespace Name Mixin selector
      official b Lfkw$a;b(Lcom/google/gson/JsonObject;)Ljava/util/Map;
      intermediary method_3448 Lnet/minecraft/class_793$class_795;method_3448(Lcom/google/gson/JsonObject;)Ljava/util/Map;
      named texturesFromJson Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;texturesFromJson(Lcom/google/gson/JsonObject;)Ljava/util/Map;
    • resolveReference

      private static com.mojang.datafixers.util.Either<SpriteIdentifier,String> resolveReference(Identifier id, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lfkw$a;a(Lacq;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
      intermediary method_24079 Lnet/minecraft/class_793$class_795;method_24079(Lnet/minecraft/class_2960;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
      named resolveReference Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;resolveReference(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either;
    • parentFromJson

      private String parentFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official c Lfkw$a;c(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      intermediary method_3450 Lnet/minecraft/class_793$class_795;method_3450(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      named parentFromJson Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;parentFromJson(Lcom/google/gson/JsonObject;)Ljava/lang/String;
    • ambientOcclusionFromJson

      @Nullable protected @Nullable Boolean ambientOcclusionFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lfkw$a;a(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
      intermediary method_3453 Lnet/minecraft/class_793$class_795;method_3453(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
      named ambientOcclusionFromJson Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;ambientOcclusionFromJson(Lcom/google/gson/JsonObject;)Ljava/lang/Boolean;
    • elementsFromJson

      protected List<ModelElement> elementsFromJson(JsonDeserializationContext context, JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Lfkw$a;b(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
      intermediary method_3449 Lnet/minecraft/class_793$class_795;method_3449(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;
      named elementsFromJson Lnet/minecraft/client/render/model/json/JsonUnbakedModel$Deserializer;elementsFromJson(Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List;