31 lines
No EOL
861 B
Java
31 lines
No EOL
861 B
Java
package techreborn.blocks;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.client.renderer.texture.IIconRegister;
|
|
import net.minecraft.util.IIcon;
|
|
import net.minecraft.world.IBlockAccess;
|
|
import net.minecraft.world.World;
|
|
|
|
public class BlockComputerCube extends BlockMachineBase {
|
|
|
|
|
|
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");
|
|
}
|
|
|
|
@Override
|
|
@SideOnly(Side.CLIENT)
|
|
public IIcon getIcon(IBlockAccess blockAccess, int x, int y, int z, int side) {
|
|
return this.blockIcon;
|
|
}
|
|
|
|
} |