Added skystone, skystone block, skystone brick, skystone small brick, certus quartz, certus quartz pillar, chiseled certus quartz and fluix stars
To integrate these into the current system, some changes to the background had to be done, especially to the feature handler. It now uses an interface to work against which you can implement to get your own feature handler instead modifying the base one and add several special cases code
This commit is contained in:
@@ -18,21 +18,17 @@
|
||||
|
||||
package appeng.block;
|
||||
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
|
||||
public class AEDecorativeBlock extends AEBaseBlock
|
||||
{
|
||||
|
||||
protected AEDecorativeBlock(Class<?> c, Material mat) {
|
||||
super( c, mat );
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(IBlockAccess w, int x, int y, int z, int s)
|
||||
public AEDecorativeBlock( Class<? extends AEBaseBlock> c, Material mat )
|
||||
{
|
||||
return super.unmappedGetIcon( w, x, y, z, s );
|
||||
super( c, mat );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -41,4 +37,9 @@ public class AEDecorativeBlock extends AEBaseBlock
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon( IBlockAccess w, int x, int y, int z, int s )
|
||||
{
|
||||
return super.unmappedGetIcon( w, x, y, z, s );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user