Added basic battery and fixed issues with Lithium Battery

This commit is contained in:
gigabit101 2016-02-20 03:35:20 +00:00
parent 047625389d
commit f947ef37a4
9 changed files with 123 additions and 5 deletions

View file

@ -14,7 +14,7 @@ import techreborn.blocks.storage.BlockAesu;
import techreborn.blocks.storage.BlockIDSU;
import techreborn.blocks.storage.BlockLesu;
import techreborn.blocks.storage.BlockLesuStorage;
import techreborn.blocks.teir1.BlockCompresser;
import techreborn.blocks.teir1.BlockCompressor;
import techreborn.blocks.teir1.BlockElectricFurnace;
import techreborn.blocks.teir1.BlockExtractor;
import techreborn.blocks.teir1.BlockGrinder;
@ -270,7 +270,7 @@ public class ModBlocks {
GameRegistry.registerBlock(Extractor, "techreborn.extractor");
GameRegistry.registerTileEntity(TileExtractor.class, "TileExtractorTR");
Compressor = new BlockCompresser(Material.iron);
Compressor = new BlockCompressor(Material.iron);
GameRegistry.registerBlock(Compressor, "techreborn.compressor");
GameRegistry.registerTileEntity(TileCompressor.class, "TileCompressorTR");

View file

@ -71,6 +71,7 @@ public class ModItems {
public static Item bucketSodiumpersulfate;
public static Item bucketTritium;
public static Item bucketWolframium;
public static Item reBattery;
public static Item upgrades;
@ -121,6 +122,8 @@ public class ModItems {
GameRegistry.registerItem(manuel, "techmanuel");
uuMatter = new ItemUUmatter();
GameRegistry.registerItem(uuMatter, "uumatter");
reBattery = PoweredItem.createItem(ItemReBattery.class);
GameRegistry.registerItem(reBattery, "rebattery");
// upgrades = new ItemUpgrade();
// GameRegistry.registerItem(upgrades, "upgrades");

View file

@ -40,6 +40,7 @@ public class RecipeCompact implements IRecipeCompact {
recipes.put("rubberWood", new ItemStack(ModBlocks.rubberLog));
recipes.put("resin", ItemParts.getPartByName("rubberSap"));
recipes.put("carbonPlate", ItemPlates.getPlateByName("carbon"));
recipes.put("reBattery", new ItemStack(ModItems.reBattery));
}
@Override