Superconductor update, adds cables, and new upgrades.
This commit is contained in:
parent
0ca18ade97
commit
1d78c60e51
21 changed files with 197 additions and 12 deletions
|
@ -38,6 +38,7 @@ import reborncore.common.util.StringUtils;
|
|||
import techreborn.Core;
|
||||
import techreborn.blocks.BlockStorage;
|
||||
import techreborn.blocks.BlockStorage2;
|
||||
import techreborn.blocks.cable.EnumCableType;
|
||||
import techreborn.compat.CompatManager;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.init.IC2Duplicates;
|
||||
|
@ -191,6 +192,13 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
|
||||
}
|
||||
|
||||
registerShaped(EnumCableType.SUPERCONDUCTOR.getStack(), "MFM", "SSS", "MFM", 'M', getMaterial("advanced_machine", Type.MACHINE_FRAME), 'S', "craftingSuperconductor", 'F', getMaterial("energy_flow_circuit", 1, Type.PART));
|
||||
registerShaped(EnumCableType.SUPERCONDUCTOR.getStack(8), "MFM", "SSS", "MFM", 'M', getMaterial("advanced_machine", Type.MACHINE_FRAME), 'S', getMaterial("enhanced_super_conductor", Type.PART), 'F', getMaterial("energy_flow_circuit", 1, Type.PART));
|
||||
|
||||
registerShaped(ItemUpgrades.getUpgradeByName("superconductor"), "SOS", "CMC", "SOS", 'C', EnumCableType.SUPERCONDUCTOR.getStack(), 'M', getMaterial("highly_advanced_machine", Type.MACHINE_FRAME) , 'O', getMaterial("data_orb", Type.PART), 'S', getMaterial("enhanced_super_conductor", Type.PART));
|
||||
|
||||
|
||||
|
||||
if (!CompatManager.isQuantumStorageLoaded) {
|
||||
registerShaped(getStack(ModBlocks.QUANTUM_CHEST), "DCD", "ATA", "DQD", 'D', getMaterial("dataOrb", Type.PART), 'C', getMaterial("computerMonitor", Type.PART), 'A', "machineBlockElite", 'Q', getStack(ModBlocks.DIGITAL_CHEST), 'T', getStack(IC2Duplicates.COMPRESSOR));
|
||||
registerShaped(getStack(ModBlocks.QUANTUM_TANK), "EPE", "PCP", "EPE", 'P', "platePlatinum", 'E', "circuitAdvanced", 'C', getStack(ModBlocks.QUANTUM_CHEST));
|
||||
|
|
|
@ -24,11 +24,18 @@
|
|||
|
||||
package techreborn.init.recipes;
|
||||
|
||||
import net.minecraft.enchantment.Enchantment;
|
||||
import net.minecraft.enchantment.EnchantmentData;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemEnchantedBook;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import techreborn.api.reactor.FusionReactorRecipe;
|
||||
import techreborn.api.reactor.FusionReactorRecipeHelper;
|
||||
import techreborn.blocks.BlockOre;
|
||||
import techreborn.items.ItemCells;
|
||||
import techreborn.items.ingredients.ItemDusts;
|
||||
import techreborn.items.ingredients.ItemParts;
|
||||
|
||||
/**
|
||||
* @author drcrazy
|
||||
|
@ -48,5 +55,12 @@ public class FusionReactorRecipes extends RecipeMethods {
|
|||
FusionReactorRecipeHelper.registerRecipe(
|
||||
new FusionReactorRecipe(ItemCells.getCellByName("wolframium"), ItemCells.getCellByName("lithium"),
|
||||
BlockOre.getOreByName("iridium"), 90000000, -2048, 1024));
|
||||
|
||||
ItemStack book = new ItemStack(Items.ENCHANTED_BOOK);
|
||||
ItemEnchantedBook.addEnchantment(book, new EnchantmentData(Enchantment.REGISTRY.getObject(new ResourceLocation("efficiency")), 5));
|
||||
|
||||
FusionReactorRecipeHelper.registerRecipe(
|
||||
new FusionReactorRecipe(ItemParts.getPartByName("super_conductor", 4), book,
|
||||
ItemParts.getPartByName("enhanced_super_conductor", 4), 100000000, -8192, 2048, 50));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue