Added wind and water mill

This commit is contained in:
modmuss50 2016-02-25 20:03:58 +00:00
parent efbf4c59bb
commit d0392dabb8
7 changed files with 179 additions and 0 deletions

View file

@ -80,6 +80,8 @@ public class ModBlocks {
public static Block Extractor;
public static Block ElectricFurnace;
public static Block solarPanel;
public static Block waterMill;
public static Block windMill;
public static BlockOre ore;
public static BlockOre2 ore2;
@ -289,6 +291,14 @@ public class ModBlocks {
GameRegistry.registerBlock(solarPanel, "techreborn.solarpanel");
GameRegistry.registerTileEntity(TileSolarPanel.class, "TileSolarPanel");
waterMill = new BlockWaterMill();
GameRegistry.registerBlock(waterMill, "techreborn.watermill");
GameRegistry.registerTileEntity(TileWaterMill.class, "TileWaterMill");
windMill = new BlockWindMill();
GameRegistry.registerBlock(windMill, "techreborn.windmill");
GameRegistry.registerTileEntity(TileWindMill.class, "TileWindMill");
GameRegistry.registerTileEntity(TileMachineBase.class, "TileMachineBaseTR");
rubberLog = new BlockRubberLog();

View file

@ -60,6 +60,7 @@ public class RecipeCompact implements IRecipeCompact {
recipes.put("lvTransformer", ItemParts.getPartByName("lvTransformer"));
recipes.put("mvTransformer", ItemParts.getPartByName("mvTransformer"));
recipes.put("hvTransformer", ItemParts.getPartByName("hvTransformer"));
recipes.put("windMill", new ItemStack(ModBlocks.windMill));
inited = false;
}