What was forgotten in dc7ddfe
What was forgotten in https://github.com/AEModernMCPort/Applied-Energistics-2/commit/dc7ddfe107089420f3d608d87ff47ee822477989. Closes #24.
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user