What was forgotten in dc7ddfe

What was forgotten in
dc7ddfe107.
Closes #24.
This commit is contained in:
elix-x 2016-07-23 21:06:17 +02:00
parent dc7ddfe107
commit d68a7d316c
4 changed files with 1 additions and 5 deletions

View File

@ -81,7 +81,6 @@ public final class AEBlockFeatureHandler implements IFeatureHandler
final String name = this.extractor.get();
this.featured.setCreativeTab( CreativeTab.instance );
this.featured.setUnlocalizedName( "appliedenergistics2." + name );
this.featured.setBlockTextureName( name );
registryName = new ResourceLocation( AppEng.MOD_ID, name );
GameRegistry.register( this.featured.setRegistryName( registryName ) );

View File

@ -84,7 +84,6 @@ public final class AECableBusFeatureHandler implements IFeatureHandler
final String name = this.extractor.get();
this.featured.setCreativeTab( CreativeTab.instance );
this.featured.setUnlocalizedName( /* "tile." */"appliedenergistics2." + name );
this.featured.setBlockTextureName( name );
if( Platform.isClient() )
{

View File

@ -89,7 +89,6 @@ public final class AETileBlockFeatureHandler implements IFeatureHandler
final String name = this.extractor.get();
this.featured.setCreativeTab( CreativeTab.instance );
this.featured.setUnlocalizedName( /* "tile." */"appliedenergistics2." + name );
this.featured.setBlockTextureName( name );
if( Platform.isClient() )
{
@ -140,7 +139,7 @@ public final class AETileBlockFeatureHandler implements IFeatureHandler
Set<ModelResourceLocation> keys = Sets.newHashSet( modelRegistry.getKeys() );
for( ModelResourceLocation model : keys )
{
if( model.getResourcePath().equals( registryName.getResourcePath() ) )
if( model.getResourceDomain().equals( registryName.getResourceDomain() ) && model.getResourcePath().equals( registryName.getResourcePath() ) )
{
modelRegistry.putObject( model, new CachingRotatingBakedModel( modelRegistry.getObject( model ) ) );
}

View File

@ -39,7 +39,6 @@ public class QuartzLampBlock extends QuartzGlassBlock
public QuartzLampBlock()
{
this.setLightLevel( 1.0f );
this.setBlockTextureName( "BlockQuartzGlass" );
this.setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks, AEFeature.DecorativeLights ) );
}