Moved power system to RC and spawn trees in groups

This commit is contained in:
modmuss50 2016-02-20 16:59:31 +00:00
parent 891d2cce32
commit 71c2bfee7f
115 changed files with 296 additions and 1630 deletions

View file

@ -6,6 +6,7 @@ import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
import reborncore.common.tile.TileMachineBase;
import techreborn.Core;
import techreborn.blocks.*;
import techreborn.blocks.generator.*;

View file

@ -7,6 +7,7 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fluids.FluidContainerRegistry;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import reborncore.common.blocks.BlockMachineBase;
import reborncore.common.util.BucketHandler;
import techreborn.Core;
import techreborn.events.OreUnifier;
@ -14,7 +15,7 @@ import techreborn.items.*;
import techreborn.items.armor.ItemLapotronPack;
import techreborn.items.armor.ItemLithiumBatpack;
import techreborn.items.tools.*;
import techreborn.powerSystem.PoweredItem;
import reborncore.common.powerSystem.PoweredItem;
public class ModItems {
@ -279,6 +280,9 @@ public class ModItems {
Core.logHelper.info("TechReborns Items Loaded");
registerOreDict();
BlockMachineBase.advancedMachineStack = new ItemStack(Item.getItemFromBlock(ModBlocks.MachineCasing), 1, 2);
BlockMachineBase.machineStack = new ItemStack(Item.getItemFromBlock(ModBlocks.MachineCasing), 1, 0);
}
public static void registerOreDict() {