Initial work on standalone cables.

This commit is contained in:
modmuss50 2017-05-19 13:12:02 +01:00
parent 50d1db2695
commit d474870977
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
7 changed files with 518 additions and 0 deletions

View file

@ -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");