public IIcon getIconFromSideAfterCheck(TileEntity tile, int meta, int side) {
return icons[((TileRPlacer) tile).orientation == side ? 1 : 0];
}
@Override
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLivingBase par5EntityLivingBase, ItemStack par6ItemStack) {
TileEntity tile = par1World.getTileEntity(par2, par3, par4);
((TileRPlacer) tile).orientation = BlockPistonBase.determineOrientation(par1World, par2, par3, par4, par5EntityLivingBase);
par1World.markBlockForUpdate(par2, par3, par4);
}