Added a creative panel, it provides infinite power and has no recipe.

(cherry picked from commit 456ee3c)
This commit is contained in:
modmuss50 2017-03-14 19:40:33 +00:00
parent 8132620dcf
commit 92acc51aaf
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
7 changed files with 211 additions and 0 deletions

View file

@ -107,6 +107,7 @@ public class ModBlocks {
public static Block EXTRACTOR;
public static Block ELECTRIC_FURNACE;
public static Block SOLAR_PANEL;
public static Block CREATIVE_PANEL;
public static Block WATER_MILL;
public static Block WIND_MILL;
public static Block RECYCLER;
@ -373,6 +374,11 @@ public class ModBlocks {
GameRegistry.registerTileEntity(TileSolarPanel.class, "TileSolarPanel");
Core.proxy.registerCustomBlockStateLocation(SOLAR_PANEL, "machines/generators/solar_panel");
CREATIVE_PANEL = new BlockCreativePanel();
registerBlock(CREATIVE_PANEL, "techreborn.creativepanel");
GameRegistry.registerTileEntity(TileCreativePanel.class, "TileCreativePanel");
Core.proxy.registerCustomBlockStateLocation(CREATIVE_PANEL, "machines/generators/creative_panel");
WATER_MILL = new BlockWaterMill();
registerBlock(WATER_MILL, "techreborn.watermill");
GameRegistry.registerTileEntity(TileWaterMill.class, "TileWaterMill");