Fixes vibrant quartz glass using the wrong model.
Fixes matrix frame not having a model (the block is transparent though). Don't register an item model for the invalid part anymore. Make variant registration for items more explicit. This fixes #5
This commit is contained in:
@@ -29,7 +29,8 @@ public class SkyChestRenderingCustomizer extends BlockRenderingCustomizer
|
||||
|
||||
// Register a custom non-tesr item model
|
||||
String modelName = getModelFromType();
|
||||
itemRendering.model( new ModelResourceLocation( "appliedenergistics2:" + modelName, "inventory" ) );
|
||||
ModelResourceLocation model = new ModelResourceLocation( "appliedenergistics2:" + modelName, "inventory" );
|
||||
itemRendering.model( model ).variants( model );
|
||||
}
|
||||
|
||||
private String getModelFromType()
|
||||
|
||||
Reference in New Issue
Block a user