Class BlockModelDefinition.Deserializer
- java.lang.Object
-
- net.minecraft.client.renderer.model.BlockModelDefinition.Deserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockModelDefinition>
- Enclosing class:
- BlockModelDefinition
public static class BlockModelDefinition.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<BlockModelDefinition>
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockModelDefinition
deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
protected Multipart
getMultiPart(com.google.gson.JsonDeserializationContext p_187998_1_, com.google.gson.JsonObject p_187998_2_)
protected java.util.Map<java.lang.String,VariantList>
getVariants(com.google.gson.JsonDeserializationContext p_187999_1_, com.google.gson.JsonObject p_187999_2_)
-
-
-
Method Detail
-
deserialize
public BlockModelDefinition deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<BlockModelDefinition>
- Throws:
com.google.gson.JsonParseException
-
getVariants
protected java.util.Map<java.lang.String,VariantList> getVariants(com.google.gson.JsonDeserializationContext p_187999_1_, com.google.gson.JsonObject p_187999_2_)
-
getMultiPart
@Nullable protected Multipart getMultiPart(com.google.gson.JsonDeserializationContext p_187998_1_, com.google.gson.JsonObject p_187998_2_)
-
-