Implement powered lighting.
This commit is contained in:
parent
db9da00fec
commit
642e6b0f2b
10 changed files with 407 additions and 1 deletions
|
@ -43,6 +43,7 @@ import techreborn.blocks.generator.*;
|
|||
import techreborn.blocks.generator.solarpanel.BlockSolarPanel;
|
||||
import techreborn.blocks.iron_machines.BlockIronAlloyFurnace;
|
||||
import techreborn.blocks.iron_machines.BlockIronFurnace;
|
||||
import techreborn.blocks.lighting.BlockLamp;
|
||||
import techreborn.blocks.machine.*;
|
||||
import techreborn.blocks.storage.*;
|
||||
import techreborn.blocks.tier1.*;
|
||||
|
@ -58,6 +59,7 @@ import techreborn.tiles.generator.*;
|
|||
import techreborn.tiles.idsu.TileInterdimensionalSU;
|
||||
import techreborn.tiles.lesu.TileLSUStorage;
|
||||
import techreborn.tiles.lesu.TileLapotronicSU;
|
||||
import techreborn.tiles.lighting.TileLamp;
|
||||
import techreborn.tiles.multiblock.*;
|
||||
import techreborn.tiles.storage.TileHighVoltageSU;
|
||||
import techreborn.tiles.storage.TileLowVoltageSU;
|
||||
|
@ -148,6 +150,10 @@ public class ModBlocks {
|
|||
public static Block COMPUTER_CUBE;
|
||||
public static Block PLASMA_GENERATOR;
|
||||
|
||||
public static Block LAMP_INCANDESCENT;
|
||||
public static Block LAMP_LED;
|
||||
public static Block LAMP_LED_LARGE;
|
||||
|
||||
/**
|
||||
* Register blocks
|
||||
*/
|
||||
|
@ -414,6 +420,14 @@ public class ModBlocks {
|
|||
registerBlock(PLASMA_GENERATOR, "plasma_generator");
|
||||
GameRegistry.registerTileEntity(TilePlasmaGenerator.class, "TilePlasmalGeneratorTR");
|
||||
|
||||
LAMP_INCANDESCENT = new BlockLamp( 14, 4, 0.625, 0.25);
|
||||
registerBlock(LAMP_INCANDESCENT, "lamp_incandescent");
|
||||
|
||||
LAMP_LED = new BlockLamp( 15, 1, 0.0625, 0.125);
|
||||
registerBlock(LAMP_LED, "lamp_led");
|
||||
|
||||
GameRegistry.registerTileEntity(TileLamp.class, "TileLampTR");
|
||||
|
||||
//TODO enable when done
|
||||
// flare = new BlockFlare();
|
||||
// registerBlock(flare, "flare");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue