Package net.minecraftforge.client.model
Class ModelLoaderRegistry.ExpandedBlockModelDeserializer
- java.lang.Object
-
- net.minecraft.client.renderer.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
Fields Modifier and Type Field Description static com.google.gson.Gson
INSTANCE
-
Constructor Summary
Constructors Constructor Description ExpandedBlockModelDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockModel
deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type targetType, com.google.gson.JsonDeserializationContext deserializationContext)
-
Methods inherited from class net.minecraft.client.renderer.model.BlockModel.Deserializer
getAmbientOcclusion, getElements, getOverrides
-
-
-
-
Method Detail
-
deserialize
public BlockModel deserialize(com.google.gson.JsonElement element, java.lang.reflect.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
-
-