Package | Description |
---|---|
net.minecraft.client.renderer.block.model | |
net.minecraftforge.client.model |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,ModelBlockDefinition> |
ModelBakery.blockDefinitions |
private java.util.Map<ModelBlockDefinition,java.util.Collection<ModelResourceLocation>> |
ModelBakery.multipartVariantMap |
Modifier and Type | Method and Description |
---|---|
ModelBlockDefinition |
ModelBlockDefinition.Deserializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
protected ModelBlockDefinition |
ModelBakery.getModelBlockDefinition(ResourceLocation location) |
private ModelBlockDefinition |
ModelBakery.loadModelBlockDefinition(ResourceLocation location,
IResource resource) |
private ModelBlockDefinition |
ModelBakery.loadMultipartMBD(ResourceLocation location,
ResourceLocation fileIn) |
static ModelBlockDefinition |
ModelBlockDefinition.parseFromReader(java.io.Reader reader)
Deprecated.
|
static ModelBlockDefinition |
ModelBlockDefinition.parseFromReader(java.io.Reader reader,
ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
protected void |
ModelBakery.registerMultipartVariant(ModelBlockDefinition definition,
java.util.Collection<ModelResourceLocation> locations) |
protected void |
ModelBakery.registerVariant(ModelBlockDefinition blockstateDefinition,
ModelResourceLocation location) |
Constructor and Description |
---|
ModelBlockDefinition(java.util.List<ModelBlockDefinition> p_i46222_1_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModelResourceLocation,ModelBlockDefinition> |
ModelLoader.multipartDefinitions |
private java.util.Map<ModelBlockDefinition,IModel> |
ModelLoader.multipartModels |
Modifier and Type | Method and Description |
---|---|
protected ModelBlockDefinition |
ModelLoader.getModelBlockDefinition(ResourceLocation location) |
static ModelBlockDefinition |
BlockStateLoader.load(java.io.Reader reader,
ResourceLocation location,
com.google.gson.Gson vanillaGSON)
Loads a BlockStates json file.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModelLoader.registerMultipartVariant(ModelBlockDefinition definition,
java.util.Collection<ModelResourceLocation> locations) |
protected void |
ModelLoader.registerVariant(ModelBlockDefinition definition,
ModelResourceLocation location) |