2015-06-07 21:55:23 +02:00
|
|
|
package techreborn.blocks;
|
|
|
|
|
2015-07-02 20:51:24 +02:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
2015-06-07 21:55:23 +02:00
|
|
|
import net.minecraft.block.material.Material;
|
|
|
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
|
|
|
import net.minecraft.util.IIcon;
|
2015-09-05 10:17:58 +02:00
|
|
|
import net.minecraft.world.IBlockAccess;
|
|
|
|
import net.minecraft.world.World;
|
2015-06-07 21:55:23 +02:00
|
|
|
|
|
|
|
public class BlockComputerCube extends BlockMachineBase {
|
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
|
|
|
|
public BlockComputerCube(Material material) {
|
|
|
|
super(material);
|
|
|
|
setBlockName("techreborn.computercube");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
|
|
public void registerBlockIcons(IIconRegister icon) {
|
|
|
|
this.blockIcon = icon.registerIcon("techreborn:machine/computer_cube");
|
|
|
|
}
|
|
|
|
|
2015-09-05 10:17:58 +02:00
|
|
|
@Override
|
2015-09-05 12:44:41 +02:00
|
|
|
@SideOnly(Side.CLIENT)
|
2015-09-05 10:17:58 +02:00
|
|
|
public IIcon getIcon(IBlockAccess blockAccess, int x, int y, int z, int side) {
|
2015-09-19 10:23:39 +02:00
|
|
|
return this.blockIcon;
|
2015-08-09 12:05:32 +02:00
|
|
|
}
|
2015-06-07 21:55:23 +02:00
|
|
|
|
|
|
|
}
|