Started Recycler
This commit is contained in:
parent
e6c510bbea
commit
02ac62a180
13 changed files with 513 additions and 3 deletions
|
@ -46,6 +46,7 @@ import techreborn.blocks.teir1.BlockCompressor;
|
|||
import techreborn.blocks.teir1.BlockElectricFurnace;
|
||||
import techreborn.blocks.teir1.BlockExtractor;
|
||||
import techreborn.blocks.teir1.BlockGrinder;
|
||||
import techreborn.blocks.teir1.BlockRecycler;
|
||||
import techreborn.itemblocks.ItemBlockAesu;
|
||||
import techreborn.itemblocks.ItemBlockDigitalChest;
|
||||
import techreborn.itemblocks.ItemBlockMachineCasing;
|
||||
|
@ -76,6 +77,7 @@ import techreborn.tiles.teir1.TileCompressor;
|
|||
import techreborn.tiles.teir1.TileElectricFurnace;
|
||||
import techreborn.tiles.teir1.TileExtractor;
|
||||
import techreborn.tiles.teir1.TileGrinder;
|
||||
import techreborn.tiles.teir1.TileRecycler;
|
||||
|
||||
public class ModBlocks {
|
||||
|
||||
|
@ -128,6 +130,7 @@ public class ModBlocks {
|
|||
public static Block solarPanel;
|
||||
public static Block waterMill;
|
||||
public static Block windMill;
|
||||
public static Block recycler;
|
||||
|
||||
public static BlockOre ore;
|
||||
public static BlockOre2 ore2;
|
||||
|
@ -366,6 +369,10 @@ public class ModBlocks {
|
|||
reinforcedglass = new BlockReinforcedGlass(Material.glass);
|
||||
GameRegistry.registerBlock(reinforcedglass, "reinforcedglass");
|
||||
|
||||
recycler = new BlockRecycler(Material.iron);
|
||||
GameRegistry.registerBlock(recycler, "recycler");
|
||||
GameRegistry.registerTileEntity(TileRecycler.class, "TileRecyclerTR");
|
||||
|
||||
ironFurnace = new BlockIronFurnace();
|
||||
GameRegistry.registerBlock(ironFurnace, "ironfurnace");
|
||||
GameRegistry.registerTileEntity(TileIronFurnace.class, "TileIronFurnaceTR");
|
||||
|
|
|
@ -87,6 +87,7 @@ public class ModItems {
|
|||
public static Item wrench;
|
||||
public static Item lapatronCrystal;
|
||||
public static Item energyCrystal;
|
||||
public static Item scrapBox;
|
||||
|
||||
public static Item upgrades;
|
||||
|
||||
|
@ -172,6 +173,9 @@ public class ModItems {
|
|||
|
||||
wrench = new ItemWrench();
|
||||
GameRegistry.registerItem(wrench, "wrench");
|
||||
|
||||
scrapBox = new ItemScrapBox();
|
||||
GameRegistry.registerItem(scrapBox, "scrapbox");
|
||||
|
||||
// upgrades = new ItemUpgrade();
|
||||
// GameRegistry.registerItem(upgrades, "upgrades");
|
||||
|
|
|
@ -4,6 +4,7 @@ import java.security.InvalidParameterException;
|
|||
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -15,6 +16,7 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import reborncore.common.util.CraftingHelper;
|
||||
import reborncore.common.util.OreUtil;
|
||||
import techreborn.Core;
|
||||
import techreborn.api.ScrapboxList;
|
||||
import techreborn.api.TechRebornAPI;
|
||||
import techreborn.api.reactor.FusionReactorRecipe;
|
||||
import techreborn.api.reactor.FusionReactorRecipeHelper;
|
||||
|
@ -78,9 +80,49 @@ public class ModRecipes {
|
|||
addExtractorRecipes();
|
||||
addCompressorRecipes();
|
||||
addWireRecipes();
|
||||
addScrapBoxloot();
|
||||
}
|
||||
|
||||
static void addWireRecipes() {
|
||||
static void addScrapBoxloot() {
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.diamond));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.coal));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.apple));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.baked_potato));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.blaze_powder));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.carrot));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.boat));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.blaze_rod));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.compass));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.map));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.leather_leggings));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.bow));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.cooked_chicken));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.paper));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Items.book));
|
||||
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.acacia_door));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.bed));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.brick_block));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.cake));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.carpet));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.crafting_table));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.dirt));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.dark_oak_door));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.glass));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.glass_pane));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.glowstone));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.wooden_slab));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.skull));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.leaves));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.gravel));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.hardened_clay));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.cactus));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.cocoa));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.tallgrass));
|
||||
ScrapboxList.addItemStackToList(new ItemStack(Blocks.chest));
|
||||
}
|
||||
|
||||
static void addWireRecipes() {
|
||||
CraftingHelper.addShapedOreRecipe(ItemStandaloneCables.getCableByName("copper", 6),
|
||||
"XXX","CCC", "XXX",
|
||||
'C', "ingotCopper");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue