Search in sources :

Example 11 with SolidMaterial

use of gregtech.api.unification.material.type.SolidMaterial in project GregTech by GregTechCE.

the class ToolBase method getColor.

@Override
public int getColor(boolean isToolHead, ItemStack stack) {
    SolidMaterial primaryMaterial = ToolMetaItem.getPrimaryMaterial(stack);
    SolidMaterial handleMaterial = ToolMetaItem.getHandleMaterial(stack);
    return isToolHead ? primaryMaterial != null ? primaryMaterial.materialRGB : 0xFFFFFF : handleMaterial != null ? handleMaterial.materialRGB : 0xFFFFFF;
}
Also used : SolidMaterial(gregtech.api.unification.material.type.SolidMaterial)

Example 12 with SolidMaterial

use of gregtech.api.unification.material.type.SolidMaterial in project GregTech by GregTechCE.

the class ProcessingCrystallized method registerOre.

public void registerOre(UnificationEntry entry, String modName, SimpleItemStack simpleStack) {
    if (entry.material instanceof SolidMaterial) {
        ItemStack stack = simpleStack.asItemStack();
        ItemStack dustStack = OreDictUnifier.get(OrePrefix.dust, ((SolidMaterial) entry.material).macerateInto);
        RecipeMap.HAMMER_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(1, stack)).outputs(dustStack).duration(10).EUt(10).buildAndRegister();
        RecipeMap.MACERATOR_RECIPES.recipeBuilder().inputs(GTUtility.copyAmount(1, stack)).outputs(dustStack).duration(20).EUt(16).buildAndRegister();
    }
}
Also used : SolidMaterial(gregtech.api.unification.material.type.SolidMaterial) ItemStack(net.minecraft.item.ItemStack) SimpleItemStack(gregtech.api.unification.stack.SimpleItemStack)

Example 13 with SolidMaterial

use of gregtech.api.unification.material.type.SolidMaterial in project GregTech by GregTechCE.

the class ProcessingRotor method registerOre.

public void registerOre(UnificationEntry entry, String modName, SimpleItemStack simpleStack) {
    if (entry.material instanceof SolidMaterial && !entry.material.hasFlag(NO_UNIFICATION | NO_WORKING)) {
        SolidMaterial material = (SolidMaterial) entry.material;
        ItemStack stack = simpleStack.asItemStack();
        ItemStack plateStack = OreDictUnifier.get(OrePrefix.plate, material);
        ItemStack ringStack = OreDictUnifier.get(OrePrefix.ring, material);
        ModHandler.addShapedRecipe("rotor_" + entry.material, stack, "PhP", "SRf", "PdP", 'P', plateStack, 'R', ringStack, 'S', OreDictUnifier.get(OrePrefix.screw, material));
    // RecipeMap.ASSEMBLER_RECIPES.recipeBuilder()
    // .inputs(GTUtility.copyAmount(4, plateStack), ringStack)
    // .outputs(stack)
    // .fluidInputs(Materials.SolderingAlloy.getFluid(32)) // TODO MATERIAL FLUIDS
    // .duration(240)
    // .EUt(24)
    // .buildAndRegister();
    }
}
Also used : SolidMaterial(gregtech.api.unification.material.type.SolidMaterial) SimpleItemStack(gregtech.api.unification.stack.SimpleItemStack) ItemStack(net.minecraft.item.ItemStack)

Example 14 with SolidMaterial

use of gregtech.api.unification.material.type.SolidMaterial 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;
    }
}
Also used : SolidMaterial(gregtech.api.unification.material.type.SolidMaterial) UnificationEntry(gregtech.api.unification.stack.UnificationEntry) ItemStack(net.minecraft.item.ItemStack) SimpleItemStack(gregtech.api.unification.stack.SimpleItemStack)

Example 15 with SolidMaterial

use of gregtech.api.unification.material.type.SolidMaterial 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;
        }
    }
}
Also used : SolidMaterial(gregtech.api.unification.material.type.SolidMaterial) UnificationEntry(gregtech.api.unification.stack.UnificationEntry)

Aggregations

SolidMaterial (gregtech.api.unification.material.type.SolidMaterial)15 SimpleItemStack (gregtech.api.unification.stack.SimpleItemStack)9 ItemStack (net.minecraft.item.ItemStack)9 DustMaterial (gregtech.api.unification.material.type.DustMaterial)4 Material (gregtech.api.unification.material.type.Material)3 UnificationEntry (gregtech.api.unification.stack.UnificationEntry)3 Nullable (javax.annotation.Nullable)3 NBTTagCompound (net.minecraft.nbt.NBTTagCompound)3 HashMultimap (com.google.common.collect.HashMultimap)1 Multimap (com.google.common.collect.Multimap)1 GTValues (gregtech.api.GTValues)1 GregTechAPI (gregtech.api.GregTechAPI)1 IElectricItem (gregtech.api.capability.IElectricItem)1 EnchantmentData (gregtech.api.enchants.EnchantmentData)1 IDamagableItem (gregtech.api.items.IDamagableItem)1 ToolDictNames (gregtech.api.items.ToolDictNames)1 MetaItem (gregtech.api.items.metaitem.MetaItem)1 IMetaItemStats (gregtech.api.items.metaitem.stats.IMetaItemStats)1 Materials (gregtech.api.unification.material.Materials)1 GemMaterial (gregtech.api.unification.material.type.GemMaterial)1