Package net.minecraftforge.client.model
Class ModelLoaderRegistry.ExpandedBlockModelDeserializer
java.lang.Object
net.minecraft.client.renderer.block.model.BlockModel.Deserializer
net.minecraftforge.client.model.ModelLoaderRegistry.ExpandedBlockModelDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockModel>
- Enclosing class:
- ModelLoaderRegistry
public static class ModelLoaderRegistry.ExpandedBlockModelDeserializer
extends BlockModel.Deserializer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement element, Type targetType, com.google.gson.JsonDeserializationContext deserializationContext)
Methods inherited from class net.minecraft.client.renderer.block.model.BlockModel.Deserializer
getAmbientOcclusion, getElements, getOverrides
-
Field Details
-
INSTANCE
public static final com.google.gson.Gson INSTANCE
-
-
Constructor Details
-
ExpandedBlockModelDeserializer
public ExpandedBlockModelDeserializer()
-
-
Method Details
-
deserialize
public BlockModel deserialize(com.google.gson.JsonElement element, Type targetType, com.google.gson.JsonDeserializationContext deserializationContext) throws com.google.gson.JsonParseException- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<BlockModel>
- Overrides:
deserialize
in classBlockModel.Deserializer
- Throws:
com.google.gson.JsonParseException
-