What was forgotten in dc7ddfe
What was forgotten in
dc7ddfe107
.
Closes #24.
This commit is contained in:
parent
dc7ddfe107
commit
d68a7d316c
|
@ -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 ) );
|
||||
|
|
|
@ -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() )
|
||||
{
|
||||
|
|
|
@ -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 ) ) );
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue