Little clean up
This commit is contained in:
parent
5511a65507
commit
c6405da0dd
5 changed files with 8 additions and 21 deletions
|
@ -27,7 +27,7 @@ public class BlockQuantumChest extends BlockMachineBase {
|
||||||
public BlockQuantumChest()
|
public BlockQuantumChest()
|
||||||
{
|
{
|
||||||
super(Material.rock);
|
super(Material.rock);
|
||||||
setHardness(2f);
|
setBlockName("techreborn.quantumChest");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class BlockQuantumTank extends BlockMachineBase {
|
||||||
public BlockQuantumTank()
|
public BlockQuantumTank()
|
||||||
{
|
{
|
||||||
super(Material.rock);
|
super(Material.rock);
|
||||||
setHardness(2f);
|
setBlockName("techreborn.quantumTank");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class BlockThermalGenerator extends BlockMachineBase {
|
||||||
public BlockThermalGenerator()
|
public BlockThermalGenerator()
|
||||||
{
|
{
|
||||||
super(Material.rock);
|
super(Material.rock);
|
||||||
setHardness(2f);
|
setBlockName("techreborn.thermalGenerator");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class BlockCentrifuge extends BlockMachineBase {
|
||||||
public BlockCentrifuge()
|
public BlockCentrifuge()
|
||||||
{
|
{
|
||||||
super(Material.rock);
|
super(Material.rock);
|
||||||
setHardness(2F);
|
setBlockName("techreborn.centrifuge");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -116,32 +116,19 @@ public class ModBlocks {
|
||||||
|
|
||||||
public static void init()
|
public static void init()
|
||||||
{
|
{
|
||||||
thermalGenerator = new BlockThermalGenerator()
|
thermalGenerator = new BlockThermalGenerator();
|
||||||
.setBlockName("techreborn.thermalGenerator")
|
|
||||||
.setBlockTextureName("techreborn:ThermalGenerator_other")
|
|
||||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
|
||||||
GameRegistry.registerBlock(thermalGenerator, "techreborn.thermalGenerator");
|
GameRegistry.registerBlock(thermalGenerator, "techreborn.thermalGenerator");
|
||||||
GameRegistry.registerTileEntity(TileThermalGenerator.class, "TileThermalGenerator");
|
GameRegistry.registerTileEntity(TileThermalGenerator.class, "TileThermalGenerator");
|
||||||
|
|
||||||
quantumTank = new BlockQuantumTank()
|
quantumTank = new BlockQuantumTank();
|
||||||
.setBlockName("techreborn.quantumTank")
|
|
||||||
.setBlockTextureName("techreborn:quantumTank")
|
|
||||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
|
||||||
GameRegistry.registerBlock(quantumTank, ItemBlockQuantumTank.class, "techreborn.quantumTank");
|
GameRegistry.registerBlock(quantumTank, ItemBlockQuantumTank.class, "techreborn.quantumTank");
|
||||||
GameRegistry.registerTileEntity(TileQuantumTank.class, "TileQuantumTank");
|
GameRegistry.registerTileEntity(TileQuantumTank.class, "TileQuantumTank");
|
||||||
|
|
||||||
quantumChest = new BlockQuantumChest()
|
quantumChest = new BlockQuantumChest();
|
||||||
.setBlockName("techreborn.quantumChest")
|
|
||||||
.setBlockTextureName("techreborn:quantumChest")
|
|
||||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
|
||||||
GameRegistry.registerBlock(quantumChest, ItemBlockQuantumChest.class, "techreborn.quantumChest");
|
GameRegistry.registerBlock(quantumChest, ItemBlockQuantumChest.class, "techreborn.quantumChest");
|
||||||
GameRegistry.registerTileEntity(TileQuantumChest.class, "TileQuantumChest");
|
GameRegistry.registerTileEntity(TileQuantumChest.class, "TileQuantumChest");
|
||||||
|
|
||||||
centrifuge = new BlockCentrifuge()
|
centrifuge = new BlockCentrifuge();
|
||||||
.setBlockName("techreborn.centrifuge")
|
|
||||||
.setBlockTextureName("techreborn:centrifuge")
|
|
||||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
|
||||||
|
|
||||||
GameRegistry.registerBlock(centrifuge, "techreborn.centrifuge");
|
GameRegistry.registerBlock(centrifuge, "techreborn.centrifuge");
|
||||||
GameRegistry.registerTileEntity(TileCentrifuge.class, "TileCentrifuge");
|
GameRegistry.registerTileEntity(TileCentrifuge.class, "TileCentrifuge");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue