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:
@@ -420,7 +420,8 @@ public final class ApiBlocks implements IBlocks
|
||||
@SideOnly( Side.CLIENT )
|
||||
public void customize( IBlockRendering rendering, IItemRendering itemRendering )
|
||||
{
|
||||
itemRendering.model( new ModelResourceLocation( new ResourceLocation( AppEng.MOD_ID, registryName ), "facing=east,half=bottom,shape=straight" ) );
|
||||
ModelResourceLocation model = new ModelResourceLocation( new ResourceLocation( AppEng.MOD_ID, registryName ), "facing=east,half=bottom,shape=straight" );
|
||||
itemRendering.model( model );
|
||||
}
|
||||
} )
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user