Class BlockModelDefinition.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.BlockModelDefinition.Deserializer
- All Implemented Interfaces:
JsonDeserializer<BlockModelDefinition>
- Enclosing class:
BlockModelDefinition
public static class BlockModelDefinition.Deserializer
extends Object
implements JsonDeserializer<BlockModelDefinition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement json, Type type, JsonDeserializationContext context) protected MultiPartgetMultiPart(JsonDeserializationContext context, JsonObject json) protected Map<String, MultiVariant> getVariants(JsonDeserializationContext context, JsonObject json)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockModelDefinition deserialize(JsonElement json, Type type, JsonDeserializationContext context) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<BlockModelDefinition>- Throws:
JsonParseException
-
getVariants
-
getMultiPart
-