Class BlockModel.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.BlockModel.Deserializer
- All Implemented Interfaces:
JsonDeserializer<BlockModel>
- Enclosing class:
BlockModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement json, Type type, JsonDeserializationContext context) protected Booleanprotected UnbakedGeometrygetElements(JsonDeserializationContext context, JsonObject json) private StringgetParentName(JsonObject json) private TextureSlots.DatagetTextureMap(JsonObject json)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockModel deserialize(JsonElement json, Type type, JsonDeserializationContext context) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<BlockModel>- Throws:
JsonParseException
-
getTextureMap
-
getParentName
-
getAmbientOcclusion
-
getElements
@Nullable protected UnbakedGeometry getElements(JsonDeserializationContext context, JsonObject json)
-