Initial work on standalone cables.
This commit is contained in:
parent
50d1db2695
commit
d474870977
7 changed files with 518 additions and 0 deletions
|
@ -36,6 +36,7 @@ import reborncore.common.util.StringUtils;
|
|||
import techreborn.Core;
|
||||
import techreborn.blocks.*;
|
||||
import techreborn.blocks.advanced_machine.*;
|
||||
import techreborn.blocks.cable.BlockCable;
|
||||
import techreborn.blocks.generator.*;
|
||||
import techreborn.blocks.iron_machines.BlockAlloyFurnace;
|
||||
import techreborn.blocks.iron_machines.BlockIronFurnace;
|
||||
|
@ -47,6 +48,7 @@ import techreborn.blocks.transformers.BlockLVTransformer;
|
|||
import techreborn.blocks.transformers.BlockMVTransformer;
|
||||
import techreborn.itemblocks.*;
|
||||
import techreborn.tiles.*;
|
||||
import techreborn.tiles.cable.TileCable;
|
||||
import techreborn.tiles.fusionReactor.TileEntityFusionController;
|
||||
import techreborn.tiles.generator.*;
|
||||
import techreborn.tiles.idsu.TileIDSU;
|
||||
|
@ -135,6 +137,7 @@ public class ModBlocks {
|
|||
|
||||
public static Block REFINED_IRON_FENCE;
|
||||
public static Block FLARE;
|
||||
public static Block CABLE;
|
||||
|
||||
public static void init() {
|
||||
THERMAL_GENERATOR = new BlockThermalGenerator();
|
||||
|
@ -206,6 +209,11 @@ public class ModBlocks {
|
|||
registerBlock(PLAYER_DETECTOR, ItemBlockPlayerDetector.class, "playerDetector");
|
||||
GameRegistry.registerTileEntity(TilePlayerDectector.class, "TilePlayerDectectorTR");
|
||||
|
||||
CABLE = new BlockCable();
|
||||
registerBlock(CABLE,"cable");
|
||||
GameRegistry.registerTileEntity(TileCable.class, "TileCableTR");
|
||||
Core.proxy.registerCustomBlockStateLocation(CABLE, "cable");
|
||||
|
||||
MACHINE_CASINGS = new BlockMachineCasing(Material.ROCK);
|
||||
registerBlock(MACHINE_CASINGS, ItemBlockMachineCasing.class, "machinecasing");
|
||||
GameRegistry.registerTileEntity(TileMachineCasing.class, "TileMachineCasingTR");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue