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()
|
||||
{
|
||||
super(Material.rock);
|
||||
setHardness(2f);
|
||||
setBlockName("techreborn.quantumChest");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -23,7 +23,7 @@ public class BlockQuantumTank extends BlockMachineBase {
|
|||
public BlockQuantumTank()
|
||||
{
|
||||
super(Material.rock);
|
||||
setHardness(2f);
|
||||
setBlockName("techreborn.quantumTank");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -37,7 +37,7 @@ public class BlockThermalGenerator extends BlockMachineBase {
|
|||
public BlockThermalGenerator()
|
||||
{
|
||||
super(Material.rock);
|
||||
setHardness(2f);
|
||||
setBlockName("techreborn.thermalGenerator");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -32,7 +32,7 @@ public class BlockCentrifuge extends BlockMachineBase {
|
|||
public BlockCentrifuge()
|
||||
{
|
||||
super(Material.rock);
|
||||
setHardness(2F);
|
||||
setBlockName("techreborn.centrifuge");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -116,32 +116,19 @@ public class ModBlocks {
|
|||
|
||||
public static void init()
|
||||
{
|
||||
thermalGenerator = new BlockThermalGenerator()
|
||||
.setBlockName("techreborn.thermalGenerator")
|
||||
.setBlockTextureName("techreborn:ThermalGenerator_other")
|
||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
||||
thermalGenerator = new BlockThermalGenerator();
|
||||
GameRegistry.registerBlock(thermalGenerator, "techreborn.thermalGenerator");
|
||||
GameRegistry.registerTileEntity(TileThermalGenerator.class, "TileThermalGenerator");
|
||||
|
||||
quantumTank = new BlockQuantumTank()
|
||||
.setBlockName("techreborn.quantumTank")
|
||||
.setBlockTextureName("techreborn:quantumTank")
|
||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
||||
quantumTank = new BlockQuantumTank();
|
||||
GameRegistry.registerBlock(quantumTank, ItemBlockQuantumTank.class, "techreborn.quantumTank");
|
||||
GameRegistry.registerTileEntity(TileQuantumTank.class, "TileQuantumTank");
|
||||
|
||||
quantumChest = new BlockQuantumChest()
|
||||
.setBlockName("techreborn.quantumChest")
|
||||
.setBlockTextureName("techreborn:quantumChest")
|
||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
||||
quantumChest = new BlockQuantumChest();
|
||||
GameRegistry.registerBlock(quantumChest, ItemBlockQuantumChest.class, "techreborn.quantumChest");
|
||||
GameRegistry.registerTileEntity(TileQuantumChest.class, "TileQuantumChest");
|
||||
|
||||
centrifuge = new BlockCentrifuge()
|
||||
.setBlockName("techreborn.centrifuge")
|
||||
.setBlockTextureName("techreborn:centrifuge")
|
||||
.setCreativeTab(TechRebornCreativeTab.instance);
|
||||
|
||||
centrifuge = new BlockCentrifuge();
|
||||
GameRegistry.registerBlock(centrifuge, "techreborn.centrifuge");
|
||||
GameRegistry.registerTileEntity(TileCentrifuge.class, "TileCentrifuge");
|
||||
|
||||
|
|
Loading…
Reference in a new issue