use of gregtech.api.unification.stack.UnificationEntry in project GregTech by GregTechCE.
the class ProcessingStick method registerOre.
public void registerOre(UnificationEntry entry, String modName, SimpleItemStack simpleStack) {
ItemStack stack = simpleStack.asItemStack();
switch(entry.orePrefix) {
case stick:
if (!entry.material.hasFlag(DustMaterial.MatFlags.NO_WORKING)) {
if (entry.material instanceof SolidMaterial) {
RecipeMap.LATHE_RECIPES.recipeBuilder().inputs(entry.material.hasFlag(GemMaterial.MatFlags.CRYSTALLISABLE) ? OreDictUnifier.get(OrePrefix.gem, entry.material) : OreDictUnifier.get(OrePrefix.ingot, entry.material)).outputs(OreDictUnifier.get(OrePrefix.stick, entry.material), OreDictUnifier.get(OrePrefix.dustSmall, ((SolidMaterial) entry.material).macerateInto, 2)).duration((int) Math.max(entry.material.getMass() * 5L, 1L)).EUt(16).buildAndRegister();
}
RecipeMap.CUTTER_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(1, stack)).outputs(OreDictUnifier.get(OrePrefix.bolt, entry.material, 4)).duration((int) Math.max(entry.material.getMass() * 2L, 1L)).EUt(4).buildAndRegister();
ModHandler.addShapedRecipe("stick_fls_" + entry.material, OreDictUnifier.get(OrePrefix.stick, entry.material, 2), "s", "X", 'X', new UnificationEntry(OrePrefix.stickLong, entry.material));
ModHandler.addShapedRecipe("stick_" + entry.material, OreDictUnifier.get(OrePrefix.stick, entry.material, 1), "f ", " X", 'X', new UnificationEntry(OrePrefix.ingot, entry.material));
}
if (!entry.material.hasFlag(DustMaterial.MatFlags.NO_SMASHING)) {
RecipeMap.HAMMER_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(2, stack)).outputs(OreDictUnifier.get(OrePrefix.stickLong, entry.material)).duration((int) Math.max(entry.material.getMass(), 1L)).EUt(16).buildAndRegister();
}
break;
case stickLong:
if (!entry.material.hasFlag(DustMaterial.MatFlags.NO_WORKING)) {
RecipeMap.CUTTER_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(1, stack)).outputs(OreDictUnifier.get(OrePrefix.stick, entry.material, 2)).duration((int) Math.max(entry.material.getMass(), 1L)).EUt(4).buildAndRegister();
ModHandler.addShapedRecipe("lstick_ffg_" + entry.material, OreDictUnifier.get(OrePrefix.stickLong, entry.material, 1), "sf", "G ", 'G', new UnificationEntry(OrePrefix.gemFlawless, entry.material));
ModHandler.addShapedRecipe("lstick_feg_" + entry.material, OreDictUnifier.get(OrePrefix.stickLong, entry.material, 2), "sf", "G ", 'G', new UnificationEntry(OrePrefix.gemExquisite, entry.material));
}
if (!entry.material.hasFlag(DustMaterial.MatFlags.NO_SMASHING)) {
RecipeMap.BENDER_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(1, stack)).outputs(OreDictUnifier.get(OrePrefix.spring, entry.material)).duration(200).EUt(16).buildAndRegister();
ModHandler.addShapedRecipe("lstick_fs_", OreDictUnifier.get(OrePrefix.stickLong, entry.material), "ShS", 'S', new UnificationEntry(OrePrefix.stick, entry.material));
}
break;
}
}
use of gregtech.api.unification.stack.UnificationEntry in project GregTech by GregTechCE.
the class ProcessingToolHead method registerOre.
// @Override
public void registerOre(UnificationEntry entry, String modName, SimpleItemStack simpleStack) {
boolean smashing = !entry.material.hasFlag(NO_SMASHING);
boolean working = !entry.material.hasFlag(DustMaterial.MatFlags.NO_WORKING);
if (entry.material instanceof SolidMaterial) {
SolidMaterial solidMaterial = (SolidMaterial) entry.material;
switch(entry.orePrefix) {
case toolHeadAxe:
ModHandler.addShapelessRecipe("axe_" + solidMaterial + "_" + solidMaterial.handleMaterial, MetaItems.AXE.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("head_axe_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadAxe, solidMaterial), "PIh", "P ", "f ", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("head_axe_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadAxe, solidMaterial), "GG ", "G ", "f ", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadBuzzSaw:
ModHandler.addShapedRecipe("bsaw_lith_" + solidMaterial, // new long[]{100000L, 32L, 1L, -1L}),
MetaItems.BUZZSAW.getStackForm(solidMaterial, Materials.StainlessSteel), "PBM", "dXG", "SGP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("bsaw_cad_" + solidMaterial, // new long[]{75000L, 32L, 1L, -1L}),
MetaItems.BUZZSAW.getStackForm(solidMaterial, Materials.StainlessSteel), "PBM", "dXG", "SGP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("bsaw_sod_" + solidMaterial, // new long[]{50000L, 32L, 1L, -1L}),
MetaItems.BUZZSAW.getStackForm(solidMaterial, Materials.StainlessSteel), "PBM", "dXG", "SGP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_SODIUM.getStackForm());
if (working)
ModHandler.addShapedRecipe("bsaw_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadBuzzSaw, solidMaterial), "wXh", "X X", "fXx", 'X', OreDictUnifier.get(OrePrefix.plate, solidMaterial));
break;
case toolHeadChainsaw:
ModHandler.addShapedRecipe("chsaw_lv_lith_" + solidMaterial, // new long[]{100000L, 32L, 1L, -1L}),
MetaItems.CHAINSAW_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_mv_tit_lith_" + solidMaterial, // new long[]{400000L, 128L, 2L, -1L}),
MetaItems.CHAINSAW_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_hv_lith_" + solidMaterial, // new long[]{1600000L, 512L, 3L, -1L}),
MetaItems.CHAINSAW_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_lv_cad_" + solidMaterial, // new long[]{75000L, 32L, 1L, -1L}),
MetaItems.CHAINSAW_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_mv_cad_" + solidMaterial, // new long[]{300000L, 128L, 2L, -1L}),
MetaItems.CHAINSAW_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_hv_cad_" + solidMaterial, // new long[]{1200000L, 512L, 3L, -1L}),
MetaItems.CHAINSAW_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_lv_sod_" + solidMaterial, // new long[]{50000L, 32L, 1L, -1L}),
MetaItems.CHAINSAW_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_mv_sod_" + solidMaterial, // new long[]{200000L, 128L, 2L, -1L}),
MetaItems.CHAINSAW_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("chsaw_hv_sod_" + solidMaterial, // new long[]{800000L, 512L, 3L, -1L}),
MetaItems.CHAINSAW_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_SODIUM.getStackForm());
if (working)
ModHandler.addShapedRecipe("chsaw_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadChainsaw, solidMaterial), "SRS", "XhX", "SRS", 'X', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.plate, Materials.Steel), 'R', OreDictUnifier.get(OrePrefix.ring, Materials.Steel));
break;
case toolHeadDrill:
ModHandler.addShapedRecipe("drill_lv_lith_" + solidMaterial, // new long[]{100000L, 32L, 1L, -1L}),
MetaItems.DRILL_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("drill_lv_cad_" + solidMaterial, // new long[]{75000L, 32L, 1L, -1L}),
MetaItems.DRILL_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("drill_lv_sod_" + solidMaterial, // new long[]{50000L, 32L, 1L, -1L}),
MetaItems.DRILL_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("dill_mv_lith_" + solidMaterial, // new long[]{400000L, 128L, 2L, -1L}),
MetaItems.DRILL_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("drill_mv_cad_" + solidMaterial, // new long[]{300000L, 128L, 2L, -1L}),
MetaItems.DRILL_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("drill_mv_sod_" + solidMaterial, // new long[]{200000L, 128L, 2L, -1L}),
MetaItems.DRILL_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("drool_hv_lith_" + solidMaterial, // new long[]{1600000L, 512L, 3L, -1L}),
MetaItems.DRILL_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("drill_hv_cad_" + solidMaterial, // new long[]{1200000L, 512L, 3L, -1L}),
MetaItems.DRILL_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("drill_hv_sod_" + solidMaterial, // new long[]{800000L, 512L, 3L, -1L}),
MetaItems.DRILL_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("jhammer_lith_" + solidMaterial, // new long[]{1600000L, 512L, 3L, -1L}),
MetaItems.JACKHAMMER.getStackForm(solidMaterial, Materials.Titanium), "SXd", "PRP", "MPB", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_PISTON_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'R', OreDictUnifier.get(OrePrefix.spring, Materials.Titanium), 'B', MetaItems.BATTERY_RE_HV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("jhammer_cad_" + solidMaterial, // new long[]{1200000L, 512L, 3L, -1L}),
MetaItems.JACKHAMMER.getStackForm(solidMaterial, Materials.Titanium), "SXd", "PRP", "MPB", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_PISTON_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'R', OreDictUnifier.get(OrePrefix.spring, Materials.Titanium), 'B', MetaItems.BATTERY_RE_HV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("jhammer_sod_" + solidMaterial, // new long[]{800000L, 512L, 3L, -1L}),
MetaItems.JACKHAMMER.getStackForm(solidMaterial, Materials.Titanium), "SXd", "PRP", "MPB", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_PISTON_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'R', OreDictUnifier.get(OrePrefix.spring, Materials.Titanium), 'B', MetaItems.BATTERY_RE_HV_SODIUM.getStackForm());
if (working)
ModHandler.addShapedRecipe("drill_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadDrill, solidMaterial), "XSX", "XSX", "ShS", 'X', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.plate, Materials.Steel));
break;
case toolHeadFile:
ModHandler.addShapelessRecipe("file_fh_" + solidMaterial, MetaItems.FILE.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (!smashing) {
ModHandler.addMirroredShapedRecipe("file_", MetaItems.FILE.getStackForm(solidMaterial, solidMaterial.handleMaterial), "P", "P", "S", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
}
break;
case toolHeadHoe:
ModHandler.addShapelessRecipe("hoe_fh_" + solidMaterial, MetaItems.HOE.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("hoe_head_m_" + simpleStack, OreDictUnifier.get(OrePrefix.toolHeadHoe, solidMaterial), "PIh", "f ", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("hoe_head_g_" + simpleStack, OreDictUnifier.get(OrePrefix.toolHeadHoe, solidMaterial), "GG", "f ", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadPickaxe:
ModHandler.addShapelessRecipe("paxe_" + solidMaterial, MetaItems.PICKAXE.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("paxe_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadPickaxe, solidMaterial), "PII", "f h", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("paze_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadPickaxe, solidMaterial), "GGG", "f ", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadPlow:
ModHandler.addShapelessRecipe("plow_" + solidMaterial, MetaItems.PLOW.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("plow_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadPlow, solidMaterial), "PP", "PP", "hf", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial));
if (working)
ModHandler.addShapedRecipe("plow_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadPlow, solidMaterial), "GG", "GG", " f", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadSaw:
ModHandler.addShapelessRecipe("saw_" + solidMaterial, MetaItems.SAW.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("saw_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSaw, solidMaterial), "PP ", "fh ", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("saw_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSaw, solidMaterial), "GGf", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadSense:
ModHandler.addShapelessRecipe("sense_" + solidMaterial, MetaItems.SENSE.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("sense_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSense, solidMaterial), "PPI", "hf ", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("sense_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSense, solidMaterial), "GGG", " f ", " ", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadShovel:
ModHandler.addShapelessRecipe("shovel_" + solidMaterial, MetaItems.SHOVEL.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("shovel_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadShovel, solidMaterial), "fPh", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("shovel_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadShovel, solidMaterial), "fG", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadSword:
ModHandler.addShapelessRecipe("sword_" + solidMaterial, MetaItems.SWORD.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing)
ModHandler.addShapedRecipe("sword_head_m_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSword, solidMaterial), " P ", "fPh", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
if (working)
ModHandler.addShapedRecipe("sword_head_g_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadSword, solidMaterial), " G", "fG", 'G', OreDictUnifier.get(OrePrefix.gem, solidMaterial));
break;
case toolHeadUniversalSpade:
ModHandler.addShapelessRecipe("spade_" + solidMaterial, MetaItems.UNIVERSALSPADE.getStackForm(solidMaterial, solidMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial), new UnificationEntry(OrePrefix.screw, solidMaterial), ToolDictNames.craftingToolScrewdriver);
if (working)
ModHandler.addShapedRecipe("spade_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadUniversalSpade, solidMaterial), "fX", 'X', OreDictUnifier.get(OrePrefix.toolHeadShovel, solidMaterial));
break;
case toolHeadWrench:
ModHandler.addShapedRecipe("wrench_lv_lith_" + solidMaterial, // new long[]{100000L, 32L, 1L, -1L}),
MetaItems.WRENCH_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_mv_lith_" + solidMaterial, // new long[]{400000L, 128L, 2L, -1L}),
MetaItems.WRENCH_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_hv_lith_" + solidMaterial, // new long[]{1600000L, 512L, 3L, -1L}),
MetaItems.WRENCH_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_lv_cad_" + solidMaterial, // new long[]{75000L, 32L, 1L, -1L}),
MetaItems.WRENCH_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_mv_cad_" + solidMaterial, // new long[]{300000L, 128L, 2L, -1L}),
MetaItems.WRENCH_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_hv_cad_" + solidMaterial, // new long[]{1200000L, 512L, 3L, -1L}),
MetaItems.WRENCH_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.TungstenSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_lv_sod_" + solidMaterial, // new long[]{50000L, 32L, 1L, -1L}),
MetaItems.WRENCH_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_mv_sod_" + solidMaterial, // new long[]{200000L, 128L, 2L, -1L}),
MetaItems.WRENCH_MV.getStackForm(solidMaterial, Materials.Titanium), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_MV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.Titanium), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.Titanium), 'B', MetaItems.BATTERY_RE_MV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("wrench_hv_sod_" + solidMaterial, // new long[]{800000L, 512L, 3L, -1L}),
MetaItems.WRENCH_HV.getStackForm(solidMaterial, Materials.TungstenSteel), "SXd", "GMG", "PBP", 'X', entry, 'M', MetaItems.ELECTRIC_MOTOR_HV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.TungstenSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.Titanium), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.TungstenSteel), 'B', MetaItems.BATTERY_RE_HV_SODIUM.getStackForm());
ModHandler.addShapedRecipe("sdriver_lv_lith_" + solidMaterial, // new long[]{100000L, 32L, 1L, -1L}),
MetaItems.SCREWDRIVER_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "PdX", "MGS", "GBP", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_LITHIUM.getStackForm());
ModHandler.addShapedRecipe("sdriver_lv_cad_" + solidMaterial, // new long[]{75000L, 32L, 1L, -1L}),
MetaItems.SCREWDRIVER_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "PdX", "MGS", "GBP", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_CADMIUM.getStackForm());
ModHandler.addShapedRecipe("sdriver_lv_sod_" + solidMaterial, // new long[]{50000L, 32L, 1L, -1L}),
MetaItems.SCREWDRIVER_LV.getStackForm(solidMaterial, Materials.StainlessSteel), "PdX", "MGS", "GBP", 'X', OreDictUnifier.get(OrePrefix.stickLong, solidMaterial), 'M', MetaItems.ELECTRIC_MOTOR_LV.getStackForm(), 'S', OreDictUnifier.get(OrePrefix.screw, Materials.StainlessSteel), 'P', OreDictUnifier.get(OrePrefix.plate, Materials.StainlessSteel), 'G', OreDictUnifier.get(OrePrefix.gearSmall, Materials.StainlessSteel), 'B', MetaItems.BATTERY_RE_LV_SODIUM.getStackForm());
if (working)
ModHandler.addShapedRecipe("whench_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadWrench, solidMaterial), "hXW", "XRX", "WXd", 'X', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.plate, Materials.Steel), 'R', OreDictUnifier.get(OrePrefix.ring, Materials.Steel), 'W', OreDictUnifier.get(OrePrefix.screw, Materials.Steel));
break;
case toolHeadHammer:
ModHandler.addShapelessRecipe("hammer_fh_" + solidMaterial, MetaItems.HARDHAMMER.getStackForm(solidMaterial, solidMaterial.handleMaterial), entry, OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
ModHandler.addShapedRecipe("hammer_m_" + solidMaterial, MetaItems.HARDHAMMER.getStackForm(solidMaterial, solidMaterial.handleMaterial), "XX ", "XXS", "XX ", 'X', OreDictUnifier.get(OrePrefix.ingot, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
ModHandler.addShapedRecipe("hammer_g_" + solidMaterial, MetaItems.HARDHAMMER.getStackForm(solidMaterial, solidMaterial.handleMaterial), "XX ", "XXS", "XX ", 'X', OreDictUnifier.get(OrePrefix.gem, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.stick, solidMaterial.handleMaterial));
if (smashing) {
ModHandler.addShapedRecipe("hammer_head_" + solidMaterial, OreDictUnifier.get(OrePrefix.toolHeadHammer, solidMaterial), "II ", "IIh", "II ", 'P', OreDictUnifier.get(OrePrefix.plate, solidMaterial), 'I', OreDictUnifier.get(OrePrefix.ingot, solidMaterial));
}
break;
case turbineBlade:
RecipeMap.ASSEMBLER_RECIPES.recipeBuilder().inputs(OreDictUnifier.get(OrePrefix.turbineBlade, solidMaterial, 4), OreDictUnifier.get(OrePrefix.stickLong, Materials.Magnalium)).outputs(MetaItems.TURBINE_SMALL.getStackForm(solidMaterial, solidMaterial)).duration(160).EUt(100).buildAndRegister();
RecipeMap.ASSEMBLER_RECIPES.recipeBuilder().inputs(OreDictUnifier.get(OrePrefix.turbineBlade, solidMaterial, 8), OreDictUnifier.get(OrePrefix.stickLong, Materials.Titanium)).outputs(MetaItems.TURBINE_NORMAL.getStackForm(solidMaterial, solidMaterial)).duration(320).EUt(400).buildAndRegister();
RecipeMap.ASSEMBLER_RECIPES.recipeBuilder().inputs(OreDictUnifier.get(OrePrefix.turbineBlade, solidMaterial, 12), OreDictUnifier.get(OrePrefix.stickLong, Materials.TungstenSteel)).outputs(MetaItems.TURBINE_LARGE.getStackForm(solidMaterial, solidMaterial)).duration(640).EUt(1600).buildAndRegister();
RecipeMap.ASSEMBLER_RECIPES.recipeBuilder().inputs(OreDictUnifier.get(OrePrefix.turbineBlade, solidMaterial, 16), OreDictUnifier.get(OrePrefix.stickLong, Materials.Americium)).outputs(MetaItems.TURBINE_HUGE.getStackForm(solidMaterial, solidMaterial)).duration(1280).EUt(6400).buildAndRegister();
if (working) {
ModHandler.addShapedRecipe("blade_" + solidMaterial, OreDictUnifier.get(OrePrefix.turbineBlade, solidMaterial), "fPd", "SPS", " P ", 'P', OreDictUnifier.get(OrePrefix.ingot, solidMaterial), 'R', OreDictUnifier.get(OrePrefix.ring, solidMaterial), 'S', OreDictUnifier.get(OrePrefix.screw, solidMaterial));
}
break;
}
}
}
use of gregtech.api.unification.stack.UnificationEntry in project GregTech by GregTechCE.
the class MetaTool method registerFlintToolRecipes.
private void registerFlintToolRecipes() {
Function<ToolMetaItem.MetaToolValueItem, ItemStack> toolDataApplier = item -> {
ItemStack itemStack = item.setToolData(item.getStackForm(), Materials.Flint, 80, 1, 6.0f, 2.0f);
if (itemStack.getItem().canApplyAtEnchantingTable(itemStack, Enchantments.FIRE_ASPECT)) {
itemStack.addEnchantment(Enchantments.FIRE_ASPECT, 2);
}
return itemStack;
};
ModHandler.addShapedRecipe("mortar_flint", toolDataApplier.apply(MORTAR), " I ", "SIS", "SSS", 'I', new ItemStack(Items.FLINT, 1), 'S', OrePrefix.stone);
ModHandler.addShapedRecipe("sword_flint", toolDataApplier.apply(SWORD), "F", "F", "S", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
ModHandler.addShapedRecipe("pickaxe_flint", toolDataApplier.apply(PICKAXE), "FFF", " S ", " S ", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
ModHandler.addShapedRecipe("shovel_flint", toolDataApplier.apply(SHOVEL), "F", "S", "S", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
ModHandler.addMirroredShapedRecipe("axe_flint", toolDataApplier.apply(AXE), "FF", "FS", " S", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
ModHandler.addMirroredShapedRecipe("hoe_flint", toolDataApplier.apply(HOE), "FF", " S", " S", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
ModHandler.addShapedRecipe("knife_flint", toolDataApplier.apply(KNIFE), "F", "S", 'S', new UnificationEntry(OrePrefix.stick, Materials.Wood), 'F', new ItemStack(Items.FLINT, 1));
}
use of gregtech.api.unification.stack.UnificationEntry in project GregTech by GregTechCE.
the class MachineRecipeLoader method registerCircuitRecipes.
private static void registerCircuitRecipes() {
// Wafer blast furnace recipes
RecipeMaps.BLAST_RECIPES.recipeBuilder().duration(9000).EUt(120).input(OrePrefix.dust, Materials.Silicon, 32).input(OrePrefix.dustTiny, Materials.Gallium).inputs(new CountableIngredient(new IntCircuitIngredient(1), 0)).outputs(MetaItems.SILICON_BOULE.getStackForm()).blastFurnaceTemp(1784).buildAndRegister();
RecipeMaps.BLAST_RECIPES.recipeBuilder().duration(12000).EUt(480).input(OrePrefix.dust, Materials.Silicon, 64).input(OrePrefix.dust, Materials.Glowstone, 8).inputs(new CountableIngredient(new IntCircuitIngredient(1), 0)).fluidInputs(Materials.Nitrogen.getFluid(8000)).outputs(MetaItems.GLOWSTONE_BOULE.getStackForm()).blastFurnaceTemp(2484).buildAndRegister();
RecipeMaps.BLAST_RECIPES.recipeBuilder().duration(1500).EUt(1920).input(OrePrefix.block, Materials.Silicon, 9).input(OrePrefix.ingot, Materials.Naquadah).inputs(new CountableIngredient(new IntCircuitIngredient(1), 0)).fluidInputs(Materials.Argon.getFluid(8000)).outputs(MetaItems.NAQUADAH_BOULE.getStackForm()).blastFurnaceTemp(5400).buildAndRegister();
// Wafer engraving recipes
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(900).EUt(120).inputs(MetaItems.SILICON_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Red).outputs(MetaItems.INTEGRATED_LOGIC_CIRCUIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Red).outputs(MetaItems.INTEGRATED_LOGIC_CIRCUIT_WAFER.getStackForm(4)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Red).outputs(MetaItems.INTEGRATED_LOGIC_CIRCUIT_WAFER.getStackForm(8)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(900).EUt(120).inputs(MetaItems.SILICON_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Silver).outputs(MetaItems.RANDOM_ACCESS_MEMORY_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Silver).outputs(MetaItems.RANDOM_ACCESS_MEMORY_WAFER.getStackForm(4)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Silver).outputs(MetaItems.RANDOM_ACCESS_MEMORY_WAFER.getStackForm(8)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.LightBlue).outputs(MetaItems.NAND_MEMORY_CHIP_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.LightBlue).outputs(MetaItems.NAND_MEMORY_CHIP_WAFER.getStackForm(4)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Lime).outputs(MetaItems.NOR_MEMORY_CHIP_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Lime).outputs(MetaItems.NOR_MEMORY_CHIP_WAFER.getStackForm(4)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(900).EUt(120).inputs(MetaItems.SILICON_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.White).outputs(MetaItems.CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.White).outputs(MetaItems.CENTRAL_PROCESSING_UNIT_WAFER.getStackForm(4)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.White).outputs(MetaItems.CENTRAL_PROCESSING_UNIT_WAFER.getStackForm(8)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Yellow).outputs(MetaItems.SYSTEM_ON_CHIP_WAFER.getStackForm(2)).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Orange).outputs(MetaItems.ADVANCED_SYSTEM_ON_CHIP_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(500).EUt(480).inputs(MetaItems.GLOWSTONE_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Blue).outputs(MetaItems.POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(200).EUt(1920).inputs(MetaItems.NAQUADAH_WAFER.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Blue).outputs(MetaItems.POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm(4)).buildAndRegister();
// Wafer chemical refining recipes
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(1200).EUt(1920).inputs(MetaItems.POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm()).input(OrePrefix.dust, Materials.IndiumGalliumPhosphide, 2).fluidInputs(Materials.RedAlloy.getFluid(288)).outputs(MetaItems.HIGH_POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(400).EUt(480).inputs(MetaItems.CENTRAL_PROCESSING_UNIT_WAFER.getStackForm(), MetaItems.CARBON_FIBERS.getStackForm(16)).fluidInputs(Materials.Glowstone.getFluid(576)).outputs(MetaItems.NANO_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(400).EUt(1920).inputs(MetaItems.NANO_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm(), MetaItems.QUANTUM_EYE.getStackForm(2)).fluidInputs(Materials.GalliumArsenide.getFluid(288)).outputs(MetaItems.QBIT_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(600).EUt(1920).inputs(MetaItems.NANO_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).input(OrePrefix.cableGtSingle, Tier.Superconductor, 8).outputs(MetaItems.QBIT_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).buildAndRegister();
// Wafer cutting recipes
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(200).EUt(8).inputs(MetaItems.SILICON_BOULE.getStackForm()).outputs(MetaItems.SILICON_WAFER.getStackForm(16)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(400).EUt(64).inputs(MetaItems.GLOWSTONE_BOULE.getStackForm()).outputs(MetaItems.GLOWSTONE_WAFER.getStackForm(32)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(800).EUt(384).inputs(MetaItems.NAQUADAH_BOULE.getStackForm()).outputs(MetaItems.NAQUADAH_WAFER.getStackForm(64)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.ADVANCED_SYSTEM_ON_CHIP_WAFER.getStackForm()).outputs(MetaItems.ADVANCED_SYSTEM_ON_CHIP.getStackForm(6)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.SYSTEM_ON_CHIP_WAFER.getStackForm()).outputs(MetaItems.SYSTEM_ON_CHIP.getStackForm(6)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.RANDOM_ACCESS_MEMORY_WAFER.getStackForm()).outputs(MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(32)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.QBIT_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).outputs(MetaItems.QBIT_CENTRAL_PROCESSING_UNIT.getStackForm(5)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm()).outputs(MetaItems.POWER_INTEGRATED_CIRCUIT.getStackForm(4)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.HIGH_POWER_INTEGRATED_CIRCUIT_WAFER.getStackForm()).outputs(MetaItems.HIGH_POWER_INTEGRATED_CIRCUIT.getStackForm(2)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.NOR_MEMORY_CHIP_WAFER.getStackForm()).outputs(MetaItems.NOR_MEMORY_CHIP.getStackForm(16)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.NAND_MEMORY_CHIP_WAFER.getStackForm()).outputs(MetaItems.NAND_MEMORY_CHIP.getStackForm(32)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).outputs(MetaItems.CENTRAL_PROCESSING_UNIT.getStackForm(8)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.INTEGRATED_LOGIC_CIRCUIT_WAFER.getStackForm()).outputs(MetaItems.INTEGRATED_LOGIC_CIRCUIT.getStackForm(8)).buildAndRegister();
RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(600).EUt(48).inputs(MetaItems.NANO_CENTRAL_PROCESSING_UNIT_WAFER.getStackForm()).outputs(MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm(7)).buildAndRegister();
// circuit assembling recipes
for (MaterialStack stack : solderingList) {
IngotMaterial material = (IngotMaterial) stack.material;
int multiplier = (int) stack.amount;
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(8).inputs(MetaItems.PHENOLIC_BOARD.getStackForm(), MetaItems.INTEGRATED_LOGIC_CIRCUIT.getStackForm(), MetaItems.RESISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.Copper).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.BASIC_ELECTRONIC_CIRCUIT_LV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(8).inputs(MetaItems.PHENOLIC_BOARD.getStackForm(), MetaItems.INTEGRATED_LOGIC_CIRCUIT.getStackForm(), MetaItems.SMD_RESISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.Copper).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.BASIC_ELECTRONIC_CIRCUIT_LV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(60).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.CENTRAL_PROCESSING_UNIT.getStackForm(4), MetaItems.RESISTOR.getStackForm(4), MetaItems.CAPACITOR.getStackForm(4), MetaItems.TRANSISTOR.getStackForm(4)).input(OrePrefix.wireFine, Materials.Copper, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_PARTS_LV.getStackForm(4)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(60).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.CENTRAL_PROCESSING_UNIT.getStackForm(4), MetaItems.SMD_RESISTOR.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.SMD_TRANSISTOR.getStackForm(4)).input(OrePrefix.wireFine, Materials.Copper, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_PARTS_LV.getStackForm(4)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(600).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.SYSTEM_ON_CHIP.getStackForm(1)).input(OrePrefix.wireFine, Materials.Copper, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_PARTS_LV.getStackForm(4)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(16).inputs(MetaItems.PHENOLIC_BOARD.getStackForm(), MetaItems.BASIC_ELECTRONIC_CIRCUIT_LV.getStackForm(3), MetaItems.RESISTOR.getStackForm(4)).input(OrePrefix.wireFine, Materials.Electrum, 8).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.GOOD_INTEGRATED_CIRCUIT_MV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(16).inputs(MetaItems.PHENOLIC_BOARD.getStackForm(), MetaItems.BASIC_ELECTRONIC_CIRCUIT_LV.getStackForm(3), MetaItems.SMD_RESISTOR.getStackForm(4)).input(OrePrefix.wireFine, Materials.Electrum, 8).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.GOOD_INTEGRATED_CIRCUIT_MV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(60).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.RESISTOR.getStackForm(2), MetaItems.CAPACITOR.getStackForm(2), MetaItems.TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.RedAlloy, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_MV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(60).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.SMD_RESISTOR.getStackForm(2), MetaItems.SMD_CAPACITOR.getStackForm(2), MetaItems.SMD_TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.RedAlloy, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_MV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(2400).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.SYSTEM_ON_CHIP.getStackForm()).input(OrePrefix.wireFine, Materials.RedAlloy, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.ADVANCED_CIRCUIT_MV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(90).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.ADVANCED_CIRCUIT_MV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.RedAlloy, 12).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.PROCESSOR_ASSEMBLY_HV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(90).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.ADVANCED_CIRCUIT_MV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.RedAlloy, 12).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.PROCESSOR_ASSEMBLY_HV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(480).inputs(MetaItems.EPOXY_BOARD.getStackForm(), MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.SMD_RESISTOR.getStackForm(2), MetaItems.SMD_CAPACITOR.getStackForm(2), MetaItems.SMD_TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.Electrum, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.NANO_PROCESSOR_HV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(9600).inputs(MetaItems.EPOXY_BOARD.getStackForm(), MetaItems.SYSTEM_ON_CHIP.getStackForm()).input(OrePrefix.wireFine, Materials.Electrum, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.NANO_PROCESSOR_HV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(480).inputs(MetaItems.EPOXY_BOARD.getStackForm(), MetaItems.NANO_PROCESSOR_HV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.Electrum, 6).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.NANO_PROCESSOR_ASSEMBLY_EV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(1960).inputs(MetaItems.FIBER_BOARD.getStackForm(), MetaItems.QBIT_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.SMD_CAPACITOR.getStackForm(2), MetaItems.SMD_TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.Platinum, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.QUANTUM_PROCESSOR_EV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(32000).inputs(MetaItems.FIBER_BOARD.getStackForm(), MetaItems.ADVANCED_SYSTEM_ON_CHIP.getStackForm()).input(OrePrefix.wireFine, Materials.Platinum, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.QUANTUM_PROCESSOR_EV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(1960).inputs(MetaItems.FIBER_BOARD.getStackForm(), MetaItems.QUANTUM_PROCESSOR_EV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.Platinum, 6).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.DATA_CONTROL_CIRCUIT_IV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(7600).inputs(MetaItems.MULTILAYER_FIBER_BOARD.getStackForm(), MetaItems.CRYSTAL_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.SMD_CAPACITOR.getStackForm(2), MetaItems.SMD_TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.NiobiumTitanium, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.CRYSTAL_PROCESSOR_IV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(31900).inputs(MetaItems.MULTILAYER_FIBER_BOARD.getStackForm(), MetaItems.CRYSTAL_SYSTEM_ON_CHIP.getStackForm()).input(OrePrefix.wireFine, Materials.NiobiumTitanium, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.CRYSTAL_PROCESSOR_IV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(7600).inputs(MetaItems.MULTILAYER_FIBER_BOARD.getStackForm(), MetaItems.CRYSTAL_PROCESSOR_IV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.NiobiumTitanium, 6).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.ENERGY_FLOW_CIRCUIT_LUV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(200).EUt(32800).inputs(MetaItems.WETWARE_BOARD.getStackForm(), MetaItems.CRYSTAL_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm(), MetaItems.SMD_CAPACITOR.getStackForm(2), MetaItems.SMD_TRANSISTOR.getStackForm(2)).input(OrePrefix.wireFine, Materials.YttriumBariumCuprate, 2).fluidInputs(material.getFluid(72 * multiplier)).outputs(MetaItems.WETWARE_PROCESSOR_LUV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(34400).inputs(MetaItems.WETWARE_BOARD.getStackForm(), MetaItems.WETWARE_PROCESSOR_LUV.getStackForm(2), MetaItems.SMALL_COIL.getStackForm(4), MetaItems.SMD_CAPACITOR.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.YttriumBariumCuprate, 6).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.WETWARE_PROCESSOR_ASSEMBLY_ZPM.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(34400).inputs(MetaItems.WETWARE_BOARD.getStackForm(2), MetaItems.WETWARE_PROCESSOR_ASSEMBLY_ZPM.getStackForm(3), MetaItems.SMD_DIODE.getStackForm(4), MetaItems.NOR_MEMORY_CHIP.getStackForm(4), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.YttriumBariumCuprate, 6).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.WETWARE_SUPER_COMPUTER_UV.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(512).EUt(1024).inputs(MetaItems.FIBER_BOARD.getStackForm(), MetaItems.POWER_INTEGRATED_CIRCUIT.getStackForm(4), MetaItems.ENGRAVED_LAPOTRON_CHIP.getStackForm(18), MetaItems.NANO_CENTRAL_PROCESSING_UNIT.getStackForm()).input(OrePrefix.wireFine, Materials.Platinum, 16).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.ENERGY_LAPOTRONIC_ORB.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(1024).EUt(4096).inputs(MetaItems.FIBER_BOARD.getStackForm(), MetaItems.HIGH_POWER_INTEGRATED_CIRCUIT.getStackForm(4), MetaItems.ENERGY_LAPOTRONIC_ORB.getStackForm(8), MetaItems.QBIT_CENTRAL_PROCESSING_UNIT.getStackForm()).input(OrePrefix.wireFine, Materials.Platinum, 16).input(OrePrefix.plate, Materials.Europium, 4).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.ENERGY_LAPOTRONIC_ORB2.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(90).inputs(MetaItems.PLASTIC_BOARD.getStackForm(), MetaItems.ADVANCED_CIRCUIT_MV.getStackForm(), MetaItems.NAND_MEMORY_CHIP.getStackForm(32), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4)).input(OrePrefix.wireFine, Materials.RedAlloy, 8).input(OrePrefix.plate, Materials.Plastic, 4).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.TOOL_DATA_STICK.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(1200).inputs(MetaItems.EPOXY_BOARD.getStackForm(), MetaItems.NANO_PROCESSOR_HV.getStackForm(), MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(4), MetaItems.NOR_MEMORY_CHIP.getStackForm(32), MetaItems.NAND_MEMORY_CHIP.getStackForm(64)).input(OrePrefix.wireFine, Materials.Platinum, 32).fluidInputs(material.getFluid(144 * multiplier)).outputs(MetaItems.TOOL_DATA_ORB.getStackForm()).buildAndRegister();
}
// circuit components recipes
ModHandler.addShapedRecipe("vacuum_tube_wire", MetaItems.VACUUM_TUBE.getStackForm(), "PTP", "WWW", 'P', new ItemStack(Items.PAPER), 'T', MetaItems.GLASS_TUBE.getStackForm(), 'W', new UnificationEntry(OrePrefix.wireGtSingle, Materials.Copper));
ModHandler.addShapedRecipe("vacuum_tube_wire_fine", MetaItems.VACUUM_TUBE.getStackForm(), "PTP", "WWW", 'P', new ItemStack(Items.PAPER), 'T', MetaItems.GLASS_TUBE.getStackForm(), 'W', new UnificationEntry(OrePrefix.wireFine, Materials.Copper));
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(120).EUt(8).inputs(MetaItems.GLASS_TUBE.getStackForm(), new ItemStack(Items.PAPER, 2)).input(OrePrefix.wireGtSingle, Materials.Copper, 2).outputs(MetaItems.VACUUM_TUBE.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(120).EUt(8).inputs(MetaItems.GLASS_TUBE.getStackForm(), new ItemStack(Items.PAPER, 2)).input(OrePrefix.wireFine, Materials.Copper, 2).outputs(MetaItems.VACUUM_TUBE.getStackForm()).buildAndRegister();
ModHandler.addShapedRecipe("basic_circuit", MetaItems.BASIC_CIRCUIT_LV.getStackForm(), "RPR", "VBV", "CCC", 'R', MetaItems.RESISTOR.getStackForm(), 'P', new UnificationEntry(OrePrefix.plate, Materials.Steel), 'V', MetaItems.VACUUM_TUBE.getStackForm(), 'B', MetaItems.COATED_BOARD.getStackForm(), 'C', new UnificationEntry(OrePrefix.cableGtSingle, Materials.RedAlloy));
ModHandler.addShapedRecipe("good_circuit", MetaItems.GOOD_INTEGRATED_CIRCUIT_MV.getStackForm(), "RCP", "CDC", "PCR", 'R', new UnificationEntry(OrePrefix.cableGtSingle, Materials.RedAlloy), 'P', new UnificationEntry(OrePrefix.plate, Materials.Steel), 'C', MetaItems.BASIC_CIRCUIT_LV.getStackForm(), 'D', MetaItems.DIODE.getStackForm());
RecipeMaps.ALLOY_SMELTER_RECIPES.recipeBuilder().duration(160).EUt(8).input(OrePrefix.dust, Materials.Glass).notConsumable(MetaItems.SHAPE_MOLD_BALL).outputs(MetaItems.GLASS_TUBE.getStackForm()).buildAndRegister();
ModHandler.addShapedRecipe("resistor_wire", MetaItems.RESISTOR.getStackForm(3), " P ", "WCW", " P ", 'P', new ItemStack(Items.PAPER), 'W', new UnificationEntry(OrePrefix.wireGtSingle, Materials.Copper), 'C', new UnificationEntry(OrePrefix.dust, Materials.Coal));
ModHandler.addShapedRecipe("resistor_wire_fine", MetaItems.RESISTOR.getStackForm(3), " P ", "WCW", " P ", 'P', new ItemStack(Items.PAPER), 'W', new UnificationEntry(OrePrefix.wireFine, Materials.Copper), 'C', new UnificationEntry(OrePrefix.dust, Materials.Coal));
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(160).EUt(6).input(OrePrefix.dust, Materials.Coal).input(OrePrefix.wireFine, Materials.Copper, 4).outputs(MetaItems.RESISTOR.getStackForm(12)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(96).input(OrePrefix.plate, Materials.Plastic).input(OrePrefix.foil, Materials.Aluminium, 2).outputs(MetaItems.CAPACITOR.getStackForm(2)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(24).input(OrePrefix.plate, Materials.Silicon).input(OrePrefix.foil, Materials.Tin, 6).fluidInputs(Materials.Plastic.getFluid(144)).outputs(MetaItems.TRANSISTOR.getStackForm(8)).buildAndRegister();
ModHandler.addShapedRecipe("diode", MetaItems.DIODE.getStackForm(4), "DG ", "TWT", "DG ", 'D', "dyeBlack", 'G', "paneGlass", 'T', new UnificationEntry(OrePrefix.wireFine, Materials.Tin), 'W', new UnificationEntry(OrePrefix.dustTiny, Materials.Gallium));
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(48).input(OrePrefix.wireFine, Materials.AnnealedCopper, 4).input(OrePrefix.dustSmall, Materials.Gallium).fluidInputs(Materials.Plastic.getFluid(288)).outputs(MetaItems.DIODE.getStackForm(16)).buildAndRegister();
ModHandler.addShapedRecipe("small_coil_copper_steel", MetaItems.SMALL_COIL.getStackForm(2), "WWW", "WBW", "WWW", 'W', new UnificationEntry(OrePrefix.wireFine, Materials.Copper), 'B', new UnificationEntry(OrePrefix.bolt, Materials.Steel));
ModHandler.addShapedRecipe("small_coil_annealed_copper_steel", MetaItems.SMALL_COIL.getStackForm(2), "WWW", "WBW", "WWW", 'W', new UnificationEntry(OrePrefix.wireFine, Materials.AnnealedCopper), 'B', new UnificationEntry(OrePrefix.bolt, Materials.Steel));
ModHandler.addShapedRecipe("small_coil_copper_ferrite", MetaItems.SMALL_COIL.getStackForm(4), "WWW", "WBW", "WWW", 'W', new UnificationEntry(OrePrefix.wireFine, Materials.Copper), 'B', new UnificationEntry(OrePrefix.bolt, Materials.NickelZincFerrite));
ModHandler.addShapedRecipe("small_coil_annealed_copper_ferrite", MetaItems.SMALL_COIL.getStackForm(4), "WWW", "WBW", "WWW", 'W', new UnificationEntry(OrePrefix.wireFine, Materials.AnnealedCopper), 'B', new UnificationEntry(OrePrefix.bolt, Materials.NickelZincFerrite));
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(8).input(OrePrefix.wireFine, Materials.Copper).input(OrePrefix.bolt, Materials.Steel).outputs(MetaItems.SMALL_COIL.getStackForm(2)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(8).input(OrePrefix.wireFine, Materials.AnnealedCopper).input(OrePrefix.bolt, Materials.Steel).outputs(MetaItems.SMALL_COIL.getStackForm(2)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(8).input(OrePrefix.wireFine, Materials.Copper).input(OrePrefix.bolt, Materials.NickelZincFerrite).outputs(MetaItems.SMALL_COIL.getStackForm(4)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(8).input(OrePrefix.wireFine, Materials.AnnealedCopper).input(OrePrefix.bolt, Materials.NickelZincFerrite).outputs(MetaItems.SMALL_COIL.getStackForm(4)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(96).input(OrePrefix.dust, Materials.Carbon).input(OrePrefix.wireFine, Materials.Electrum, 4).fluidInputs(Materials.Plastic.getFluid(144)).outputs(MetaItems.SMD_RESISTOR.getStackForm(24)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(120).input(OrePrefix.dustSmall, Materials.Gallium).input(OrePrefix.wireFine, Materials.Platinum, 4).fluidInputs(Materials.Plastic.getFluid(288)).outputs(MetaItems.SMD_DIODE.getStackForm(32)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(80).EUt(96).input(OrePrefix.plate, Materials.Gallium).input(OrePrefix.wireFine, Materials.AnnealedCopper, 6).fluidInputs(Materials.Plastic.getFluid(288)).outputs(MetaItems.SMD_TRANSISTOR.getStackForm(32)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(50).EUt(120).input(OrePrefix.foil, Materials.PolyvinylChloride, 4).input(OrePrefix.foil, Materials.Aluminium).fluidInputs(Materials.Plastic.getFluid(36)).outputs(MetaItems.SMD_CAPACITOR.getStackForm(16)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(60).EUt(120).input(OrePrefix.foil, Materials.SiliconeRubber, 4).input(OrePrefix.foil, Materials.Aluminium).fluidInputs(Materials.Plastic.getFluid(36)).outputs(MetaItems.SMD_CAPACITOR.getStackForm(16)).buildAndRegister();
RecipeMaps.AUTOCLAVE_RECIPES.recipeBuilder().duration(45).EUt(40).input(OrePrefix.dust, Materials.Carbon).fluidInputs(Materials.Palladium.getFluid(1)).chancedOutput(MetaItems.CARBON_FIBERS.getStackForm(2), 8500, 750).buildAndRegister();
RecipeMaps.AUTOCLAVE_RECIPES.recipeBuilder().duration(45).EUt(40).input(OrePrefix.dust, Materials.Carbon).fluidInputs(Materials.Platinum.getFluid(1)).chancedOutput(MetaItems.CARBON_FIBERS.getStackForm(2), 8000, 750).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(4000).EUt(120).inputs(MetaItems.PLATE_IRIDIUM_ALLOY.getStackForm()).input(OrePrefix.plate, Materials.Beryllium, 32).input(OrePrefix.plate, Materials.TungstenCarbide, 4).fluidInputs(Materials.TinAlloy.getFluid(L * 32)).outputs(MetaItems.NEUTRON_REFLECTOR.getStackForm()).buildAndRegister();
// circuit board recipes
ModHandler.addShapedRecipe("coated_board", MetaItems.COATED_BOARD.getStackForm(3), " R ", "PPP", " R ", 'R', MetaItems.RUBBER_DROP.getStackForm(), 'P', new UnificationEntry(OrePrefix.plate, Materials.Wood));
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(160).EUt(8).input(OrePrefix.plate, Materials.Wood, 8).inputs(MetaItems.RUBBER_DROP.getStackForm()).fluidInputs(Materials.Glue.getFluid(100)).outputs(MetaItems.COATED_BOARD.getStackForm(8)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(30).EUt(8).input(OrePrefix.dust, Materials.Wood).notConsumable(MetaItems.SHAPE_MOLD_PLATE.getStackForm()).fluidInputs(Materials.Glue.getFluid(100)).outputs(MetaItems.PHENOLIC_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(30).EUt(8).input(OrePrefix.dust, Materials.Wood).notConsumable(MetaItems.SHAPE_MOLD_PLATE.getStackForm()).fluidInputs(Materials.BisphenolA.getFluid(100)).outputs(MetaItems.PHENOLIC_BOARD.getStackForm(4)).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(600).EUt(10).input(OrePrefix.plate, Materials.Plastic).input(OrePrefix.foil, Materials.Copper).fluidInputs(Materials.SulfuricAcid.getFluid(125)).outputs(MetaItems.PLASTIC_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(600).EUt(10).input(OrePrefix.plate, Materials.PolyvinylChloride).input(OrePrefix.foil, Materials.Copper).fluidInputs(Materials.SulfuricAcid.getFluid(125)).outputs(MetaItems.PLASTIC_BOARD.getStackForm(2)).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(600).EUt(10).input(OrePrefix.plate, Materials.Polytetrafluoroethylene).input(OrePrefix.foil, Materials.Copper).fluidInputs(Materials.SulfuricAcid.getFluid(125)).outputs(MetaItems.PLASTIC_BOARD.getStackForm(4)).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(500).EUt(10).input(OrePrefix.plate, Materials.Epoxid).input(OrePrefix.foil, Materials.Copper).fluidInputs(Materials.SulfuricAcid.getFluid(125)).outputs(MetaItems.EPOXY_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(500).EUt(10).input(OrePrefix.plate, Materials.ReinforcedEpoxyResin).input(OrePrefix.foil, Materials.Copper).fluidInputs(Materials.SulfuricAcid.getFluid(125)).outputs(MetaItems.FIBER_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_RECIPES.recipeBuilder().duration(100).EUt(480).inputs(MetaItems.FIBER_BOARD.getStackForm()).input(OrePrefix.foil, Materials.Electrum, 16).fluidInputs(Materials.SulfuricAcid.getFluid(250)).outputs(MetaItems.MULTILAYER_FIBER_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(400).EUt(480).inputs(MetaItems.MULTILAYER_FIBER_BOARD.getStackForm()).input(OrePrefix.circuit, Tier.Good).fluidInputs(Materials.Polystyrene.getFluid(144)).outputs(MetaItems.WETWARE_BOARD.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(100).EUt(32000).inputs(MetaItems.CRYSTAL_CENTRAL_PROCESSING_UNIT.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Blue).outputs(MetaItems.CRYSTAL_SYSTEM_ON_CHIP.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(100).EUt(7600).inputs(MetaItems.ENGRAVED_CRYSTAL_CHIP.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Lime).outputs(MetaItems.CRYSTAL_CENTRAL_PROCESSING_UNIT.getStackForm()).buildAndRegister();
RecipeMaps.LASER_ENGRAVER_RECIPES.recipeBuilder().duration(256).EUt(480).inputs(MetaItems.LAPOTRON_CRYSTAL.getStackForm()).notConsumable(OrePrefix.craftingLens, Color.Blue).outputs(MetaItems.ENGRAVED_LAPOTRON_CHIP.getStackForm(3)).buildAndRegister();
ModHandler.addShapelessRecipe("reinforcing_epoxy_resin_by_glass", OreDictUnifier.get(OrePrefix.dust, Materials.ReinforcedEpoxyResin), new UnificationEntry(OrePrefix.dust, Materials.Epoxid), MetaItems.GLASS_FIBER.getStackForm());
ModHandler.addShapelessRecipe("reinforcing_epoxy_resin_by_carbon", OreDictUnifier.get(OrePrefix.dust, Materials.ReinforcedEpoxyResin), new UnificationEntry(OrePrefix.dust, Materials.Epoxid), MetaItems.CARBON_FIBERS.getStackForm());
RecipeMaps.CHEMICAL_BATH_RECIPES.recipeBuilder().duration(240).EUt(16).inputs(MetaItems.GLASS_FIBER.getStackForm()).fluidInputs(Materials.Epoxid.getFluid(144)).outputs(OreDictUnifier.get(OrePrefix.plate, Materials.ReinforcedEpoxyResin)).buildAndRegister();
RecipeMaps.CHEMICAL_BATH_RECIPES.recipeBuilder().duration(240).EUt(16).inputs(MetaItems.CARBON_FIBERS.getStackForm()).fluidInputs(Materials.Epoxid.getFluid(144)).outputs(OreDictUnifier.get(OrePrefix.plate, Materials.ReinforcedEpoxyResin)).buildAndRegister();
RecipeMaps.EXTRUDER_RECIPES.recipeBuilder().duration(160).EUt(96).input(OrePrefix.ingot, Materials.BorosilicateGlass).notConsumable(MetaItems.SHAPE_EXTRUDER_WIRE.getStackForm()).outputs(MetaItems.GLASS_FIBER.getStackForm(8)).buildAndRegister();
RecipeMaps.BLAST_RECIPES.recipeBuilder().duration(900).EUt(480).blastFurnaceTemp(5000).input(OrePrefix.gemExquisite, Materials.Emerald).input(OrePrefix.plate, Materials.Emerald, 10).fluidInputs(Materials.Helium.getFluid(5000)).outputs(MetaItems.ENGRAVED_CRYSTAL_CHIP.getStackForm(10)).buildAndRegister();
RecipeMaps.BLAST_RECIPES.recipeBuilder().duration(900).EUt(480).blastFurnaceTemp(5000).input(OrePrefix.gemExquisite, Materials.Olivine).input(OrePrefix.plate, Materials.Olivine, 10).fluidInputs(Materials.Helium.getFluid(5000)).outputs(MetaItems.ENGRAVED_CRYSTAL_CHIP.getStackForm(10)).buildAndRegister();
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder().duration(30).EUt(4).input(OrePrefix.dust, Materials.Tantalum).input(OrePrefix.foil, Materials.Manganese).fluidInputs(Materials.Plastic.getFluid(144)).outputs(MetaItems.BATTERY_RE_ULV_TANTALUM.getStackForm(8)).buildAndRegister();
RecipeMaps.CHEMICAL_BATH_RECIPES.recipeBuilder().duration(480).EUt(384).input(OrePrefix.gem, Materials.EnderEye, 1).fluidInputs(Materials.Plutonium.getFluid(L * 2)).outputs(MetaItems.QUANTUM_EYE.getStackForm()).buildAndRegister();
RecipeMaps.CHEMICAL_BATH_RECIPES.recipeBuilder().duration(1920).EUt(384).input(OrePrefix.gem, Materials.NetherStar, 1).fluidInputs(Materials.Plutonium.getFluid(L * 8)).outputs(MetaItems.QUANTUM_STAR.getStackForm()).buildAndRegister();
RecipeMaps.AUTOCLAVE_RECIPES.recipeBuilder().duration(480).EUt(7680).input(OrePrefix.gem, Materials.NetherStar, 1).fluidInputs(Materials.Darmstadtium.getFluid(L * 2)).outputs(MetaItems.GRAVI_STAR.getStackForm()).buildAndRegister();
}
use of gregtech.api.unification.stack.UnificationEntry in project GregTech by GregTechCE.
the class OreDictionaryLoader method init.
public static void init() {
GTLog.logger.info("Registering OreDict entries.");
OreDictionary.registerOre("fuelCoke", OreDictUnifier.get(OrePrefix.gem, Materials.Coke));
OreDictionary.registerOre("blockFuelCoke", OreDictUnifier.get(OrePrefix.block, Materials.Coke));
OreDictUnifier.registerOre(new ItemStack(Blocks.CLAY), OrePrefix.block, Materials.Clay);
OreDictUnifier.registerOre(new ItemStack(Blocks.BRICK_BLOCK), OrePrefix.block, Materials.Brick);
OreDictUnifier.registerOre(new ItemStack(Items.CLAY_BALL), OrePrefix.ingot, Materials.Clay);
OreDictUnifier.registerOre(new ItemStack(Items.FLINT), OrePrefix.gem, Materials.Flint);
OreDictUnifier.registerOre(new ItemStack(Blocks.HARDENED_CLAY, 1, W), new ItemMaterialInfo(new MaterialStack(Materials.Clay, M * 4)));
OreDictUnifier.registerOre(new ItemStack(Blocks.STAINED_HARDENED_CLAY, 1, W), new ItemMaterialInfo(new MaterialStack(Materials.Clay, M * 4)));
for (ItemStack woodPlateStack : OreDictUnifier.getAll(new UnificationEntry(OrePrefix.plate, Materials.Wood))) {
OreDictUnifier.registerOre(woodPlateStack, OrePrefix.plank, Materials.Wood);
}
for (Material material : new Material[] { Materials.Lapis, Materials.Lazurite, Materials.Sodalite }) {
OreDictUnifier.registerOre(OreDictUnifier.get(OrePrefix.gem, material), OrePrefix.dye, Color.Blue);
OreDictUnifier.registerOre(OreDictUnifier.get(OrePrefix.dust, material), OrePrefix.dye, Color.Blue);
}
OreDictUnifier.registerOre(new ItemStack(Blocks.COAL_ORE), OrePrefix.ore, Materials.Coal);
OreDictUnifier.registerOre(new ItemStack(Blocks.IRON_ORE), OrePrefix.ore, Materials.Iron);
OreDictUnifier.registerOre(new ItemStack(Blocks.LAPIS_ORE), OrePrefix.ore, Materials.Lapis);
OreDictUnifier.registerOre(new ItemStack(Blocks.REDSTONE_ORE), OrePrefix.ore, Materials.Redstone);
OreDictUnifier.registerOre(new ItemStack(Blocks.GOLD_ORE), OrePrefix.ore, Materials.Gold);
OreDictUnifier.registerOre(new ItemStack(Blocks.DIAMOND_ORE), OrePrefix.ore, Materials.Diamond);
OreDictUnifier.registerOre(new ItemStack(Blocks.EMERALD_ORE), OrePrefix.ore, Materials.Emerald);
OreDictUnifier.registerOre(new ItemStack(Blocks.QUARTZ_ORE), OrePrefix.ore, Materials.NetherQuartz);
OreDictUnifier.registerOre(new ItemStack(Items.DYE, 1, 4), OrePrefix.gem, Materials.Lapis);
OreDictUnifier.registerOre(new ItemStack(Items.ENDER_EYE), OrePrefix.gem, Materials.EnderEye);
OreDictUnifier.registerOre(new ItemStack(Items.ENDER_PEARL), OrePrefix.gem, Materials.EnderPearl);
OreDictUnifier.registerOre(new ItemStack(Items.DIAMOND), OrePrefix.gem, Materials.Diamond);
OreDictUnifier.registerOre(new ItemStack(Items.EMERALD), OrePrefix.gem, Materials.Emerald);
OreDictUnifier.registerOre(new ItemStack(Items.COAL), OrePrefix.gem, Materials.Coal);
OreDictUnifier.registerOre(new ItemStack(Items.COAL, 1, 1), OrePrefix.gem, Materials.Charcoal);
OreDictUnifier.registerOre(new ItemStack(Items.QUARTZ), OrePrefix.gem, Materials.NetherQuartz);
OreDictUnifier.registerOre(new ItemStack(Items.NETHER_STAR), OrePrefix.gem, Materials.NetherStar);
OreDictUnifier.registerOre(new ItemStack(Items.GOLD_NUGGET), OrePrefix.nugget, Materials.Gold);
OreDictUnifier.registerOre(new ItemStack(Items.GOLD_INGOT), OrePrefix.ingot, Materials.Gold);
OreDictUnifier.registerOre(new ItemStack(Items.IRON_INGOT), OrePrefix.ingot, Materials.Iron);
OreDictUnifier.registerOre(new ItemStack(Items.PAPER), OrePrefix.plate, Materials.Paper);
OreDictUnifier.registerOre(new ItemStack(Items.SUGAR), OrePrefix.dust, Materials.Sugar);
OreDictUnifier.registerOre(new ItemStack(Items.SUGAR), OrePrefix.DUST_REGULAR, Materials.Sugar);
OreDictUnifier.registerOre(new ItemStack(Items.STICK), OrePrefix.stick, Materials.Wood);
OreDictUnifier.registerOre(new ItemStack(Items.REDSTONE), OrePrefix.dust, Materials.Redstone);
OreDictUnifier.registerOre(new ItemStack(Items.REDSTONE), OrePrefix.DUST_REGULAR, Materials.Redstone);
OreDictUnifier.registerOre(new ItemStack(Items.GUNPOWDER), OrePrefix.dust, Materials.Gunpowder);
OreDictUnifier.registerOre(new ItemStack(Items.GUNPOWDER), OrePrefix.DUST_REGULAR, Materials.Gunpowder);
OreDictUnifier.registerOre(new ItemStack(Items.GLOWSTONE_DUST), OrePrefix.dust, Materials.Glowstone);
OreDictUnifier.registerOre(new ItemStack(Items.GLOWSTONE_DUST), OrePrefix.DUST_REGULAR, Materials.Glowstone);
OreDictUnifier.registerOre(new ItemStack(Items.DYE, 1, 15), OrePrefix.dust, Materials.Bone);
OreDictUnifier.registerOre(new ItemStack(Items.DYE, 1, 15), OrePrefix.DUST_REGULAR, Materials.Bone);
OreDictUnifier.registerOre(new ItemStack(Items.BONE), OrePrefix.stick, Materials.Bone);
OreDictUnifier.registerOre(new ItemStack(Items.BLAZE_POWDER), OrePrefix.dust, Materials.Blaze);
OreDictUnifier.registerOre(new ItemStack(Items.BLAZE_POWDER), OrePrefix.DUST_REGULAR, Materials.Blaze);
OreDictUnifier.registerOre(new ItemStack(Items.BLAZE_ROD), OrePrefix.stick, Materials.Blaze);
OreDictUnifier.registerOre(new ItemStack(Blocks.IRON_BLOCK), OrePrefix.block, Materials.Iron);
OreDictUnifier.registerOre(new ItemStack(Blocks.GOLD_BLOCK), OrePrefix.block, Materials.Gold);
OreDictUnifier.registerOre(new ItemStack(Blocks.DIAMOND_BLOCK), OrePrefix.block, Materials.Diamond);
OreDictUnifier.registerOre(new ItemStack(Blocks.EMERALD_BLOCK), OrePrefix.block, Materials.Emerald);
OreDictUnifier.registerOre(new ItemStack(Blocks.LAPIS_BLOCK), OrePrefix.block, Materials.Lapis);
OreDictUnifier.registerOre(new ItemStack(Blocks.COAL_BLOCK), OrePrefix.block, Materials.Coal);
OreDictUnifier.registerOre(new ItemStack(Blocks.REDSTONE_BLOCK), OrePrefix.block, Materials.Redstone);
OreDictUnifier.registerOre(new ItemStack(Blocks.QUARTZ_BLOCK), OrePrefix.block, Materials.NetherQuartz);
OreDictUnifier.registerOre(new ItemStack(Blocks.BONE_BLOCK), OrePrefix.block, Materials.Bone);
OreDictUnifier.registerOre(new ItemStack(Blocks.ICE), OrePrefix.block, Materials.Ice);
OreDictUnifier.registerOre(new ItemStack(Blocks.OBSIDIAN), OrePrefix.block, Materials.Obsidian);
OreDictUnifier.registerOre(new ItemStack(Blocks.GLASS), OrePrefix.block, Materials.Glass);
OreDictUnifier.registerOre(MetaBlocks.CONCRETE.getItemVariant(BlockConcrete.ConcreteVariant.LIGHT_CONCRETE, StoneBlock.ChiselingVariant.NORMAL), OrePrefix.block, Materials.Concrete);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 1), OrePrefix.stone, Materials.Granite);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 2), OrePrefix.stone, Materials.Granite);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 5), OrePrefix.stone, Materials.Andesite);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 6), OrePrefix.stone, Materials.Andesite);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 3), OrePrefix.stone, Materials.Diorite);
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, 4), OrePrefix.stone, Materials.Diorite);
OreDictUnifier.registerOre(new ItemStack(MetaBlocks.GRANITE, 1, 0), OrePrefix.stone, Materials.GraniteBlack);
OreDictUnifier.registerOre(new ItemStack(MetaBlocks.GRANITE, 1, 1), OrePrefix.stone, Materials.GraniteRed);
OreDictUnifier.registerOre(MetaBlocks.MINERAL.getItemVariant(BlockMineral.MineralVariant.MARBLE, StoneBlock.ChiselingVariant.NORMAL), OrePrefix.stone, Materials.Marble);
OreDictUnifier.registerOre(MetaBlocks.MINERAL.getItemVariant(BlockMineral.MineralVariant.BASALT, StoneBlock.ChiselingVariant.NORMAL), OrePrefix.stone, Materials.Basalt);
OreDictUnifier.registerOre(new ItemStack(Blocks.ANVIL), "craftingAnvil");
OreDictUnifier.registerOre(new ItemStack(Blocks.OBSIDIAN, 1, W), OrePrefix.stone, Materials.Obsidian);
OreDictUnifier.registerOre(new ItemStack(Blocks.MOSSY_COBBLESTONE, 1, W), "stoneMossy");
OreDictUnifier.registerOre(new ItemStack(Blocks.MOSSY_COBBLESTONE, 1, W), "stoneCobble");
OreDictUnifier.registerOre(new ItemStack(Blocks.COBBLESTONE, 1, W), "stoneCobble");
OreDictUnifier.registerOre(new ItemStack(Blocks.STONE, 1, W), "stoneSmooth");
OreDictUnifier.registerOre(new ItemStack(Blocks.STONEBRICK, 1, W), "stoneBricks");
OreDictUnifier.registerOre(new ItemStack(Blocks.STONEBRICK, 1, 1), "stoneMossy");
OreDictUnifier.registerOre(new ItemStack(Blocks.STONEBRICK, 1, 2), "stoneCracked");
OreDictUnifier.registerOre(new ItemStack(Blocks.STONEBRICK, 1, 3), "stoneChiseled");
OreDictUnifier.registerOre(new ItemStack(Blocks.NETHERRACK, 1, W), OrePrefix.stone, Materials.Netherrack);
OreDictUnifier.registerOre(new ItemStack(Blocks.END_STONE, 1, W), OrePrefix.stone, Materials.Endstone);
OreDictUnifier.registerOre(new ItemStack(Blocks.REDSTONE_TORCH, 1, W), "craftingRedstoneTorch");
OreDictUnifier.registerOre(new ItemStack(Blocks.PISTON, 1, W), "craftingPiston");
OreDictUnifier.registerOre(new ItemStack(Blocks.STICKY_PISTON, 1, W), "craftingPiston");
OreDictUnifier.registerOre(new ItemStack(Blocks.CHEST, 1, W), "chestWood");
OreDictUnifier.registerOre(new ItemStack(Blocks.TRAPPED_CHEST, 1, W), "chestWood");
OreDictUnifier.registerOre(new ItemStack(Blocks.FURNACE, 1, W), "craftingFurnace");
OreDictUnifier.registerOre(new ItemStack(Items.FEATHER, 1, W), "craftingFeather");
OreDictUnifier.registerOre(new ItemStack(Items.WHEAT, 1, W), "itemWheat");
OreDictUnifier.registerOre(new ItemStack(Items.PAPER, 1, W), "paperEmpty");
OreDictUnifier.registerOre(new ItemStack(Items.MAP, 1, W), "paperMap");
OreDictUnifier.registerOre(new ItemStack(Items.FILLED_MAP, 1, W), "paperMap");
OreDictUnifier.registerOre(new ItemStack(Items.BOOK, 1, W), "bookEmpty");
OreDictUnifier.registerOre(new ItemStack(Items.WRITABLE_BOOK, 1, W), "bookWritable");
OreDictUnifier.registerOre(new ItemStack(Items.WRITTEN_BOOK, 1, W), "bookWritten");
OreDictUnifier.registerOre(new ItemStack(Items.ENCHANTED_BOOK, 1, W), "bookEnchanted");
OreDictUnifier.registerOre(new ItemStack(Items.BOOK, 1, W), "craftingBook");
OreDictUnifier.registerOre(new ItemStack(Items.WRITABLE_BOOK, 1, W), "craftingBook");
OreDictUnifier.registerOre(new ItemStack(Items.WRITTEN_BOOK, 1, W), "craftingBook");
OreDictUnifier.registerOre(new ItemStack(Items.ENCHANTED_BOOK, 1, W), "craftingBook");
}
Aggregations