Add Sky stone, Block, Brick, Small Brick, and Sky Stone Block Chest.

Add All Sky Stone Crafting Recipes.
This commit is contained in:
AlgorithmX2
2014-02-28 21:45:30 -06:00
parent 768470512b
commit 27b30588a6
14 changed files with 199 additions and 74 deletions
+17 -5
View File
@@ -57,6 +57,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
private Class<? extends TileEntity> tileEntityType = null;
protected boolean isOpaque = true;
protected boolean isFullSize = true;
protected boolean hasSubtypes = false;
@SideOnly(Side.CLIENT)
public IIcon renderIcon;
@@ -155,7 +156,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
@Override
public IIcon getIcon(IBlockAccess w, int x, int y, int z, int s)
{
return getIcon( mapRotation( w, x, y, z, s ), 0 );
return getIcon( mapRotation( w, x, y, z, s ), w.getBlockMetadata( x, y, z ) );
}
protected void setTileEntiy(Class<? extends TileEntity> c)
@@ -235,6 +236,12 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
return tileEntityType;
}
@SideOnly(Side.CLIENT)
public void setRenderStateByMeta(int itemDamage)
{
}
@SideOnly(Side.CLIENT)
public BlockRenderInfo getRendererInstance()
{
@@ -680,10 +687,10 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
return true;
}
public String getUnlocalizedName(ItemStack is)
{
return getUnlocalizedName();
}
public String getUnlocalizedName(ItemStack is)
{
return getUnlocalizedName();
}
public void addInformation(ItemStack is, EntityPlayer player, List<?> lines, boolean advancedItemTooltips)
{
@@ -701,4 +708,9 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
// override!
}
public boolean hasSubtypes()
{
return hasSubtypes;
}
}