// --- Created by DreamMasterXXL --- // --- Mod Import --- import mods.gregtech.Brewery; // --- Remove Recipes --- // --- Advanced Backpack recipes.remove(.withTag({wearableData: {type: 0 as byte}}), true); // --- Squid Backpack recipes.remove(.withTag({wearableData: {type: 62 as byte}}), true); // --- Backpack Tank recipes.remove(); // --- Sleeping Bag recipes.remove(); // --- Machete recipes.remove(); // --- Machete Handle recipes.remove(); // --- Adventures Fedora recipes.remove(); // --- Hose Nozzle recipes.remove(); // --- Hose recipes.remove(); // --- Two Cylinder Disel Engine recipes.remove(); // --- Copter Blade recipes.remove(); // --- Copter Pack recipes.remove(); // --- Inflateable Boot recipes.remove(); // --- Inflateable Boot (Motorized) recipes.remove(); // --- Hydro Blade recipes.remove(); // --- Piston Boots recipes.remove(); // --- Adventures Suit recipes.remove(); // --- Adventures Pants recipes.remove(); // --- Clockwork Crossbow recipes.remove(); // --- Coal Jetpack recipes.remove(); // --- Melon Juice Bottle recipes.remove(); // --- Add Recipes --- // ---Revert Advanced Backpack // Items in the backpack will persist, but will be reverted to the plain pack. recipes.addShaped(, [ [, , ], [, .marked("mark"), ], [, , ], ], function(out, ins, cInfo) { var data = ins.mark.tag; if (!isNull(data.wearableData.inventory)) { return out.withTag({wearableData: {type: 0 as byte, inventory: data.wearableData.inventory}}); } else { return out.withTag({wearableData: {type: 0 as byte}}); } } ); // --- Advanced Backpack recipes.addShaped(.withTag({wearableData: {type: 0 as byte}}), [ [, , ], [, , ], [, , ]]); // - recipes.addShaped(.withTag({wearableData: {type: 0 as byte}}), [ [, , ], [, , ], [, , ]]); // --- Bat Backpack recipes.addShaped(, [ [, , ], [, .onlyWithTag({wearableData: {type: 0 as byte}}).marked("mark"), ], [, , ]], function(out, ins, cInfo) { var data = ins.mark.tag; if (!isNull(data.wearableData.inventory)) { return out.withTag({wearableData: {type: 2 as byte, inventory: data.wearableData.inventory}}); } else { return out.withTag({wearableData: {type: 2 as byte}}); } } ); // --- Iron Golem Backpack recipes.addShaped(, [ [, , ], [.onlyWithTag({StoredEnchantments: [{lvl: 4 as short, id: 2 as short}]}), .onlyWithTag({wearableData: {type: 0 as byte}}).marked("mark"), .onlyWithTag({StoredEnchantments: [{lvl: 4 as short, id: 2 as short}]})], [, , ]], function(out, ins, cInfo) { var data = ins.mark.tag; if (!isNull(data.wearableData.inventory)) { return out.withTag({wearableData: {type: 11 as byte, inventory: data.wearableData.inventory}}); } else { return out.withTag({wearableData: {type: 11 as byte}}); } } ); // --- Squid Backpack recipes.addShaped(, [ [, , ], [, .onlyWithTag({wearableData: {type: 0 as byte}}).marked("mark"), ], [, , ]], function(out, ins, cInfo) { var data = ins.mark.tag; if (!isNull(data.wearableData.inventory)) { return out.withTag({wearableData: {type: 62 as byte, inventory: data.wearableData.inventory}}); } else { return out.withTag({wearableData: {type: 62 as byte}}); } } ); // --- Backpack Tank recipes.addShapeless(, []); // - recipes.addShapeless(, []); // --- Sleeping Bag recipes.addShapeless(, []); // --- Machete recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Machete Handle recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Adventures Fedora recipes.addShaped(, [ [null, , null], [, , ], [null, , null]]); // --- Hose Nozzle recipes.addShaped(, [ [, , ], [, , ], [null, , null]]); // --- Hose recipes.addShaped(.withTag({mode: -1, amount: 0, fluid: "None", tank: -1}), [ [, , ], [, , ], [, , ]]); // --- Two Cylinder Disel Engine recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Copter Blade recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Copter Pack recipes.addShaped(.withTag({wearableData: {fuelTank: {Empty: ""}}}), [ [, , ], [, , ], [, , ]]); // - recipes.addShaped(.withTag({wearableData: {fuelTank: {Empty: ""}}}), [ [, , ], [, , ], [, , ]]); // --- Inflateable Boot recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Inflateable Boot (Motorized) //recipes.addShaped(, [ //[, , ], //[, , ], //[, , ]]); // --- Hydro Blade recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Piston Boots recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // - recipes.addShaped(, [ [, , ], [, , ], [null, null, null]]); // --- Adventures Suit recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Adventures Pants recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Clockwork Crossbow recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // --- Coal Jetpack recipes.addShaped(.withTag({wearableData: {waterTank: {Empty: ""}}}), [ [, , ], [, , ], [, , ]]); // - recipes.addShaped(.withTag({wearableData: {waterTank: {Empty: ""}}}), [ [, , ], [, , ], [, , ]]); // --- Brewing Recipes --- // --- Melon Juice Bottle mods.gregtech.Brewery.addRecipe( * 750, , * 750, false); // --- Tooltips ---