minecraft server init

This commit is contained in:
2025-07-23 08:37:00 +03:00
commit ccf1f5f4d0
2460 changed files with 291551 additions and 0 deletions

View File

@ -0,0 +1,309 @@
#priority 10
/*
SevTech: Ages Dye Integration Script
This script handles changing how dyes are worked in the pack.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.oredict.IOreDictEntry;
import scripts.crafttweaker.utils;
/*
Map contaning the Dyes and the flowers which can be turned into the Dye.
Notes: Thanks to Neosghost for pairing ferdinands flowers!
*/
static dyeCrushingRecipes as IItemStack[][IItemStack] = {
// White
<ore:dyeWhite>.firstItem : [
<ferdinandsflowers:block_cff_desert:11>,
<ferdinandsflowers:block_cff_doublesb:1>,
<ferdinandsflowers:block_cff_doublesb:0>,
<ferdinandsflowers:block_cff_flowers:13>,
<ferdinandsflowers:block_cff_flowersb:8>,
<ferdinandsflowers:block_cff_flowersd:6>,
<ferdinandsflowers:block_cff_flowersd:8>,
<minecraft:dye:15>
],
// Orange
<ore:dyeOrange>.firstItem : [
<ferdinandsflowers:block_cff_desert:5>,
<ferdinandsflowers:block_cff_desert:12>,
<ferdinandsflowers:block_cff_doublesc:1>,
<ferdinandsflowers:block_cff_doublesc:2>,
<ferdinandsflowers:block_cff_doublesc:3>,
<ferdinandsflowers:block_cff_doublesd:5>,
<ferdinandsflowers:block_cff_doubless:4>,
<ferdinandsflowers:block_cff_flowers:1>,
<ferdinandsflowers:block_cff_flowers:6>,
<ferdinandsflowers:block_cff_flowersb:1>,
<ferdinandsflowers:block_cff_flowersb:2>,
<ferdinandsflowers:block_cff_flowersb:4>,
<ferdinandsflowers:block_cff_flowersb:9>,
<ferdinandsflowers:block_cff_flowersc:1>,
<ferdinandsflowers:block_cff_flowersd:4>,
<ferdinandsflowers:block_cff_flowerse:12>,
<ferdinandsflowers:block_cff_flowerse:14>,
<ferdinandsflowers:block_cff_flowerse:14>,
<ferdinandsflowers:block_cff_fungus:4>,
<ferdinandsflowers:block_cff_fungus:5>,
<ferdinandsflowers:block_cff_fungus:6>,
<minecraft:red_flower:5>
],
// Magenta
<ore:dyeMagenta>.firstItem : [
<ferdinandsflowers:block_cff_doublesp:3>,
<ferdinandsflowers:block_cff_doublesp:4>,
<ferdinandsflowers:block_cff_flowers:8>,
<ferdinandsflowers:block_cff_flowers:0>,
<ferdinandsflowers:block_cff_flowersc:10>,
<ferdinandsflowers:block_cff_flowersc:11>,
<ferdinandsflowers:block_cff_flowersd:15>,
<ferdinandsflowers:block_cff_flowersd:0>,
<ferdinandsflowers:block_cff_flowerse:5>,
<ferdinandsflowers:block_cff_flowerse:13>,
<minecraft:double_plant:1>,
<minecraft:red_flower:2>
],
// Light Blue
<ore:dyeLightBlue>.firstItem : [
<ferdinandsflowers:block_cff_desert:8>,
<ferdinandsflowers:block_cff_doublesc:5>,
<ferdinandsflowers:block_cff_flowers:15>,
<ferdinandsflowers:block_cff_flowersc:14>,
<ferdinandsflowers:block_cff_flowersc:15>,
<ferdinandsflowers:block_cff_flowersd:11>,
<ferdinandsflowers:block_cff_flowersd:12>,
<ferdinandsflowers:block_cff_flowerse:6>,
<ferdinandsflowers:block_cff_flowerse:11>,
<ferdinandsflowers:block_cff_fungus:12>,
<minecraft:red_flower:1>
],
// Yellow
<ore:dyeYellow>.firstItem : [
<ferdinandsflowers:block_cff_desert:3>,
<ferdinandsflowers:block_cff_desert:4>,
<ferdinandsflowers:block_cff_doubless:1>,
<ferdinandsflowers:block_cff_doubless:2>,
<ferdinandsflowers:block_cff_doubless:3>,
<ferdinandsflowers:block_cff_doubless:5>,
<ferdinandsflowers:block_cff_flowers:11>,
<ferdinandsflowers:block_cff_flowers:12>,
<ferdinandsflowers:block_cff_flowersb:6>,
<ferdinandsflowers:block_cff_flowersb:11>,
<ferdinandsflowers:block_cff_flowersb:12>,
<ferdinandsflowers:block_cff_flowersb:13>,
<ferdinandsflowers:block_cff_flowersc:7>,
<ferdinandsflowers:block_cff_flowersd:5>,
<ferdinandsflowers:block_cff_fungus:0>,
<minecraft:double_plant:0>,
<minecraft:dye:11>,
<minecraft:yellow_flower:0>
],
// Lime
<ore:dyeLime>.firstItem : [
<ferdinandsflowers:block_cff_flowersd:7>
],
// Pink
<ore:dyePink>.firstItem : [
<ferdinandsflowers:block_cff_desert:7>,
<ferdinandsflowers:block_cff_doubles:0>,
<ferdinandsflowers:block_cff_doublesb:2>,
<ferdinandsflowers:block_cff_doublesb:3>,
<ferdinandsflowers:block_cff_doublesb:4>,
<ferdinandsflowers:block_cff_doublesc:0>,
<ferdinandsflowers:block_cff_doublesp:5>,
<ferdinandsflowers:block_cff_flowers:3>,
<ferdinandsflowers:block_cff_flowers:5>,
<ferdinandsflowers:block_cff_flowersb:3>,
<ferdinandsflowers:block_cff_flowersc:3>,
<ferdinandsflowers:block_cff_flowersc:9>,
<ferdinandsflowers:block_cff_flowersc:12>,
<ferdinandsflowers:block_cff_flowersc:0>,
<ferdinandsflowers:block_cff_flowersd:3>,
<ferdinandsflowers:block_cff_flowerse:0>,
<ferdinandsflowers:block_cff_ouch:3>,
<minecraft:double_plant:5>,
<minecraft:red_flower:7>
],
// Gray
<ore:dyeGray>.firstItem : [
],
// Light Gray
<ore:dyeLightGray>.firstItem : [
<ferdinandsflowers:block_cff_doublesd:4>,
<minecraft:red_flower:3>,
<minecraft:red_flower:6>,
<minecraft:red_flower:8>
],
// Cyan
<ore:dyeCyan>.firstItem : [
<ferdinandsflowers:block_cff_flowersd:10>,
<ferdinandsflowers:block_cff_fungus:13>
],
// Purple
<ore:dyePurple>.firstItem : [
<ferdinandsflowers:block_cff_desert:6>,
<ferdinandsflowers:block_cff_desert:9>,
<ferdinandsflowers:block_cff_desert:13>,
<ferdinandsflowers:block_cff_desert:15>,
<ferdinandsflowers:block_cff_doubles:1>,
<ferdinandsflowers:block_cff_doubles:2>,
<ferdinandsflowers:block_cff_doubles:5>,
<ferdinandsflowers:block_cff_doublesp:2>,
<ferdinandsflowers:block_cff_flowers:2>,
<ferdinandsflowers:block_cff_flowers:7>,
<ferdinandsflowers:block_cff_flowers:9>,
<ferdinandsflowers:block_cff_flowers:10>,
<ferdinandsflowers:block_cff_flowers:14>,
<ferdinandsflowers:block_cff_flowersb:10>,
<ferdinandsflowers:block_cff_flowersb:14>,
<ferdinandsflowers:block_cff_flowersb:15>,
<ferdinandsflowers:block_cff_flowersb:0>,
<ferdinandsflowers:block_cff_flowersc:4>,
<ferdinandsflowers:block_cff_flowersd:1>,
<ferdinandsflowers:block_cff_flowersd:9>,
<ferdinandsflowers:block_cff_flowerse:1>,
<ferdinandsflowers:block_cff_flowerse:2>,
<ferdinandsflowers:block_cff_flowerse:3>,
<ferdinandsflowers:block_cff_flowerse:4>,
<ferdinandsflowers:block_cff_fungus:10>,
<ferdinandsflowers:block_cff_fungus:11>
],
// Blue
<ore:dyeBlue>.firstItem : [
<ferdinandsflowers:block_cff_desert:10>,
<ferdinandsflowers:block_cff_doublesd:3>,
<ferdinandsflowers:block_cff_doublesp:0>,
<ferdinandsflowers:block_cff_doublesp:1>,
<ferdinandsflowers:block_cff_flowers:4>,
<ferdinandsflowers:block_cff_flowersb:7>,
<ferdinandsflowers:block_cff_flowersc:5>,
<ferdinandsflowers:block_cff_flowersc:6>,
<ferdinandsflowers:block_cff_flowersd:13>,
<ferdinandsflowers:block_cff_flowersd:14>,
<ferdinandsflowers:block_cff_flowerse:7>,
<ferdinandsflowers:block_cff_flowerse:8>,
<ferdinandsflowers:block_cff_flowerse:9>,
<ferdinandsflowers:block_cff_flowerse:10>,
<minecraft:dye:4>
],
// Brown
<ore:dyeBrown>.firstItem : [
<betterwithmods:material:44>,
<ferdinandsflowers:block_cff_desert:2>,
<ferdinandsflowers:block_cff_doubles:3>,
<ferdinandsflowers:block_cff_fungus:7>,
<ferdinandsflowers:block_cff_fungus:8>,
<ferdinandsflowers:block_cff_fungus:9>,
<ferdinandsflowers:block_cff_ouch:4>
],
// Green
<ore:dyeGreen>.firstItem : [
<ferdinandsflowers:block_cff_desert:14>,
<ferdinandsflowers:block_cff_desert:0>,
<ferdinandsflowers:block_cff_doublesc:4>,
<ferdinandsflowers:block_cff_doublesd:1>,
<ferdinandsflowers:block_cff_doublesd:0>,
<ferdinandsflowers:block_cff_flowersc:2>,
<ferdinandsflowers:block_cff_ouch:1>,
<ferdinandsflowers:block_cff_ouch:2>,
<ferdinandsflowers:block_cff_ouch:0>,
<minecraft:dye:2>
],
// Red
<ore:dyeRed>.firstItem : [
<ferdinandsflowers:block_cff_desert:1>,
<ferdinandsflowers:block_cff_doubles:4>,
<ferdinandsflowers:block_cff_doublesb:5>,
<ferdinandsflowers:block_cff_doublesd:2>,
<ferdinandsflowers:block_cff_doubless:0>,
<ferdinandsflowers:block_cff_flowersb:5>,
<ferdinandsflowers:block_cff_flowersc:8>,
<ferdinandsflowers:block_cff_flowersc:13>,
<ferdinandsflowers:block_cff_flowersd:2>,
<ferdinandsflowers:block_cff_fungus:1>,
<ferdinandsflowers:block_cff_fungus:2>,
<ferdinandsflowers:block_cff_fungus:3>,
<minecraft:double_plant:4>,
<minecraft:dye:1>,
<minecraft:red_flower:4>,
<minecraft:red_flower:0>,
<rustic:wildberries:0>
],
// Black
<ore:dyeBlack>.firstItem : [
<actuallyadditions:block_black_lotus:0>,
<minecraft:dye:0>,
<nex:wither_dust:0>
]
};
function init() {
// ==================================
// Loop over the Vanilla Dyes and remove all recipes for them.
for minecraftDye in minecraftDyes {
// Remove Vanilla recipes.
recipes.remove(minecraftDye);
// Remove AA Crusher recipes.
actuallyAdditions.removeCrusher(minecraftDye);
}
var IE_CRUSHER_ENERGY as int = 3200;
var HP_GRINDSTONE_TIME as int = 12;
// ==================================
// Loop over the Crushing recipes to create the correct recipes based on our Dye setup.
for dye, items in scripts.crafttweaker.integrations.dye.dyeCrushingRecipes {
// Re-create wool -> string/dye recipe
if (dye.metadata == 0) {
// White wool doesn't output dye.
immersiveEngineering.addCrusher(<minecraft:string:0> * 4, <minecraft:wool:0>.definition.makeStack(dye.metadata), IE_CRUSHER_ENERGY);
} else {
immersiveEngineering.addCrusher(<minecraft:string:0> * 4, <minecraft:wool:0>.definition.makeStack(dye.metadata), IE_CRUSHER_ENERGY, dye, 0.05);
}
for item in items {
actuallyAdditions.addCrusher(dye * 2, item);
betterWithMods.addMilling([item], [dye * 2]);
immersiveEngineering.addCrusher(dye * 2, item, IE_CRUSHER_ENERGY);
horsePower.addGrindstone(dye, item, HP_GRINDSTONE_TIME, false);
mekanism.addCrusher(item, dye * 2);
}
// ==================================
// Re-create Minecraft Wool Dying Recipes
var dyeName as string = minecraftDyeIdTable[15 - dye.metadata];
var dyeOredict as IOreDictEntry = oreDict.get("dye" ~ utils.capitalize(dyeName));
recipes.addShaped("dye_wool_" ~ dyeName,
<minecraft:wool:0>.definition.makeStack(dye.metadata) * 8, [
[<ore:wool>, <ore:wool>, <ore:wool>],
[<ore:wool>, dyeOredict, <ore:wool>],
[<ore:wool>, <ore:wool>, <ore:wool>]
]
);
}
<ore:dyeSilver>.add(<ore:dyeLightGray>.firstItem); // TODO: remove when AE2 accepts dyeLightGray
}

View File

@ -0,0 +1,93 @@
/*
SevTech: Ages Abyssalcraft Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.abyssalcraft.InfusionRitual;
import mods.abyssalcraft.Rituals;
import mods.abyssalcraft.SummonRitual;
import scripts.crafttweaker.stages.stageOne;
import scripts.crafttweaker.stages.stageTwo;
function init() {
// Materializer
abyssalcraft.removeMaterialization(<minecraft:elytra:0>);
// Crystallizer
abyssalcraft.addSingleCrystallization(<charcoalblock:charcoal_block:0>, <abyssalcraft:crystal:3> * 2, 0.1);
// Transmutator Recipes
abyssalcraft.removeTransmutation(<abyssalcraft:crystalshard:0>); // Iron
abyssalcraft.removeTransmutation(<minecraft:netherbrick:0>); // Nether Brick
// Ritual Staging
abyssalcraft.addRitualStage(stageOne.stage, "ascraftingtable");
abyssalcraft.addRitualStage(stageTwo.stage, "constellationpaper");
abyssalcraft.addRitualStage(stageTwo.stage, "transmutationGem");
abyssalcraft.addRitualStage(stageTwo.stage, "oblivionCatalyst");
// Infusion Ritual
InfusionRitual.addRitual("beneathritual", 0, 0, 1000, false, <beneath:teleporterbeneath:0>, <progressiontweaks:blank_teleporter:0>, [
<bloodmagic:monster_soul:0>, <abyssalcraft:stone:7>, <abyssalcraft:stone:7>,
<betterwithmods:material:18>, <abyssalcraft:stone:7>, <minecraft:gunpowder:0>,
<abyssalcraft:stone:7>, <minecraft:dark_oak_fence_gate:0>
], false, []);
game.setLocalization("ac.ritual.beneathritual", "Beneath Portal Creation Ritual");
// Astral Sorcery Table 1
InfusionRitual.addRitual("ascraftingtable", 0, 0, 1000, false, <astralsorcery:blockaltar:0>, <minecraft:crafting_table:0>, [
<bloodmagic:slate:1>, <astralsorcery:itemcraftingcomponent:0>, <ore:stoneMarble>,
<astralsorcery:itemcraftingcomponent:0>, <bloodmagic:slate:1>, <astralsorcery:itemcraftingcomponent:0>,
<ore:stoneMarble>, <astralsorcery:itemcraftingcomponent:0>
], false, []);
game.setLocalization("ac.ritual.ascraftingtable", "Luminous Crafting Table Creation");
game.setLocalization("ac.ritual.ascraftingtable.desc", "This ritual can only be performed in Age 1");
// Astral Sorcery Constellation Paper
InfusionRitual.addRitual("constellationpaper", 0, 0, 500, false, <astralsorcery:itemconstellationpaper:0>, <astralsorcery:itemcraftingcomponent:5>, [
<ore:asCrystal>, <astralsorcery:itemcraftingcomponent:0>, <minecraft:gold_ingot:0>,
<astralsorcery:itemcraftingcomponent:0>, <ore:asCrystal>, <astralsorcery:itemcraftingcomponent:0>,
<minecraft:gold_ingot:0>, <astralsorcery:itemcraftingcomponent:0>
], false, []);
game.setLocalization("ac.ritual.constellationpaper", "Constellation Paper");
game.setLocalization("ac.ritual.constellationpaper.desc", "This ritual can only be performed in Age 2");
// Summon parrots because I can't stand this fucking god damn RNG in this fucking game
SummonRitual.addRitual("parrots", 0, -1, 100, false, "minecraft:parrot", [<minecraft:feather:0>, <minecraft:wheat_seeds:0>, <minecraft:feather:0>, <minecraft:egg:0>, <minecraft:feather:0>, <minecraft:wheat_seeds:0>, <minecraft:feather:0>, <minecraft:egg:0>]);
game.setLocalization("ac.ritual.parrots", "Parrot Summoning Ritual");
game.setLocalization("ac.ritual.parrots.desc", "This ritual allows you to summon a Parrot without searching for a jungle");
//Summons the Sevadus Boss to your world. Prepare for the rektening
SummonRitual.addRitual("sevadus", 0, -1, 5000, false, "playerbosses:player_boss", [<minecraft:skull:2>, <extendedcrafting:material:32>, <extendedcrafting:singularity_ultimate>, <extendedcrafting:material:32>, <extraplanets:tier7_items:7>, <extendedcrafting:material:32>, <extendedcrafting:singularity_ultimate>, <extendedcrafting:material:32>]);
game.setLocalization("ac.ritual.sevadus", "Sevadus Summoning Ritual");
game.setLocalization("ac.ritual.sevadus.desc", "Summons Sevadus the ultimate boss of the Universe. Defeat him to defeat SevTech: Ages");
// Infuse RF Tools Syringe with cow essence to make mooshroom essence for the Peace Essence for the Peaceful Environment Dimlet
InfusionRitual.addRitual("mooshroomessence", 0, -1, 100, true, <rftools:syringe>.withTag({mobName: "Mooshroom", level: 10, mobId: "minecraft:mooshroom"}), <rftools:syringe>, [
<minecraft:red_mushroom_block>, <minecraft:red_mushroom_block>,
<minecraft:red_mushroom>, <minecraft:red_mushroom>, <minecraft:red_mushroom>,
<primal:pelt_cow>, <minecraft:bone>, <minecraft:beef>
], false, []);
game.setLocalization("ac.ritual.mooshroomessence", "Mooshroom Essence Syringe Ritual");
game.setLocalization("ac.ritual.mooshroomessence.desc", "This ritual fills a syringe with mooshroom essence for creating an RF Tools peaceful dimlet");
// Ritual Modifications
Rituals.modifyRitualOfferings("transmutationGem", [
<minecraft:ender_pearl:0>, <astralsorcery:itemcraftingcomponent:0>, <twilightforest:transformation_powder:0>,
<astralsorcery:itemcraftingcomponent:0>, <minecraft:ender_pearl:0>, <astralsorcery:itemcraftingcomponent:0>,
<twilightforest:transformation_powder:0>, <astralsorcery:itemcraftingcomponent:0>
]);
// Oblivion Catalyst
Rituals.modifyRitualSacrifice("oblivionCatalyst", <minecraft:ender_pearl:0>);
Rituals.modifyRitualOfferings("oblivionCatalyst", [
<abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>, <abyssalcraft:oblivionshard:0>,
<minecraft:prismarine_shard:0>, <abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>,
<abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>
]);
}

View File

@ -0,0 +1,58 @@
/*
SevTech: Ages Actually Additions Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import mods.actuallyadditions.AtomicReconstructor;
import mods.actuallyadditions.BallOfFur;
import mods.actuallyadditions.Empowerer;
/*
Support:
Atomic Reconstructor: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/AtomicReconstructor/
Ball of Fur: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/BallOfFur/
Empowerer: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/Empowerer/
*/
function init() {
// Atomic Reconstructor
AtomicReconstructor.addRecipe(<mysticalagriculture:crafting:0>, <extraplanets:saturn:12>, 500000);
AtomicReconstructor.removeRecipe(<actuallyadditions:item_color_lens:0>);
// Crusher
actuallyAdditions.addCrusher(<minecraft:diamond:0> * 9 , <minecraft:diamond_block:0>); // Diamond Block -> Diamonds
actuallyAdditions.addCrusher(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>); // Lapis Block -> Lapis
actuallyAdditions.addCrusher(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>); // Redstone Block -> Redstone
actuallyAdditions.addCrusher(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>); // Emerald Block -> Emerald
actuallyAdditions.addCrusher(<minecraft:prismarine_shard:0> * 4, <minecraft:prismarine:0>); // Prismarine -> Prismarine Shard
actuallyAdditions.removeCrusher(<minecraft:sugar:0>); // Remove the bad Rice Recipe
actuallyAdditions.addCrusher(<betterwithaddons:japanmat:4>, <actuallyadditions:item_food:16>); // Rice -> Rice Flower
actuallyAdditions.removeCrusher(<actuallyadditions:item_dust:4>); // Remove Crushed Lapis
actuallyAdditions.addCrusher(<minecraft:dye:15> * 3, <death_compass:death_compass>.withTag({})); // Death Compass -> Bone Meal
// Ball of Fur
// Removing items from Balls of Fur
var ballOfFurRemovalItems as IItemStack[] = [
<minecraft:diamond:0>,
<minecraft:ender_pearl:0>,
<minecraft:gold_ingot:0>,
<minecraft:iron_ingot:0>,
<minecraft:leather:0>
];
for item in ballOfFurRemovalItems {
BallOfFur.removeReturn(item);
}
// Empowerer
Empowerer.addRecipe(<mysticalagriculture:crafting:5> * 4, <minecraft:prismarine_shard:0>,
<stevescarts:modulecomponents:45>, <extraplanets:jupiter:4>, <mysticalagriculture:crafting:0>, <extraplanets:neptune:6>,
5000, 200, [0.698, 0.870, 0.960]
);
}

View File

@ -0,0 +1,85 @@
/*
SevTech: Ages Applied Energistics 2 Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import scripts.crafttweaker.utils;
static ae as IItemStack[string][string] = {
press: {
engineering: <appliedenergistics2:material:14>,
silicon: <appliedenergistics2:material:19>
},
printed: {
calculation: <appliedenergistics2:material:16>,
engineering: <appliedenergistics2:material:17>,
logic: <appliedenergistics2:material:18>,
silicon: <appliedenergistics2:material:20>
},
processor: {
calculation: <appliedenergistics2:material:23>,
engineering: <appliedenergistics2:material:24>,
logic: <appliedenergistics2:material:22>
}
};
static rs as IItemStack[string][string] = {
printed: {
advanced: <refinedstorage:processor:2>,
basic: <refinedstorage:processor:0>,
improved: <refinedstorage:processor:1>,
silicon: <refinedstorage:processor:6>
},
processor: {
advanced: <refinedstorage:processor:5>,
basic: <refinedstorage:processor:3>,
improved: <refinedstorage:processor:4>,
}
};
function init() {
// Re-create silicon recipe
appliedEnergistics.removeInscribe(ae.printed.silicon);
appliedEnergistics.addInscribe(ae.printed.silicon, <ore:itemSilicon>, true, ae.press.silicon);
// Use GC heavy plating as alternative recipe for printed engineering
appliedEnergistics.addInscribe(ae.printed.engineering, <galacticraftcore:heavy_plating:0>, true, ae.press.engineering);
// ==============================================
// Refined Storage re-creation
appliedEnergistics.addInscribe(<refinedstorage:fluid_interface:0>, <refinedstorage:interface:0>, false, <minecraft:bucket:0>, <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:grid:2>, <refinedstorage:grid:0>, false, ae.processor.engineering, <refinedstorage:pattern:0>);
appliedEnergistics.addInscribe(<refinedstorage:grid:3>, <refinedstorage:grid:0>, false, ae.processor.engineering, <minecraft:bucket:0>);
appliedEnergistics.addInscribe(<refinedstorage:storage:0>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:0>);
appliedEnergistics.addInscribe(<refinedstorage:storage:1>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:1>);
appliedEnergistics.addInscribe(<refinedstorage:storage:2>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:2>);
appliedEnergistics.addInscribe(<refinedstorage:storage:3>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:3>);
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:0>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:0>);
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:1>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:1>);
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:2>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:2>);
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:3>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:3>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:1>, <refinedstorage:upgrade:0>, false, <minecraft:ender_pearl:0>, <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:2>, <refinedstorage:upgrade:0>, false, <minecraft:sugar:0>, <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:3>, <refinedstorage:upgrade:0>, false, <ore:workbench>, <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:6>, <refinedstorage:upgrade:0>, false,
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:silk_touch>.makeEnchantment(1)).ench}), <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:7>, <refinedstorage:upgrade:0>, false,
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(1)).ench}), <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:8>, <refinedstorage:upgrade:0>, false,
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(2)).ench}), <minecraft:redstone:0>);
appliedEnergistics.addInscribe(<refinedstorage:upgrade:9>, <refinedstorage:upgrade:0>, false,
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(3)).ench}), <minecraft:redstone:0>);
appliedEnergistics.addGrindstone(<minecraft:dye:15> * 2, <death_compass:death_compass>.withTag({})); // Death Compass -> Bone Meal
}

View File

@ -0,0 +1,139 @@
/*
SevTech: Ages Astral Sorcery Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.astralsorcery.Altar;
import mods.astralsorcery.LightTransmutation;
import mods.astralsorcery.StarlightInfusion;
import scripts.crafttweaker.craftingUtils;
function init() {
/*
Altar
http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Altar/
*/
// =======================================
// Discovery
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier2");
Altar.addDiscoveryAltarRecipe("sevtech/altar/upgrade_tier2", <astralsorcery:blockaltar:1>, 200, 1600, [
<astralsorcery:blockmarble:2>, <ore:asCrystal>, <astralsorcery:blockmarble:2>,
<astralsorcery:blockmarble:4>, craftingUtils.getBucketIngredient(<liquid:astralsorcery.liquidstarlight>), <astralsorcery:blockmarble:4>,
<astralsorcery:blockmarble:2>, null, <astralsorcery:blockmarble:2>
]);
// =======================================
// Attunement
Altar.addAttunementAltarRecipe("sevtech/altar/illimination_powder", <astralsorcery:itemusabledust:0> * 8, 80, 600, [
<betterwithmods:sand_pile:0>, <astralsorcery:itemcraftingcomponent:0>, <betterwithmods:sand_pile:0>,
null, <minecraft:gunpowder:0>, null,
<betterwithmods:sand_pile:0>, null, <betterwithmods:sand_pile:0>,
<quark:glass_shards:0>, <quark:glass_shards:0>, <quark:glass_shards:0>, <quark:glass_shards:0>
]);
Altar.addAttunementAltarRecipe("sevtech/altar/starmetal_ore", <astralsorcery:blockcustomore:1> * 1, 1400, 600, [
<astralsorcery:itemusabledust:0>, <astralsorcery:itemcraftingcomponent:2>, <astralsorcery:itemusabledust:0>,
<minecraft:stone:0>, <geolosys:cluster:0>, <minecraft:stone:0>,
<astralsorcery:itemusabledust:0>, <astralsorcery:itemcraftingcomponent:2>, <astralsorcery:itemusabledust:0>,
<astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>
]);
// Conversion Wand
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/tool_exchange");
Altar.addAttunementAltarRecipe("sevtech/altar/conversion_wand", <astralsorcery:itemexchangewand:0> * 1, 600, 180, [
null, <astralsorcery:itemcraftingcomponent:2>, <thebetweenlands:crimson_middle_gem:0>,
<minecraft:diamond:0>, <astralsorcery:blockmarble:6>, null,
<astralsorcery:blockmarble:6>, null, null,
null, null, <astralsorcery:blockmarble:6>, null
]);
// Modifies the Altar recipe to use TF items
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier3");
Altar.addAttunementAltarRecipe("sevtech/altar/upgrade_tier3", <astralsorcery:blockaltar:2>, 1250, 600, [
<astralsorcery:blockworldilluminator:0>, <twilightforest:firefly_jar:0>, <astralsorcery:blockworldilluminator:0>,
<twilightforest:maze_stone:3>, <ore:asCrystal>, <twilightforest:maze_stone:3>,
<twilightforest:maze_stone:6>, <twilightforest:ironwood_ingot:0>, <twilightforest:maze_stone:6>,
<twilightforest:liveroot:0>, <twilightforest:liveroot:0>, <twilightforest:maze_stone:2>, <twilightforest:maze_stone:2>
]);
// =======================================
// Constellation
// Resplendent Prism
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/enchantment_amulet_craft");
Altar.addConstellationAltarRecipe("sevtech/altar/resplendent_prism", <astralsorcery:itemenchantmentamulet:0>, 3100, 600, [
<astralsorcery:itemcraftingcomponent:1>, <ore:string>, <astralsorcery:itemcraftingcomponent:1>,
<twilightforest:trollber:0>, <nex:amethyst_crystal:0>, <twilightforest:trollber:0>,
<minecraft:ender_eye:0>, <astralsorcery:itemshiftingstar:0>, <minecraft:ender_eye:0>,
null, null, null, null,
<ore:string>, <ore:string>, <thebetweenlands:items_misc:18>, <thebetweenlands:items_misc:18>,
<twilightforest:trollber:0>, <twilightforest:trollber:0>, <twilightforest:trollber:0>, <twilightforest:trollber:0>
]);
// Coal Engine
Altar.addConstellationAltarRecipe("sevtech/coal_engine", <stevescarts:cartmodule:0>, 3000, 900, [
metals.fiery.gear, <tconstruct:seared_furnace_controller:0>, metals.fiery.gear,
<minecraft:ghast_tear:0>, <twilightforest:tower_device:12>, <minecraft:ghast_tear:0>,
metals.fiery.gear, <betterwithmods:cooking_pot:1>, metals.fiery.gear,
<minecraft:anvil:0>, <minecraft:anvil:0>, <ironchest:iron_chest:1>, <ironchest:iron_chest:1>,
<minecraft:sticky_piston:0>, <minecraft:sticky_piston:0>,
metals.steeleaf.rod, metals.steeleaf.rod,
metals.steeleaf.rod, metals.steeleaf.rod,
<minecraft:sticky_piston:0>, <minecraft:sticky_piston:0>
]);
// =======================================
// Trait
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/chalice");
Altar.addTraitAltarRecipe("sevtech/altar/chalice", <astralsorcery:blockchalice:0>, 5500, 700, [
// 0-2
null, null, null,
// 3-5
null, null, null,
// 6-8
null, <astralsorcery:itemcraftingcomponent:1>, null,
// 9-12
null, null, null, null,
// 13-14
metals.platinum.ingot, metals.platinum.ingot,
// 15-18
null, null, null, null,
// 19-20
metals.platinum.ingot, metals.platinum.ingot,
// 21-22
<astralsorcery:itemcraftingcomponent:1>, <astralsorcery:itemcraftingcomponent:4>,
// 23-24
<astralsorcery:itemcraftingcomponent:4>, <astralsorcery:blockblackmarble:0>,
// Outer Items, indices 25+
<astralsorcery:itemcraftingcomponent:0>, <astralsorcery:itemcraftingcomponent:0>,
<astralsorcery:itemcraftingcomponent:0>, <astralsorcery:itemcraftingcomponent:0>,
<astralsorcery:itemcraftingcomponent:0>
]);
// Sextants
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/sextant");
/*
Starlight Infusion
http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Infusion/
*/
StarlightInfusion.addInfusion(<appliedenergistics2:material:3>, <astralsorcery:itemcraftingcomponent:2>, false, 0.25, 300);
/*
Starlight Transmutation
https://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Transmutation/
*/
LightTransmutation.addTransmutation(<extraplanets:kepler22b:2>, <mysticalagriculture:inferium_ore:0>, 1000);
LightTransmutation.addTransmutation(<extraplanets:kepler22b:4>, <mysticalagriculture:prosperity_ore:0>, 1000);
astralSorcery.addGrindstone(<death_compass:death_compass>.withTag({}), <minecraft:dye:15> * 2); // Death Compass -> Bone Meal
}

View File

@ -0,0 +1,284 @@
/*
SevTech: Ages Better With Mods/Addons Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import mods.betterwithaddons.Condensed;
import mods.betterwithmods.MiniBlocks;
import mods.betterwithmods.Turntable;
import mods.betterwithmods.Saw;
/*
Recipes to be removed from the Kiln.
*/
static kilnRemovals as IItemStack[] = [
<betterwithmods:raw_pastry:3>
];
/*
Recipes to be removed from the Mill.
*/
static millRemovals as IItemStack[][] = [
[<betterwithmods:material:33>],
[<betterwithmods:raw_pastry:3>],
[<minecraft:dye:11>],
[<minecraft:dye:12>],
[<minecraft:dye:13>],
[<minecraft:dye:14>],
[<minecraft:dye:1>],
[<minecraft:dye:3>],
[<minecraft:dye:7>],
[<minecraft:dye:9>],
[<minecraft:string>, <minecraft:dye:1>]
];
/*
Recipes to be removed from the Soaking Box.
*/
static soakingRemovals as IItemStack[] = [
<betterwithaddons:log_mulberry:0>,
<betterwithaddons:japanmat:36>
];
/*
Recipes to be removed from the Cauldron.
Note: Removing by output also requires the amount of the output item that is given.
*/
static cauldronRemovals as IItemStack[][] = [
[<betterwithmods:fertilizer:0> * 8],
[<betterwithmods:material:1> * 4],
[<betterwithmods:material:12>],
[<betterwithmods:material:12> * 2],
[<betterwithmods:material:12> * 3],
[<betterwithmods:material:12> * 4],
[<betterwithmods:material:6>],
[<rustic:tallow:0>],
// Remove Cut Leather (Tanned) from Cauldron and oredict
[<betterwithmods:material:32> * 2],
// Remove Pot As recipes because a single recipe with all wooden items is confusing.
[<betterwithmods:material:21>],
[<betterwithmods:material:21> * 2],
[<betterwithmods:aesthetic:11>],
[<betterwithaddons:sapling_luretree:0>]
];
/*
Recipes to be removed from the Crucible.
*/
static crucibleRemovals as IItemStack[][] = [
[<betterwithaddons:decomat:3>],
[<betterwithaddons:decomat:3> * 2],
[<minecraft:glass:0>],
[<minecraft:iron_ingot:0> * 3]
];
/*
Recipes to be removed from the Saw.
*/
static sawRemovals as IItemStack[][] = [
//Sawing Corners only give 1 gear instead of 2
[<betterwithmods:material:0> * 2],
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}), <betterwithmods:material:9>, <betterwithmods:material:0>, <minecraft:iron_ingot:0> * 2],
[<betterwithmods:material:32> * 3, <betterwithmods:material:9>, <betterwithmods:material:0>, <betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 2],
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <betterwithmods:material:0> * 3, <betterwithmods:material:34>],
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <minecraft:iron_ingot:0>, <betterwithmods:material:0>, <betterwithmods:material:34>],
[<betterwithmods:moulding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <betterwithmods:material:0>, <minecraft:wooden_pressure_plate:0>],
[<betterwithmods:moulding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:diamond:0>],
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:diamond:0>]
];
/*
Pelt Mapping for both Large and Standard.
*/
static pelts as IIngredient[] = [
<minecraft:rabbit_hide:0>,
<primal:pelt_animal:0>,
<primal:pelt_dog:0>,
<primal:pelt_gator:0>,
<primal:pelt_ovis:0>,
<primal:pelt_pig:0>,
<primal:pelt_shark:0>,
<primal:pelt_sheep:0>,
<primal:pelt_wolf:0>
];
static largePelts as IIngredient[] = [
<primal:pelt_animal_large:0>,
<primal:pelt_bear_black:0>,
<primal:pelt_bear_brown:0>,
<primal:pelt_bear_polar:0>,
<primal:pelt_cow:0>,
<primal:pelt_donkey:0>,
<primal:pelt_horse:0>,
<primal:pelt_llama:0>,
<primal:pelt_mooshroom:0>,
<primal:pelt_mule:0>
];
// TODO: USE THIS FOR THE REST OF RECIPE ADDITIONS!
// [Outputs] : [Inputs]
static sawRecipes as IIngredient[][IItemStack[]] = {
[<minecraft:stick:0> * 2]: [
<minecraft:leaves:*>,
<minecraft:leaves2:*>,
<abyssalcraft:dltleaves:0>,
<abyssalcraft:dreadleaves:0>,
<betterwithmods:blood_leaves:0>,
<betterwithaddons:leaves_luretree:0>,
<betterwithaddons:leaves_mulberry:0>,
<betterwithaddons:leaves_sakura:0>,
<natura:overworld_leaves:*>,
<natura:overworld_leaves2:*>,
<natura:redwood_leaves:0>,
<natura:nether_leaves:*>,
<natura:nether_leaves2:*>,
<rustic:leaves:*>,
<rustic:leaves_apple:0>,
<twilightforest:dark_leaves:0>,
<twilightforest:giant_leaves:*>,
<twilightforest:twilight_leaves:*>,
<twilightforest:twilight_leaves_3:*>,
<twilightforest:magic_leaves:*>,
<totemic:cedar_leaves:0>,
<thebetweenlands:leaves_sap_tree:0>,
<thebetweenlands:leaves_rubber_tree:0>,
<thebetweenlands:leaves_hearthgrove_tree:0>,
<thebetweenlands:leaves_spirit_tree_top:0>,
<thebetweenlands:leaves_spirit_tree_middle:0>,
<thebetweenlands:leaves_spirit_tree_bottom:0>,
<traverse:brown_autumnal_leaves>,
<traverse:orange_autumnal_leaves>,
<traverse:red_autumnal_leaves>,
<traverse:yellow_autumnal_leaves>,
<traverse:fir_leaves:0>
],
[<thebetweenlands:items_misc:20> * 2]: [<thebetweenlands:leaves_weedwood_tree:0>],
[<thebetweenlands:nibblestick:0> * 2]: [<thebetweenlands:leaves_nibbletwig_tree:0>],
[<betterwithmods:material:0>]: [ MiniBlocks.getMiniBlock("corner", <ore:plankWood>) ],
[<minecraft:melon:0> * 9]: [ <minecraft:melon_block:0> ],
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:quartz:0>]: [<minecraft:jukebox:0>]
};
function init() {
/*
Removals
*/
for removal in kilnRemovals {
betterWithMods.removeKiln(removal);
}
for removal in millRemovals {
betterWithMods.removeMilling(removal);
}
for removal in soakingRemovals {
betterWithMods.removeSoaking(removal);
}
for removal in cauldronRemovals {
betterWithMods.removeCauldron(removal);
}
for removal in crucibleRemovals {
betterWithMods.removeCrucible(removal);
}
for removal in sawRemovals {
betterWithMods.removeSaw(removal);
}
/*
Additions
*/
for sawOutputs, sawInputs in sawRecipes {
for sawInput in sawInputs {
for sawInputItem in sawInput.items {
Saw.builder()
.buildRecipe(sawInput, sawOutputs)
.setInputBlockDrop(sawInputItem as IItemStack)
.build();
}
}
}
// Turntable
Turntable.builder()
.buildRecipe(<ceramics:clay_barrel_unfired:0>, [])
.setProductState(<ceramics:clay_barrel_unfired:1>)
.build();
Turntable.builder()
.buildRecipe(<ceramics:clay_barrel_unfired:1>, [])
.setProductState(<ceramics:clay_bucket_block:0>)
.build();
// Mill
// Rice Flour
betterWithMods.addMilling([<actuallyadditions:item_food:16>], [<betterwithaddons:japanmat:4>]);
// THERE CAN BE ONLY 1 FLOUR!
betterWithMods.addMilling([<minecraft:wheat:0>], [<horsepower:flour:0>]);
betterWithMods.addMilling([<natura:materials:0>], [<horsepower:flour:0>]);
// Other
betterWithMods.addMilling([<minecraft:flint:0>, <minecraft:clay_ball:0>, <pickletweaks:dye_powder:0>], [<ceramics:unfired_clay:4>]);
betterWithMods.addMilling([<minecraft:sand:0>, <minecraft:clay_ball:0>, <minecraft:gravel:0>], [<tconstruct:soil:0> * 2]);
betterWithMods.addMilling([<actuallyadditions:block_misc:3>], [<actuallyadditions:item_dust:7>]);
betterWithMods.addMilling([<materialpart:aquamarine:ore_minecraft_stone>], [<astralsorcery:itemcraftingcomponent:0> * 1]);
betterWithMods.addMilling([<primal_tech:flint_block>], [<minecraft:flint:0> * 2]);
betterWithMods.addMilling([<charcoalblock:charcoal_block:0>], [<minecraft:coal:1> * 9]);
betterWithMods.addMilling([<primal_tech:charcoal_block>], [<minecraft:coal:1> * 4]);
betterWithMods.addMilling([<minecraft:coal_block:0>], [<minecraft:coal:0> * 9]);
betterWithMods.addMilling([<minecraft:cobblestone:0>], [<tconstruct:stone_stick:0> * 1]);
betterWithMods.addMilling([<astralsorcery:itemcraftingcomponent:1>], [<astralsorcery:itemcraftingcomponent:2>]);
betterWithMods.addMilling([<minecraft:quartz:0>], [<appliedenergistics2:material:3>]);
betterWithMods.addMilling([<primal:sharp_bone:0>], [<primal:bone_knapp:0>]);
betterWithMods.addMilling([<primal:shark_tooth:0>], [<minecraft:dye:15> * 2]);
betterWithMods.addMilling([<betterwithmods:companion_cube>], [<minecraft:string> * 10, <pickletweaks:dye_powder:14> * 2]);
// Bark
for bark in <ore:barkWood>.items {
betterWithMods.addMilling([bark], [<primal:tannin_ground:0> * 2]);
}
// Spindle
betterWithMods.addSpindle([<primal:leather_cordage:0>], <primal:leather_strip:0> * 4, false);
// Condensed
Condensed.setContainer(<betterwithaddons:bolt:0>, <betterwithaddons:spindle:0>);
// Cauldron
betterWithMods.addCauldron([<ore:dustCarbon>, <betterwithmods:material:16>], [<betterwithmods:material:1>]);
betterWithMods.addCauldron([<minecraft:rotten_flesh:0>, <minecraft:rotten_flesh:0>, <minecraft:rotten_flesh:0>], [<betterwithmods:material:12>]);
betterWithMods.addCauldron([<primal:pigman_hide_raw:0>], [<betterwithmods:material:12> * 2]);
betterWithMods.addCauldron([<animalium:wild_dog_pelt:0>], [<betterwithmods:material:12>]);
betterWithMods.addCauldron([<totemic:buffalo_items:0>], [<betterwithmods:material:12> * 2]);
betterWithMods.addCauldron([<primal:wolf_head_item:0>], [<betterwithmods:material:12>, <primal:bone_knapp:0>]);
betterWithMods.addCauldron([<minecraft:sapling:2>, <minecraft:wheat:0> * 16, <pickletweaks:dye_powder:14> * 8, <minecraft:rotten_flesh:0> * 4], [<betterwithaddons:sapling_luretree:0>]);
// Remake laxative recipe using foodFlour instead of BWM flour only.
betterWithMods.addCauldron([<betterwithaddons:food_mulberry:0> * 3, <minecraft:sugar:0>, <ore:foodFlour>], [<betterwithaddons:laxative:0>]);
//==============================
// Stoked
// betterWithMods.addCauldron(IIngredient[] inputs, IItemStack[] outputs, true);
//==============================
betterWithMods.addCauldron([<ore:logWood>], [<betterwithmods:material:21> * 2], true);
betterWithMods.addCauldron([<ore:plankWood> * 4], [<betterwithmods:material:21>], true);
betterWithMods.addCauldron([<ore:dustWood> * 16], [<betterwithmods:material:21>], true);
// Pelt Recipes
for pelt in pelts {
betterWithMods.addCauldron([pelt], [<betterwithmods:material:12>]);
}
for largePelt in largePelts {
betterWithMods.addCauldron([largePelt], [<betterwithmods:material:12> * 2]);
}
// Drying Box
betterWithMods.removeDrying(<betterwithaddons:japanmat:2>);
}

View File

@ -0,0 +1,32 @@
/*
SevTech: Ages Blood Magic Alchemy Array Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
bloodMagic.removeAlchemyArray(<minecraft:redstone:0>, <bloodmagic:slate:3>);
bloodMagic.addAlchemyArray(<bloodmagic:sigil_divination:0>, <betterwithaddons:tweakmat:0>, <bloodmagic:slate:0>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_sword:0>);
bloodMagic.addAlchemyArray(<bloodmagic:bound_sword:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_sword:0>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_pickaxe:0>);
bloodMagic.addAlchemyArray(<bloodmagic:bound_pickaxe:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_pickaxe:0>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_axe:0>);
bloodMagic.addAlchemyArray(<bloodmagic:bound_axe:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_axe:0>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_shovel:0>);
bloodMagic.addAlchemyArray(<bloodmagic:bound_shovel:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_shovel:0>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:11>, <bloodmagic:slate:1>);
bloodMagic.addAlchemyArray(<bloodmagic:sigil_blood_light:0>, <bloodmagic:component:11>, <bloodmagic:slate:1>);
bloodMagic.removeAlchemyArray(<bloodmagic:component:27>, <bloodmagic:slate:1>);
bloodMagic.addAlchemyArray(<bloodmagic:sigil_holding:0>, <bloodmagic:component:27>, <bloodmagic:slate:1>);
}

View File

@ -0,0 +1,13 @@
/*
SevTech: Ages Blood Magic Alchemy Table Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
bloodMagic.removeAlchemyTable([<minecraft:wheat:0>, <minecraft:sugar:0>]);
}

View File

@ -0,0 +1,25 @@
/*
SevTech: Ages Blood Magic Blood Altar Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
bloodMagic.removeAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:apprentice"}));
bloodMagic.addAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:apprentice"}), <abyssalcraft:cpearl:0>, 1, 5000, 5, 5);
bloodMagic.removeAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:weak"}));
bloodMagic.addAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:weak"}), <tconstruct:edible:3>, 0, 2000, 2, 1);
bloodMagic.removeAltar(<bloodmagic:sanguine_book:0>);
bloodMagic.addAltar(<bloodmagic:sanguine_book:0>, <primal:plant_cloth:0>, 0, 1000, 20, 0);
bloodMagic.removeAltar(<bloodmagic:dagger_of_sacrifice:0>);
bloodMagic.addAltar(<bloodmagic:dagger_of_sacrifice:0>, <actuallyadditions:item_sword_quartz:0>, 0, 3000, 5, 5);
bloodMagic.addAltar(<cyclicmagic:food_step:0>, <minecraft:apple:0>, 0, 1500, 5, 5);
}

View File

@ -0,0 +1,17 @@
#priority -50
/*
SevTech: Ages Blood Magic Loader Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
scripts.crafttweaker.integrations.mods.bloodmagic.alchemyArray.init();
scripts.crafttweaker.integrations.mods.bloodmagic.alchemyTable.init();
scripts.crafttweaker.integrations.mods.bloodmagic.bloodAltar.init();
scripts.crafttweaker.integrations.mods.bloodmagic.tartaricForge.init();
}

View File

@ -0,0 +1,122 @@
/*
SevTech: Ages Blood Magic Tartaric Forge Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.bloodmagic.TartaricForge;
function init() {
TartaricForge.removeRecipe([<minecraft:redstone:0>, <pickletweaks:dye_powder:0>, <minecraft:gunpowder:0>, <minecraft:coal:*>]);
TartaricForge.addRecipe(
<bloodmagic:arcane_ashes:0>,
[<betterwithaddons:tweakmat:0>, <minecraft:gunpowder:0>, <pickletweaks:dye_powder:0>, <minecraft:coal:1>],
0, 0
);
TartaricForge.removeRecipe([<minecraft:glowstone:0>, <minecraft:torch:0>, <minecraft:redstone:0>, <minecraft:redstone:0>]);
TartaricForge.addRecipe(
<bloodmagic:component:11>,
[<betterwithmods:candle:*>, <minecraft:torch:0>, <betterwithaddons:tweakmat:0>, <betterwithaddons:tweakmat:0>],
200, 10
);
TartaricForge.removeRecipe([<minecraft:ice:0>, <minecraft:snowball:0>, <minecraft:snowball:0>, <minecraft:redstone:0>]);
TartaricForge.addRecipe(
<bloodmagic:component:32>,
[<minecraft:snow:0>, <minecraft:snowball:0>, <minecraft:snowball:0>, <betterwithaddons:tweakmat:0>],
80, 10
);
TartaricForge.removeRecipe([<bloodmagic:teleposer:0>, <minecraft:diamond:0>, <minecraft:ender_pearl:0>, <minecraft:obsidian:0>]);
TartaricForge.addRecipe(
<bloodmagic:component:18>,
[<bloodmagic:teleposer:0>, metals.platinum.ingot, <minecraft:ender_pearl:0>, <minecraft:obsidian:0>],
1500, 200
);
TartaricForge.removeRecipe([<minecraft:iron_block:0>, <minecraft:diamond:0>, <bloodmagic:slate:2>]);
TartaricForge.addRecipe(
<bloodmagic:master_routing_node:0>,
[metals.iron.block, metals.platinum.ingot, <bloodmagic:slate:2>],
400, 200
);
TartaricForge.removeRecipe([<minecraft:diamond_chestplate:0>, <bloodmagic:soul_gem:1>, <minecraft:iron_block:0>, <minecraft:obsidian:0>]);
TartaricForge.addRecipe(
<bloodmagic:sentient_armour_gem:0>,
[<minecraft:golden_chestplate:0>, <bloodmagic:soul_gem:1>, metals.iron.block, <minecraft:obsidian:0>],
240, 150
);
TartaricForge.removeRecipe([<minecraft:ghast_tear:0>, <minecraft:feather:0>, <minecraft:feather:0>]);
TartaricForge.addRecipe(
<bloodmagic:component:2>,
[<minecraft:ghast_tear:0>, <twilightforest:raven_feather:0>, <twilightforest:raven_feather:0>, <minecraft:elytra:0>],
128, 20
);
TartaricForge.removeRecipe([<bloodmagic:soul_forge:0>, <minecraft:stone:0>, <minecraft:dye:4>, <minecraft:glass:0>]);
TartaricForge.addRecipe(
<bloodmagic:demon_crystallizer:0>,
[<bloodmagic:soul_forge:0>, <ore:stone>, metals.manyullyn.ingot, <ore:blockGlass>],
500, 100
);
TartaricForge.removeRecipe([<bloodmagic:soul_gem:0>, <minecraft:diamond:0>, <minecraft:redstone_block:0>, <minecraft:lapis_block:0>]);
TartaricForge.addRecipe(
<bloodmagic:soul_gem:1>,
[<bloodmagic:soul_gem:0>, <abyssalcraft:shadowshard:0>, metals.bronze.ingot, <minecraft:fermented_spider_eye:0>],
60, 20
);
TartaricForge.removeRecipe([<bloodmagic:soul_gem:1>, <minecraft:diamond:0>, <minecraft:gold_block:0>, <bloodmagic:slate:2>]);
TartaricForge.addRecipe(
<bloodmagic:soul_gem:2>,
[<bloodmagic:soul_gem:1>, <abyssalcraft:shadowgem:0>, metals.gold.block, <bloodmagic:slate:2>],
240, 50
);
TartaricForge.removeRecipe([<minecraft:stick:0>, <bloodmagic:slate:1>, <minecraft:dye:4>, <minecraft:dye:4>]);
TartaricForge.addRecipe(
<bloodmagic:node_router:0>,
[<ore:stickWood>, <bloodmagic:slate:1>, <minecraft:dye:4>, <minecraft:blaze_rod:0>],
400, 5
);
TartaricForge.removeRecipe([<minecraft:cauldron:0>, <minecraft:stone:0>, <minecraft:dye:4>, <minecraft:diamond:0>]);
TartaricForge.addRecipe(
<bloodmagic:demon_crucible:0>,
[<minecraft:cauldron:0>, <ore:stone>, <minecraft:dye:4>, metals.platinum.ingot],
400, 5
);
TartaricForge.removeRecipe([<minecraft:glass:0>, <minecraft:stone:0>, <bloodmagic:slate:0>]);
TartaricForge.addRecipe(
<bloodmagic:component:10>,
[<ore:blockGlass>, <bloodmagic:slate:0>, <minecraft:dye:4>, metals.silver.ingot],
400, 10
);
TartaricForge.removeRecipe([<minecraft:redstone:0>, <minecraft:gold_ingot:0>, <minecraft:glass:0>, <pickletweaks:dye_powder:11>]);
TartaricForge.addRecipe(
<bloodmagic:soul_gem:0>,
[<betterwithaddons:tweakmat:0>, metals.bronze.ingot, <pickletweaks:dye_powder:11>, <abyssalcraft:shadowfragment:0>],
1, 1
);
TartaricForge.addRecipe(
<astralsorcery:itemcraftingcomponent:2>,
[<extendedcrafting:material:0>, <astralsorcery:itemrockcrystalsimple:0>, <appliedenergistics2:material:46>, <minecraft:dye:4>],
100, 20
);
TartaricForge.addRecipe(
<bloodmagic:sentient_sword:0>,
[<bloodmagic:soul_gem:0>, <actuallyadditions:item_sword_quartz:0>],
0, 0
);
}

View File

@ -0,0 +1,22 @@
/*
SevTech: Ages Bonsai Trees Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.bonsaitrees.TreeDrops;
function init() {
TreeDrops.addTreeDrop("twilightforest:canopy", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:darkcanopy", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:mangrove", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:minerstree", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:oak", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:rainbow_oak", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:sortingtree", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:treeoftime", <twilightforest:liveroot>, 0.1);
TreeDrops.addTreeDrop("twilightforest:treeoftransformation", <twilightforest:liveroot>, 0.1);
}

View File

@ -0,0 +1,100 @@
/*
SevTech: Ages Chisel Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.chisel.Carving;
function init() {
/*
Tinkers' Clear Glass
*/
Carving.addVariation("glass", <tconstruct:clear_glass:0>);
Carving.addVariation("glassdyedwhite", <tconstruct:clear_stained_glass:0>);
Carving.addVariation("glassdyedorange", <tconstruct:clear_stained_glass:1>);
Carving.addVariation("glassdyedmagenta", <tconstruct:clear_stained_glass:2>);
Carving.addVariation("glassdyedlightblue", <tconstruct:clear_stained_glass:3>);
Carving.addVariation("glassdyedyellow", <tconstruct:clear_stained_glass:4>);
Carving.addVariation("glassdyedlime", <tconstruct:clear_stained_glass:5>);
Carving.addVariation("glassdyedpink", <tconstruct:clear_stained_glass:6>);
Carving.addVariation("glassdyedgray", <tconstruct:clear_stained_glass:7>);
Carving.addVariation("glassdyedlightgray", <tconstruct:clear_stained_glass:8>);
Carving.addVariation("glassdyedcyan", <tconstruct:clear_stained_glass:9>);
Carving.addVariation("glassdyedpurple", <tconstruct:clear_stained_glass:10>);
Carving.addVariation("glassdyedblue", <tconstruct:clear_stained_glass:11>);
Carving.addVariation("glassdyedbrown", <tconstruct:clear_stained_glass:12>);
Carving.addVariation("glassdyedgreen", <tconstruct:clear_stained_glass:13>);
Carving.addVariation("glassdyedred", <tconstruct:clear_stained_glass:14>);
Carving.addVariation("glassdyedblack", <tconstruct:clear_stained_glass:15>);
/*
BetweenLands Stone/Rock
*/
// Add CragRock.
Carving.addGroup("cragrock");
Carving.addVariation("cragrock", <thebetweenlands:cragrock_chiseled:0>);
Carving.addVariation("cragrock", <thebetweenlands:cragrock_bricks:0>);
Carving.addVariation("cragrock", <thebetweenlands:cragrock_tiles:0>);
Carving.addVariation("cragrock", <thebetweenlands:smooth_cragrock:0>);
// Add BetweenStone.
Carving.addGroup("betweenstone");
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_bricks:0>);
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_bricks_mirage:0>);
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_tiles:0>);
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_chiseled:0>);
Carving.addVariation("betweenstone", <thebetweenlands:cracked_betweenstone_bricks:0>);
Carving.addVariation("betweenstone", <thebetweenlands:cracked_betweenstone_tiles:0>);
Carving.addVariation("betweenstone", <thebetweenlands:smooth_betweenstone:0>);
Carving.addVariation("betweenstone", <thebetweenlands:weak_betweenstone_tiles:0>);
// Add PitStone.
Carving.addGroup("pitstone");
Carving.addVariation("pitstone", <thebetweenlands:pitstone_chiseled:0>);
Carving.addVariation("pitstone", <thebetweenlands:pitstone_bricks:0>);
Carving.addVariation("pitstone", <thebetweenlands:pitstone_tiles:0>);
Carving.addVariation("pitstone", <thebetweenlands:smooth_pitstone:0>);
// Add Betweenlands Limestone to limestone group
Carving.addVariation("limestone", <thebetweenlands:limestone:0>);
Carving.addVariation("limestone", <thebetweenlands:limestone_chiseled:0>);
Carving.addVariation("limestone", <thebetweenlands:cracked_limestone_bricks:0>);
Carving.addVariation("limestone", <thebetweenlands:limestone_bricks:0>);
Carving.addVariation("limestone", <thebetweenlands:limestone_tiles:0>);
Carving.addVariation("limestone", <thebetweenlands:polished_limestone:0>);
Carving.addVariation("limestone", <thebetweenlands:weak_polished_limestone:0>);
// Add NetherEx Basalt to basalt group
Carving.addVariation("basalt", <nex:basalt:0>);
Carving.addVariation("basalt", <nex:basalt:1>);
Carving.addVariation("basalt", <nex:basalt:2>);
Carving.addVariation("basalt", <nex:basalt:3>);
/*
Remove Iron Pane group
All items are WIP and thus hidden in JEI by us
*/
Carving.removeGroup("ironpane");
/*
Removals
*/
Carving.removeVariation("prismarine", <minecraft:prismarine:2>);
Carving.removeVariation("prismarine", <minecraft:prismarine:1>);
/*
Metals
*/
for oreDictEntry, blocks in chiselBlocks {
var vgName = "vg_" + oreDictEntry.name.toLowerCase();
for block in blocks {
print("[Chisel] Adding " + block.definition.id + " to " + vgName);
Carving.addVariation(vgName, block);
}
}
}

View File

@ -0,0 +1,20 @@
/*
SevTech: Ages Cyclic Magic Integration Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.cyclicmagic.Hydrator;
import crafttweaker.item.IItemStack;
function init() {
// Remove Red Sand recipe
Hydrator.removeShapedRecipe(<minecraft:sand:1>);
// Add Red Sand recipe using dye powder
Hydrator.addRecipe(<minecraft:sand:1>, [<minecraft:sand:0>, <minecraft:sand:0>, <minecraft:sand:0>, <pickletweaks:dye_powder:14>] as IItemStack[], 25);
}

View File

@ -0,0 +1,19 @@
/*
SevTech: Ages Extended Crafting Ender Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
static recipes as IIngredient[][][IItemStack] = {
<galacticraftcore:rocket_workbench:0>: [
[<galacticraftcore:basic_item:9>, <pneumaticcraft:assembly_io_unit:0>, <galacticraftcore:basic_item:9>],
[<appliedenergistics2:material:22>, <extendedcrafting:table_basic:0>, <appliedenergistics2:material:24>],
[<galacticraftcore:basic_item:9>, <pneumaticcraft:printed_circuit_board:0>, <galacticraftcore:basic_item:9>]
]
};

View File

@ -0,0 +1,128 @@
#priority -50
/*
SevTech: Ages Extended Crafting Ender Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import mods.extendedcrafting.CompressionCrafting;
import mods.extendedcrafting.EnderCrafting;
import mods.extendedcrafting.TableCrafting;
function init() {
var enderRecipes as IIngredient[][][IItemStack] = scripts.crafttweaker.integrations.mods.extendedCrafting.enderRecipes.recipes;
var tableRecipes as IIngredient[][][IItemStack] = scripts.crafttweaker.integrations.mods.extendedCrafting.tableRecipes.recipes;
var tierShapedRecipes as IIngredient[][][IItemStack][int] = scripts.crafttweaker.integrations.mods.extendedCrafting.tierTableRecipes.shapedRecipes;
var tierShapelessRecipes as IIngredient[][IItemStack][int] = scripts.crafttweaker.integrations.mods.extendedCrafting.tierTableRecipes.shapelessRecipes;
// Add the Recipes to the Game.
for output, _recipe in enderRecipes {
EnderCrafting.addShaped(output, _recipe);
}
for output, _recipe in tableRecipes {
TableCrafting.addShaped(output, _recipe);
}
for tier, items in tierShapedRecipes {
for output, _recipe in items {
TableCrafting.addShaped(tier, output, _recipe);
}
}
for tier, items in tierShapelessRecipes {
for output, _recipe in items {
TableCrafting.addShapeless(tier, output, _recipe);
}
}
// Create the Compressions.
scripts.crafttweaker.integrations.mods.extendedCrafting.init.initCompressions();
}
/*
Compression Crafting
https://github.com/BlakeBr0/ExtendedCrafting/wiki/Compression-Crafting
[<firstOutput>, <firstInput>]
*/
static compressionCraftingPairs as IItemStack[][] = [
[<overloaded:compressed_cobblestone:0>, <minecraft:cobblestone:0>],
[<overloaded:compressed_obsidian:0>, <minecraft:obsidian:0>]
];
// The RF Rates to be used when making the compression recipes.
static rfRates as int[] = [
200,
250,
300,
400,
500,
600,
700,
800,
1000,
1200,
1400,
1600,
1750,
1850,
2000,
2500
];
/*
Method to handle the compression creating, along with the decompression.
*/
function initCompressions() {
var craftingPairs as IItemStack[][] = scripts.crafttweaker.integrations.mods.extendedCrafting.init.compressionCraftingPairs;
var rfRates as int[] = scripts.crafttweaker.integrations.mods.extendedCrafting.init.rfRates;
for pair in compressionCraftingPairs {
// Check at the start of every pair loop to see if it is one of the unique types.
var isObsidian = pair[1].matches(<minecraft:obsidian:0>);
var isNetherrack = pair[1].matches(<minecraft:netherrack:0>);
// Loop i = 0 through 15 (doesnt do 16)
for i in 0 to 16 {
var output = pair[0].definition.makeStack(i);
var input = pair[1];
// Calculate RF Cost.
var baseCost = (pow(2, i) * 1000) as int;
if (i != 0) {
// If not the initial/standard block to 1x.
input = pair[0].definition.makeStack(i - 1);
}
// Default catalyst.
var catalystMeta = 8;
// Set catalystMeta based on criteria.
if (i <= 7) {
if (isObsidian | isNetherrack) {
catalystMeta = 11;
}
} else if (i <= 11) {
catalystMeta = isObsidian | isNetherrack ? 12 : 11;
} else {
catalystMeta = 13;
}
// Now that we have the meta wanted for the catalyst, create the item.
var catalyst = <extendedcrafting:material:0>.definition.makeStack(catalystMeta);
// Add compression crafting recipe to compress.
CompressionCrafting.addRecipe(output, input, 9, catalyst, baseCost, rfRates[i]);
// Add standard crafting recipe to decompress.
recipes.addShapeless(input * 9, [output]);
}
}
}

View File

@ -0,0 +1,152 @@
/*
SevTech: Ages Table Extended Crafting Table Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
static recipes as IIngredient[][][IItemStack] = {
// Viescraft Airship Ignition
<vc:item_airship_ignition:0>: [
[metals.iron.plate, metals.iron.plate, <minecraft:blaze_rod:0>, metals.iron.plate, metals.iron.plate],
[metals.iron.plate, <minecraft:quartz:0>, metals.platinum.gear, <minecraft:quartz:0>, metals.iron.plate],
[metals.iron.rod, metals.platinum.gear, <stevescarts:cartmodule:0>, metals.platinum.gear, metals.iron.rod],
[metals.iron.plate, <minecraft:quartz:0>, metals.platinum.gear, <minecraft:quartz:0>, metals.iron.plate],
[metals.iron.plate, metals.iron.plate, <minecraft:blaze_rod:0>, metals.iron.plate, metals.iron.plate]
],
// Viescraft Ship Engine
<vc:item_airship_engine:0>: [
[metals.steel.plate, <minecraft:piston:0>, <minecraft:piston:0>, <minecraft:piston:0>, metals.steel.plate],
[metals.iron.plate, metals.fiery.rod, metals.fiery.rod, metals.fiery.rod, metals.iron.plate],
[metals.iron.plate, metals.steeleaf.gear, <stevescarts:cartmodule:44>, metals.steeleaf.gear, metals.iron.plate],
[metals.iron.plate, metals.redstoneAlloy.plate, metals.redstoneAlloy.plate, metals.redstoneAlloy.plate, metals.iron.plate],
[metals.steel.plate, metals.steel.plate, <minecraft:redstone_block:0>, metals.steel.plate, metals.steel.plate]
],
// Viescraft Ship Balloon
<vc:item_airship_balloon:0>: [
[<betterwithmods:rope:0>, <minecraft:string:0>, <betterwithmods:material:4>, <minecraft:string:0>, <betterwithmods:rope:0>],
[<minecraft:string:0>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <minecraft:string:0>],
[<betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>],
[<minecraft:string:0>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <minecraft:string:0>],
[<betterwithmods:rope:0>, <minecraft:string:0>, <betterwithmods:material:4>, <minecraft:string:0>, <betterwithmods:rope:0>]
],
// Advanced mapping stage unlock recipe
<extraplanets:apple_iron:0>: [
[<twilightforest:magic_map_focus:0>, <thebetweenlands:ring_of_flight:0>, <twilightforest:alpha_fur:0>],
[<twilightforest:magic_map_empty:0>, <twilightforest:maze_map_focus:0>, <minecraft:map:0>],
[<twilightforest:charm_of_keeping_3:0>, <twilightforest:lamp_of_cinders:0>, <twilightforest:charm_of_keeping_3:0>]
],
// Stage 4 Machine Frame
<teslacorelib:machine_case:0>: [
[metals.compressedIron.plate, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, metals.compressedIron.plate],
[<industrialforegoing:plastic:0>, <stevescarts:modulecomponents:21>, <pneumaticcraft:printed_circuit_board:0>, <stevescarts:modulecomponents:21>, <industrialforegoing:plastic:0>],
[metals.compressedIron.plate, <appliedenergistics2:material:0>, <extendedcrafting:frame:0>, <appliedenergistics2:material:0>, metals.compressedIron.plate],
[<industrialforegoing:plastic:0>, metals.cobalt.plate, <appliedenergistics2:material:0>, metals.cobalt.plate, <industrialforegoing:plastic:0>],
[metals.compressedIron.plate, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, metals.compressedIron.plate]
],
// Atomic Reconstructor
<actuallyadditions:block_atomic_reconstructor:0>: [
[metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate, <mekanism:basicblock:8>, metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate],
[metals.compressedIron.plate, <quark:biotite:0>, <minecraft:obsidian:0>, <appliedenergistics2:material:18>, <minecraft:obsidian:0>, <quark:biotite:0>, metals.compressedIron.plate],
[metals.compressedIron.plate, <minecraft:dye:4>, metals.redstoneAlloy.plate, <galacticraftplanets:item_basic_mars:5>, metals.redstoneAlloy.plate, <minecraft:ice:0>, metals.compressedIron.plate],
[<actuallyadditions:item_battery_triple:0>, <minecraft:lapis_block:0>, <appliedenergistics2:material:16>, <teslacorelib:machine_case:0>, <appliedenergistics2:material:1>, <environmentaltech:laser_core:0>, <minecraft:emerald:0>],
[metals.compressedIron.plate, <minecraft:dye:4>, metals.redstoneAlloy.plate, <galacticraftplanets:item_basic_mars:5>, metals.redstoneAlloy.plate, <minecraft:ice:0>, metals.compressedIron.plate],
[metals.compressedIron.plate, <quark:biotite:0>, <minecraft:obsidian:0>, <appliedenergistics2:material:17>, <minecraft:obsidian:0>, <quark:biotite:0>, metals.compressedIron.plate],
[metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate, <mekanism:basicblock:8>, metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate]
],
// Building Gadgets #SorryDire
<buildinggadgets:buildingtool>: [
[<minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, null, <betterbuilderswands:wanddiamond:0>, <galacticraftcore:battery:0>, <betterbuilderswands:wanddiamond:0>, null, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, <minecraft:torch:0>, <galacticraftcore:battery:0>, <primal:pelt_wolf:0>, <galacticraftcore:battery:0>, <minecraft:torch:0>, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, null, <betterbuilderswands:wanddiamond:0>, <galacticraftcore:battery:0>, <betterbuilderswands:wanddiamond:0>, null, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <minecraft:cobblestone:0>],
[<minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>]
],
<buildinggadgets:exchangertool>: [
[null, null, null, null, null, null, null, null, null],
[null, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, null, null, <galacticraftcore:battery:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, <minecraft:torch:0>, <galacticraftcore:battery:0>, <astralsorcery:itemexchangewand:0>, <galacticraftcore:battery:0>, <minecraft:torch:0>, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, null, null, <galacticraftcore:battery:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, null, null, <minecraft:torch>, null, null, <overloaded:compressed_cobblestone:0>, null],
[null, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, null],
[null, null, null, null, null, null, null, null, null]
],
<buildinggadgets:copypastetool>: [
[null, null, null, null, null, null, null, null, null],
[null, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <ore:slimeball>, null, <minecraft:paper:0>, null, <ore:slimeball>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <minecraft:paper:0>, <buildinggadgets:buildingtool:*>, <minecraft:paper:0>, <buildinggadgets:constructionpaste>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <ore:slimeball>, null, <minecraft:paper:0>, null, <ore:slimeball>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <overloaded:compressed_cobblestone:1>, null],
[null, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, null],
[null, null, null, null, null, null, null, null, null]
],
// ==================================
// Creative Items
<tconstruct:materials:50>: [
[<ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>],
[<ore:cast>, <ore:slimecrystal>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <mob_grinding_utils:saw_upgrade:1>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <ore:slimecrystal>, <ore:cast>],
[<ore:cast>, <tconstruct:fancy_frame:4>, <extendedcrafting:singularity:3>, <ore:boneWithered>, <mob_grinding_utils:saw_upgrade:5>, <ore:boneWithered>, <extendedcrafting:singularity:2>, <tconstruct:fancy_frame:4>, <ore:cast>],
[<ore:cast>, <abyssalcraft:oblivionshard:0>, <tconstruct:materials:19>, <tconstruct:materials:16>, <ore:compressedDesh>, <tconstruct:materials:16>, <tconstruct:materials:19>, <abyssalcraft:oblivionshard:0>, <ore:cast>],
[<ore:slimecrystal>, <mob_grinding_utils:saw_upgrade:1>, <mob_grinding_utils:saw_upgrade:5>, <ore:compressedDesh>, <trumpetskeleton:trumpet:0>, <ore:compressedDesh>, <mob_grinding_utils:saw_upgrade:5>, <mob_grinding_utils:saw_upgrade:1>, <ore:slimecrystal>],
[<ore:cast>, <abyssalcraft:oblivionshard:0>, <tconstruct:materials:19>, <tconstruct:materials:16>, <ore:compressedDesh>, <tconstruct:materials:16>, <tconstruct:materials:19>, <abyssalcraft:oblivionshard:0>, <ore:cast>],
[<ore:cast>, <tconstruct:fancy_frame:4>, <extendedcrafting:singularity:0>, <ore:boneWithered>, <mob_grinding_utils:saw_upgrade:5>, <ore:boneWithered>, <extendedcrafting:singularity:4>, <tconstruct:fancy_frame:4>, <ore:cast>],
[<ore:cast>, <ore:slimecrystal>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <mob_grinding_utils:saw_upgrade:1>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <ore:slimecrystal>, <ore:cast>],
[<ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>]
],
<ironjetpacks:creative_jetpack:0>: [
[<thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <minecraft:skull:5>, <mekanism:armoredjetpack:0>, <minecraft:skull:5>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>],
[<thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <galacticraftcore:basic_item:14>, <extendedcrafting:singularity:34>, <galacticraftcore:basic_item:14>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>],
[null, <minecraft:elytra:0>, <mysticalagriculture:supremium_chestplate:0>, <extendedcrafting:material:13>, <extendedcrafting:singularity:24>, <extendedcrafting:material:13>, <mysticalagriculture:supremium_chestplate:0>, <minecraft:elytra:0>, null],
[null, <ore:jetpackTier2>, <mysticalagriculture:supremium_chestplate:0>, <galacticraftcore:basic_item:14>, <extendedcrafting:singularity:18>, <galacticraftcore:basic_item:14>, <mysticalagriculture:supremium_chestplate:0>, <ore:jetpackTier2>, null],
[<ore:ingotAstralStarmetal>, <ore:jetpackTier2>, <ore:ingotAstralStarmetal>, null, <vc:airships/item_airship:1>, null, <ore:ingotAstralStarmetal>, <ore:jetpackTier2>, <ore:ingotAstralStarmetal>],
[<ore:ingotAstralStarmetal>, <ironjetpacks:creative_cell:0>, <ore:ingotAstralStarmetal>, null, <vc:airships/item_airship:2>, null, <ore:ingotAstralStarmetal>, <ironjetpacks:creative_cell:0>, <ore:ingotAstralStarmetal>],
[<actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>, null, <vc:airships/item_airship:3>, null, <actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>],
[<actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>, null, <vc:airships/item_airship:4>, null, <actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>],
[null, <ironjetpacks:creative_thruster:0>, null, null, null, null, null, <ironjetpacks:creative_thruster:0>, null]
],
<ironjetpacks:creative_thruster:0>: [
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:electrum_capacitor:0>, <ironjetpacks:emerald_cell:0>, <ironjetpacks:electrum_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:diamond_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:diamond_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:emerald_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:electrum_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:electrum_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
[null, <pneumaticcraft:vortex_tube:0>, <extraplanets:tier8_items:0>, <pneumaticcraft:vortex_tube:0>, null, <pneumaticcraft:vortex_tube:0>, <extraplanets:tier8_items:0>, <pneumaticcraft:vortex_tube:0>, null]
],
<ironjetpacks:creative_cell:0>: [
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null]
],
<mekanism:machineblock2:11>.withTag({tier: 4, mekData: {}}): [
[<industrialforegoing:black_hole_tank:0>, <bloodmagic:blood_rune:7>, <mekanism:basicblock:11>, <ore:ingotInsanium>, <extendedcrafting:singularity_custom:1>, <ore:ingotInsanium>, <mekanism:basicblock:11>, <bloodmagic:blood_rune:7>, <industrialforegoing:black_hole_tank:0>],
[<integrateddynamics:part_fluid_reader_item:0>, <minecraft:sponge:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <mob_grinding_utils:tank>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <minecraft:sponge:0>, <integrateddynamics:part_fluid_reader_item:0>],
[<ore:ingotEnhancedGalgadorian>, <abyssalcraft:solidlava:0>, <mysticalagriculture:crafting:48>, <refinedstorage:fluid_storage_disk:3>, <mekanism:machineblock2:11>, <refinedstorage:fluid_storage_disk:3>, <mysticalagriculture:crafting:48>, <abyssalcraft:solidlava:0>, <ore:ingotEnhancedGalgadorian>],
[<ore:ingotInsanium>, <enderutilities:enderbucket:0>, <overloaded:infinite_water_source:0>, <mob_grinding_utils:tank_sink>, <bloodmagic:blood_tank:9>, <mob_grinding_utils:tank_sink>, <overloaded:infinite_water_source:0>, <enderutilities:enderbucket:0>, <ore:ingotInsanium>],
[<extendedcrafting:singularity_custom:1>, <mob_grinding_utils:tank>, <mekanism:machineblock2:11>, <bloodmagic:blood_tank:9>, <extendedcrafting:singularity_custom:2>, <bloodmagic:blood_tank:9>, <mekanism:machineblock2:11>, <mob_grinding_utils:tank>, <extendedcrafting:singularity_custom:1>],
[<ore:ingotInsanium>, <enderutilities:enderbucket:0>, <overloaded:infinite_water_source:0>, <mob_grinding_utils:tank_sink>, <bloodmagic:blood_tank:9>, <mob_grinding_utils:tank_sink>, <overloaded:infinite_water_source:0>, <enderutilities:enderbucket:0>, <ore:ingotInsanium>],
[<ore:ingotEnhancedGalgadorian>, <abyssalcraft:solidlava:0>, <mysticalagriculture:crafting:48>, <refinedstorage:fluid_storage_disk:3>, <mekanism:machineblock2:11>, <refinedstorage:fluid_storage_disk:3>, <mysticalagriculture:crafting:48>, <abyssalcraft:solidlava:0>, <ore:ingotEnhancedGalgadorian>],
[<integrateddynamics:part_fluid_reader_item:0>, <minecraft:sponge:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <mob_grinding_utils:tank>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <minecraft:sponge:0>, <integrateddynamics:part_fluid_reader_item:0>],
[<industrialforegoing:black_hole_tank:0>, <bloodmagic:blood_rune:7>, <mekanism:basicblock:11>, <ore:ingotInsanium>, <extendedcrafting:singularity_custom:1>, <ore:ingotInsanium>, <mekanism:basicblock:11>, <bloodmagic:blood_rune:7>, <industrialforegoing:black_hole_tank:0>]
]
};

View File

@ -0,0 +1,75 @@
/*
SevTech: Ages Table Extended Crafting Tier Table Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
// Shaped Recipes Tagged by Tier.
static shapedRecipes as IIngredient[][][IItemStack][int] = {
// Tier 0
0:{
// Mekanism Energy Cube
<mekanism:energycube:0>.withTag({tier: 4, mekData: {energyStored: 1.7976931348623157E308}}): [
[<appliedenergistics2:dense_energy_cell:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <overloaded:hyper_energy_sender:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <appliedenergistics2:dense_energy_cell:0>],
[<ore:itemCompressedObsidian>, <rftools:powercell_advanced:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <overloaded:hyper_energy_sender:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <rftools:powercell_advanced:0>, <ore:itemCompressedObsidian>],
[<ore:itemCompressedObsidian>, <pickletweaks:ppm4:2>, <integrateddynamics:energy_battery:0>, <environmentaltech:solar_cont_6:0>, <mekanism:energycube:0>, <environmentaltech:solar_cont_6:0>, <integrateddynamics:energy_battery:0>, <pickletweaks:ppm4:2>, <ore:itemCompressedObsidian>],
[<actuallyadditions:block_laser_relay_extreme:0>, <mysticalagriculture:ultimate_furnace:0>, <mekanism:basicblock2:3>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity:3>, <mekanism:controlcircuit:3>, <mekanism:basicblock2:3>, <mysticalagriculture:ultimate_furnace:0>, <actuallyadditions:block_laser_relay_extreme:0>],
[<extendedcrafting:material:13>, <extendedcrafting:material:13>, <mekanism:energycube:0>, <extendedcrafting:singularity:3>, <extendedcrafting:singularity:3>, <extendedcrafting:singularity:3>, <mekanism:energycube:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>],
[<actuallyadditions:block_laser_relay_extreme:0>, <mysticalagriculture:ultimate_furnace:0>, <mekanism:basicblock2:3>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity:3>, <mekanism:controlcircuit:3>, <mekanism:basicblock2:3>, <mysticalagriculture:ultimate_furnace:0>, <actuallyadditions:block_laser_relay_extreme:0>],
[<ore:itemCompressedObsidian>, <pickletweaks:ppm4:2>, <integrateddynamics:energy_battery:0>, <environmentaltech:solar_cont_6:0>, <mekanism:energycube:0>, <environmentaltech:solar_cont_6:0>, <integrateddynamics:energy_battery:0>, <pickletweaks:ppm4:2>, <ore:itemCompressedObsidian>],
[<ore:itemCompressedObsidian>, <rftools:powercell_advanced:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <overloaded:hyper_energy_sender:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <rftools:powercell_advanced:0>, <ore:itemCompressedObsidian>],
[<appliedenergistics2:dense_energy_cell:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <overloaded:hyper_energy_sender:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <appliedenergistics2:dense_energy_cell:0>]
],
// Pneumaticraft Creative Compressor
<pneumaticcraft:creative_compressor:0>: [
[<ore:compressedTitanium>, <ore:compressedMeteoricIron>, <ore:compressedDesh>, <ore:compressedDesh>, <extendedcrafting:material:13>, <ore:compressedDesh>, <ore:compressedDesh>, <ore:compressedMeteoricIron>, <ore:compressedTitanium>],
[<ore:compressedMeteoricIron>, <ore:itemCompressedObsidian>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <pneumaticcraft:liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <ore:itemCompressedObsidian>, <ore:compressedMeteoricIron>],
[<ore:compressedDesh>, <actuallyadditions:item_crystal_empowered:2>, <ore:itemCompressedDiamond>, <pneumaticcraft:flux_compressor:0>, <mekanism:machineblock:7>, <pneumaticcraft:flux_compressor:0>, <ore:itemCompressedDiamond>, <actuallyadditions:item_crystal_empowered:2>, <ore:compressedDesh>],
[<pneumaticcraft:pressure_chamber_valve:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:advanced_liquid_compressor:0>, <extendedcrafting:compressor:0>, <extendedcrafting:singularity_custom:3>, <extendedcrafting:compressor:0>, <pneumaticcraft:advanced_liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:pressure_chamber_valve:0>],
[<overloaded:compressed_obsidian:3>, <pneumaticcraft:liquid_compressor:0>, <mekanism:machineblock:7>, <extendedcrafting:singularity_custom:3>, <overloaded:compressed_cobblestone:7>, <extendedcrafting:singularity_custom:3>, <mekanism:machineblock:7>, <pneumaticcraft:liquid_compressor:0>, <overloaded:compressed_obsidian:3>],
[<pneumaticcraft:pressure_chamber_valve:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:advanced_liquid_compressor:0>, <extendedcrafting:compressor:0>, <extendedcrafting:singularity_custom:3>, <extendedcrafting:compressor:0>, <pneumaticcraft:advanced_liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:pressure_chamber_valve:0>],
[<ore:compressedDesh>, <actuallyadditions:item_crystal_empowered:2>, <ore:itemCompressedDiamond>, <pneumaticcraft:flux_compressor:0>, <mekanism:machineblock:7>, <pneumaticcraft:flux_compressor:0>, <ore:itemCompressedDiamond>, <actuallyadditions:item_crystal_empowered:2>, <ore:compressedDesh>],
[<ore:compressedMeteoricIron>, <ore:itemCompressedObsidian>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <pneumaticcraft:liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <ore:itemCompressedObsidian>, <ore:compressedMeteoricIron>],
[<ore:compressedTitanium>, <ore:compressedMeteoricIron>, <ore:compressedDesh>, <ore:compressedDesh>, <extendedcrafting:material:13>, <ore:compressedDesh>, <ore:compressedDesh>, <ore:compressedMeteoricIron>, <ore:compressedTitanium>]
],
// Environmental Tech Creative Flight Modifier
<environmentaltech:modifier_creative_flight:0>: [
[<environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <astralsorcery:itemcape:0>.withTag({astralsorcery: {constellationName: "astralsorcery.constellation.vicio"}}), <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>],
[<environmentaltech:mica:0>, <rftools:syringe:0>.withTag({mobName: "Ender Dragon", level: 10, mobId: "minecraft:ender_dragon"}), <enderutilities:enderpearlreusable:1>, <totemic:eagle_drops:1>, <bloodmagic:sigil_phantom_bridge:0>, <totemic:eagle_drops:1>, <enderutilities:enderpearlreusable:1>, <rftools:syringe:0>.withTag({mobName: "Shulker", level: 10, mobId: "minecraft:shulker"}), <environmentaltech:mica:0>],
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <nex:ghast_meat_cooked:0>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <bloodmagic:sigil_air:0>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
[<actuallyadditions:block_player_interface:0>, <bloodmagic:sigil_phantom_bridge:0>, <nex:ghast_meat_cooked:0>, <bloodmagic:sigil_air:0>, <rftools:flight_module:0>, <bloodmagic:sigil_air:0>, <nex:ghast_meat_cooked:0>, <bloodmagic:sigil_phantom_bridge:0>, <actuallyadditions:block_player_interface:0>],
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <bloodmagic:sigil_air:0>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <nex:ghast_meat_cooked:0>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
[<thebetweenlands:items_misc:3>, <thebetweenlands:chiromaw_wing:0>, <appliedenergistics2:material:41>, <cyclicmagic:charm_wing:0>, <bloodmagic:sigil_phantom_bridge:0>, <cyclicmagic:charm_wing:0>, <appliedenergistics2:material:41>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:items_misc:3>],
[<twilightforest:fire_jet:3>, <tconstruct:slimesling:0>, <twilightforest:fire_jet:3>, <tconstruct:slime_boots:2>, <mysticalagriculture:supremium_chestplate:0>, <tconstruct:slime_boots:2>, <twilightforest:fire_jet:3>, <tconstruct:slimesling:0>, <twilightforest:fire_jet:3>]
]
}
};
// Shapeless Recipes Tagged by Tier.
static shapelessRecipes as IIngredient[][IItemStack][int] = {
// Tier 0
0: {
<extendedcrafting:material:32>: [
<ore:ingotIron>, <ore:ingotGold>, <ore:ingotAstralStarmetal>, <ore:ingotSoulforgedSteel>,
<ore:listAllExplosives>, <ore:ingotPlatinum>, <ore:ingotRedstoneAlloy>, <ore:ingotInvar>,
<ore:ingotBlackIron>, <ore:ingotHOPGraphite>, <ore:ingotCopper>, <ore:ingotAluminum>,
<ore:ingotLead>, <ore:ingotSilver>, <ore:ingotNickel>, <ore:ingotConstantan>,
<ore:ingotElectrum>, <ore:ingotSteel>, <ore:ingotRefinedObsidian>, <ore:ingotOsmium>,
<ore:ingotBronze>, <ore:ingotRefinedGlowstone>, <ore:ingotTin>, <ore:ingotModularium>,
<ore:ingotInsanium>, <ore:ingotBaseEssence>, <ore:ingotInferium>, <ore:ingotPrudentium>,
<ore:ingotIntermedium>, <ore:ingotSuperium>, <ore:ingotSupremium>, <ore:ingotSoulium>,
<ore:ingotSyrmorite>, <ore:ingotOctine>, <ore:ingotCobalt>, <ore:ingotArdite>,
<ore:ingotManyullyn>, <ore:ingotReinforcedMetal>, <ore:ingotEnhancedGalgadorian>, <ore:ingotGalgadorian>,
<ore:ingotSteeleaf>, <ore:ingotKnightslime>, <ore:ingotPigiron>, <enderutilities:enderpart:0>,
<enderutilities:enderpart:1>, <enderutilities:enderpart:2>
]
}
};

View File

@ -0,0 +1,33 @@
/*
SevTech: Ages Immersive Engineering Mixer Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.GalacticraftTweaker;
/*
GalacticCraft & ExtraPlanets
https://github.com/MJRLegends/ExtraPlanets/wiki/CraftTweakerSupport-1.12-only!
https://github.com/MJRLegends/GalacticraftTweaker/wiki/CraftTweakerSupport
*/
function init() {
// Remove tier 8 HD plate recipe
GalacticraftTweaker.removeCompressorRecipe(<extraplanets:tier8_items:3>);
// Add corrected tier 8 HD plate recipe
GalacticraftTweaker.addCompressorShapelessRecipe(<extraplanets:tier8_items:3>, <extraplanets:tier7_items:3>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>);
// Remove all compressed steel plate recipes.
GalacticraftTweaker.removeCompressorRecipe(<galacticraftcore:basic_item:9>);
// Add the correct steel recipe back.
GalacticraftTweaker.addCompressorShapelessRecipe(<galacticraftcore:basic_item:9>, <immersiveengineering:metal:8>, <immersiveengineering:metal:8>);
// Remove the compressed nickle plate recipe.
GalacticraftTweaker.removeCompressorRecipe(<extraplanets:tier5_items:6>);
// Add back one which is using the correct ingot.
GalacticraftTweaker.addCompressorShapelessRecipe(<extraplanets:tier5_items:6>, metals.nickel.ingot.firstItem, metals.nickel.ingot.firstItem);
}

View File

@ -0,0 +1,205 @@
/*
SevTech: Ages Horse Power Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
/*
Grinder Recipes
Layout of the map should be the following:
int (time): [[output IItemStack, input IItemStack]]
*/
static grinderRecipes as IIngredient[][][int] = {
12: [
[<minecraft:clay_ball:0> * 4, <minecraft:clay:0>],
[<ore:dyeRed>.firstItem, <minecraft:double_plant:4>],
[<ore:dyeRed>.firstItem, <minecraft:red_flower:4>],
[<ore:dyeRed>.firstItem, <minecraft:red_flower:0>],
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:3>],
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:6>],
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:8>],
[<ore:dyePink>.firstItem, <minecraft:double_plant:5>],
[<ore:dyePink>.firstItem, <minecraft:red_flower:7>],
[<ore:dyeYellow>.firstItem, <minecraft:double_plant:0>],
[<ore:dyeYellow>.firstItem, <minecraft:yellow_flower:0>],
[<ore:dyeLightBlue>.firstItem, <minecraft:red_flower:1>],
[<ore:dyeMagenta>.firstItem, <minecraft:double_plant:1>],
[<ore:dyeMagenta>.firstItem, <minecraft:red_flower:2>],
[<ore:dyeOrange>.firstItem, <minecraft:red_flower:5>],
[<minecraft:sand:0> * 2, <minecraft:sandstone:0>],
[<minecraft:sugar:0> * 1, <minecraft:reeds:0>],
[<horsepower:flour:0>, <natura:materials:0>],
[<ore:dyeYellow>.firstItem * 2, <minecraft:dye:11>],
[<ore:dyeBlue>.firstItem * 2, <ferdinandsflowers:block_cff_flowers:4>],
[<ore:dyeBlue>.firstItem * 2, <ferdinandsflowers:block_cff_flowersc:6>],
[<ore:dyeBlue>.firstItem * 2, <minecraft:dye:4>],
[<betterwithmods:material:44>, <minecraft:dye:3>],
[<ore:dyeGreen>.firstItem * 2, <minecraft:dye:2>],
[<ore:dyeRed>.firstItem * 2, <minecraft:dye:1>],
[<ore:dyeBlack>.firstItem * 2, <actuallyadditions:block_black_lotus:0>],
[<ore:dyeBlack>.firstItem * 2, <minecraft:dye:0>],
[<ore:dyeWhite>.firstItem * 2, <minecraft:dye:15>]
],
16: [
[<ore:dustWood>.firstItem * 4, <ore:logWood>],
[<abyssalcraft:shadowfragment:0> * 9, <abyssalcraft:shadowshard:0>],
[<actuallyadditions:item_dust:7>, <actuallyadditions:block_misc:3>],
[<betterwithaddons:japanmat:4>, <actuallyadditions:item_food:16>],
[<horsepower:flour:0>, <minecraft:wheat:0>],
[<pickletweaks:coal_piece:1> * 8, <minecraft:coal:1>],
[<ore:dyeRed>.firstItem, <rustic:wildberries:0>],
[<primal:bone_knapp:0> * 2, <minecraft:bone:0>],
[<primal:tannin_ground:0> * 2, <ore:barkWood>]
],
24: [
[<abyssalcraft:shadowshard:0> * 9, <abyssalcraft:shadowgem:0>],
[<minecraft:coal:1> * 4, <primal_tech:charcoal_block>],
[<minecraft:coal:1> * 9, <charcoalblock:charcoal_block:0>],
[<minecraft:coal:0> * 9, <minecraft:coal_block:0>],
[<minecraft:dye:15> * 9, <minecraft:bone_block:0>],
[<minecraft:gravel:0>, <minecraft:cobblestone:0>],
[<pickletweaks:coal_piece:0> * 8, <minecraft:coal:0>],
[<primal:salt_dust_rock:0>, <minecraft:sand:0>],
// Salt Grinding
[<primal:salt_dust_netjry:0> * 4, <primal:salt_netjry_block:0>],
[<primal:salt_dust_rock:0> * 4, <primal:ore_salt:0>],
[<primal:salt_dust_fire:0> * 4, <primal:ore_salt:1>],
[<mekanism:salt:0> * 4, <mekanism:saltblock:0>]
],
32: [
[<tconstruct:stone_stick:0>, <minecraft:cobblestone:0>],
[<minecraft:dye:15> * 2, <primal:shark_tooth:0>],
[<minecraft:dye:15> * 2, <death_compass:death_compass>.withTag({})], // Death Compass -> Bone Meal
[<minecraft:prismarine_shard:0> * 4, <minecraft:prismarine:0>]
]
};
/*
Press Recipes
IItemStack output: IIngredient input
*/
static pressRecipes as IIngredient[IItemStack] = {
<abyssalcraft:shadowgem:0>: <abyssalcraft:shadowshard:0> * 9,
<abyssalcraft:shadowshard:0>: <abyssalcraft:shadowfragment:0> * 9,
<betterwithaddons:japanmat:11>: <betterwithaddons:japanmat:10>,
<charcoalblock:charcoal_block:0>: <minecraft:coal:1> * 9,
<minecraft:clay:0>: <minecraft:clay_ball:0> * 4,
<minecraft:coal:1>: <pickletweaks:coal_piece:1> * 8,
<minecraft:coal:0>: <pickletweaks:coal_piece:0> * 8,
<minecraft:coal_block:0>: <minecraft:coal:0> * 9,
<minecraft:prismarine_crystals:0>: <minecraft:prismarine_shard:0> * 4,
// Salt Pressing
<primal:salt_netjry_block:0>: <primal:salt_dust_netjry:0> * 4,
<primal:ore_salt:0>: <primal:salt_dust_rock:0> * 4,
<primal:ore_salt:1>: <primal:salt_dust_fire:0> * 4,
<mekanism:saltblock:0>: <mekanism:salt:0> * 4,
<minecraft:diamond_block:0>: <minecraft:diamond:0> * 9,
<minecraft:lapis_block:0>: <minecraft:dye:4> * 9,
<minecraft:redstone_block:0>: <minecraft:redstone:0> * 9,
<minecraft:emerald_block:0>: <minecraft:emerald:0> * 9
};
var plankWoodCopy = <ore:plankWoodCopy>; // Create an oreDict to hold our plank clone.
plankWoodCopy.addAll(<ore:plankWood>); // Clone the main oreDict.
// Array containing all the betweenland planks we want to remove from the main cloned one.
var betweenlandPlanks as IItemStack[] = [
<thebetweenlands:weedwood_planks:0>
];
// Remove the planks in the array from the cloned oreDict.
for plank in betweenlandPlanks {
plankWoodCopy.remove(plank);
}
/*
Chopping Block Recipes
"Standardized" Recipes for manual and automatic. 4 for manual, 2 automatic. If not desired, do recipe manually.
*/
static choppingRecipes as IIngredient[][IItemStack] = {
<ore:stickWood>.firstItem * 4 : [
<ore:plankWoodCopy>
],
<thebetweenlands:items_misc:20> * 4: [
<thebetweenlands:weedwood_planks:0>
],
<thebetweenlands:nibblestick:0> * 4: [
<thebetweenlands:nibbletwig_planks:0>
],
<primal:thin_slab_acacia:0> * 2 : [
<minecraft:wooden_slab:4>
],
<primal:thin_slab_bigoak:0> * 2 : [
<minecraft:wooden_slab:5>
],
<primal:thin_slab_birch:0> * 2 : [
<minecraft:wooden_slab:2>
],
<primal:thin_slab_corypha:0> * 2 : [
<primal:slab_corypha:0>
],
<primal:thin_slab_ironwood:0> * 2 : [
<rustic:ironwood_slab_item:0>
],
<primal:thin_slab_jungle:0> * 2 : [
<minecraft:wooden_slab:3>
],
<primal:thin_slab_lacquer:0> * 2 : [
<primal:slab_lacquer:0>
],
<primal:thin_slab_oak:0> * 2 : [
<minecraft:wooden_slab:0>
],
<primal:thin_slab_spruce:0> * 2 : [
<minecraft:wooden_slab:1>
],
<primal:thin_slab_thatch:0> * 2 : [
<primal:thatch:0>
]
};
function init() {
// Add the Grindstone Recipes.
for time, grindRecipes in grinderRecipes {
for itemRecipe in grindRecipes {
for item in itemRecipe[0].items {
horsePower.addGrindstone(item, itemRecipe[1], time, false);
}
}
}
// Recipes with Secondary Outputs
horsePower.addGrindstone(<minecraft:dye:15>, <primal:bone_knapp:0>, 16, false, <minecraft:dye:15>, 20);
horsePower.addGrindstone(<minecraft:dye:15>, <primal:bone_point:0>, 16, false, <minecraft:dye:15>, 20);
horsePower.addGrindstone(<minecraft:dye:15>, <primal_tech:bone_shard>, 16, false, <minecraft:dye:15>, 20);
// Add the Press Recipes.
for output, input in pressRecipes {
horsePower.addPress(input, output);
}
// Add the Press Recipes for Seeds.
var seedOreDict = <ore:thisIsWhatHappensWhenYouDontFollowOreDictionariesForSeeds>;
for seed in seedOreDict.items {
horsePower.addPress(<minecraft:dirt:0>, seed * 12);
}
// Add the Chopping Block Recipes.
for output, inputs in choppingRecipes {
for input in inputs {
// Add recipe for manual and automatic with different times for each. Makes it consistent for all
horsePower.addChopping(output, input, 4, true);
horsePower.addChopping(output, input, 2, false);
}
}
}

View File

@ -0,0 +1,29 @@
/*
SevTech: Ages Immersive Engineering Alloy Smelter Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
// Black Iron Creation
immersiveEngineering.addAlloy(metals.blackIron.ingot.firstItem, <actuallyadditions:item_dust:7>, metals.iron.ingot);
// Invar must be in Arc Furnace
immersiveEngineering.removeAlloy(metals.invar.ingot.firstItem);
// Add bronze recipe
immersiveEngineering.removeAlloy(metals.bronze.ingot.firstItem);
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, metals.tin.ingot);
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, metals.tin.dust);
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.dust * 3, metals.tin.ingot);
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.dust * 3, metals.tin.dust);
// Invar
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.ingot * 2, metals.nickel.ingot);
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.ingot * 2, metals.nickel.dust);
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.dust * 2, metals.nickel.ingot);
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.dust * 2, metals.nickel.dust);
}

View File

@ -0,0 +1,90 @@
/*
SevTech: Ages Immersive Engineering Arc Furnace Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
function init() {
var slag as IItemStack = <ore:itemSlag>.firstItem;
// Quartz Glass
immersiveEngineering.addArcFurn(<appliedenergistics2:quartz_glass:0> * 4, <ore:blockGlass> * 4, null, 200, 512,
[<ore:dustQuartz> * 5]
);
// Vanilla Glass
immersiveEngineering.addArcFurn(<minecraft:glass:0>, <ore:sand>, null, 150, 256);
// Vanilla Glass Panes
immersiveEngineering.addArcFurn(<minecraft:glass_pane:0>, <betterwithmods:sand_pile:0> * 2, null, 100, 150);
//==============================================================
// Add Steve's carts recipes
// Lump of Galgador
immersiveEngineering.addArcFurn(<stevescarts:modulecomponents:46> * 2, metals.platinum.block.firstItem, slag, 200, 512,
[<minecraft:glowstone_dust:0> * 3, <stevescarts:modulecomponents:45> * 3, <stevescarts:modulecomponents:21> * 2]
);
//Stabilized Metal
immersiveEngineering.addArcFurn(<stevescarts:modulecomponents:21> * 5, <stevescarts:modulecomponents:20>, slag, 200, 512,
[metals.iron.ingot.firstItem * 5, <stevescarts:modulecomponents:19> * 3]
);
//==============================================================
// Add recipes for alloying that is removed by metals script
// Also adding slag as an output to them all
// Steel
immersiveEngineering.addArcFurn(metals.steel.ingot.firstItem, metals.iron.ingot, slag, 300, 448, [<ore:dustCoke>]);
// Constantan
immersiveEngineering.addArcFurn(metals.constantan.ingot.firstItem * 2, metals.copper.ingot, slag, 100, 512, [metals.nickel.dust]);
immersiveEngineering.addArcFurn(metals.constantan.ingot.firstItem * 2, metals.nickel.ingot, slag, 100, 512, [metals.copper.dust]);
// Electrum
immersiveEngineering.addArcFurn(metals.electrum.ingot.firstItem * 2, metals.gold.ingot, slag, 100, 512, [metals.silver.dust]);
immersiveEngineering.addArcFurn(metals.electrum.ingot.firstItem * 2, metals.silver.ingot, slag, 100, 512, [metals.gold.dust]);
// Invar
immersiveEngineering.addArcFurn(metals.invar.ingot.firstItem * 3, metals.nickel.ingot, slag, 100, 512, [metals.iron.dust * 2]);
// Ender Utilities
immersiveEngineering.addArcFurn(<enderutilities:enderpart:0> * 4, <minecraft:ender_pearl:0>, slag, 100, 512, [<quark:biotite:0> * 8]);
immersiveEngineering.addArcFurn(<enderutilities:enderpart:1> * 4, <minecraft:ender_eye:0>, slag, 100, 512, [<minecraft:chorus_fruit:0> * 8]);
immersiveEngineering.addArcFurn(<enderutilities:enderpart:2> * 2, <minecraft:ender_eye:0>, slag, 100, 512, [<minecraft:purpur_block:0> * 4, <minecraft:end_rod:0> * 2, <minecraft:shulker_shell:0>]);
immersiveEngineering.addArcFurn(<enderutilities:enderpart:20> * 4, <minecraft:ender_pearl:0>, slag, 100, 512, [<minecraft:end_rod:0> * 4]);
// Black Iron
immersiveEngineering.addArcFurn(<extendedcrafting:material:0>, metals.iron.ingot, slag, 100, 512, [<actuallyadditions:item_dust:7>]);
// Refined Energistics 2.3333333 <- YA! YOU LIKE THAT
immersiveEngineering.addArcFurn(<refinedstorage:quartz_enriched_iron:0> * 4, metals.iron.ingot * 3, slag, 100, 512, [<appliedenergistics2:material:0>]);
// Bronze Alloying
immersiveEngineering.addArcFurn(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, slag, 100, 512, [metals.tin.dust]);
// Redstone Alloy
immersiveEngineering.addArcFurn(metals.redstoneAlloy.ingot.firstItem * 2, metals.constantan.ingot, slag, 100, 512, [<minecraft:glowstone_dust:0>, <minecraft:redstone:0>]);
// Modularium
immersiveEngineering.addArcFurn(metals.modularium.ingot.firstItem * 2, metals.aluminum.ingot, slag, 100, 512, [metals.iron.dust, <minecraft:redstone:0>]);
immersiveEngineering.addArcFurn(metals.modularium.ingot.firstItem * 2, metals.iron.ingot, slag, 100, 512, [metals.aluminum.dust, <minecraft:redstone:0>]);
// Aluminum Brass
immersiveEngineering.addArcFurn(metals.aluminumBrass.ingot.firstItem * 4, metals.copper.ingot, slag, 100, 512, [metals.aluminum.dust * 3]);
// Manyullyn
immersiveEngineering.addArcFurn(metals.manyullyn.ingot.firstItem, metals.cobalt.ingot, slag, 300, 512, [metals.ardite.ingot]);
immersiveEngineering.addArcFurn(metals.manyullyn.ingot.firstItem, metals.ardite.ingot, slag, 300, 512, [metals.cobalt.ingot]);
// Add a few ore to ingot recipes for metals without dust
// Cobalt
immersiveEngineering.addArcFurn(metals.cobalt.ingot.firstItem * 2, metals.cobalt.ore, null, 600, 512);
// Ardite
immersiveEngineering.addArcFurn(metals.ardite.ingot.firstItem * 2, metals.ardite.ore, null, 200, 512);
}

View File

@ -0,0 +1,14 @@
/*
SevTech: Ages Immersive Engineering Bottling Machine Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersiveengineering.BottlingMachine;
function init() {
BottlingMachine.addRecipe(<minecraft:potion:0>.withTag({Potion: "minecraft:water"}), <minecraft:glass_bottle:0>, <liquid:water> * 1000);
}

View File

@ -0,0 +1,40 @@
/*
SevTech: Ages Immersive Engineering Crusher Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
immersiveEngineering.removeCrusher(<actuallyadditions:item_dust:4>);
immersiveEngineering.addCrusher(<primal:tannin_ground:0> * 2, <ore:barkWood>, 3000); // Ground Resin from bark
immersiveEngineering.addCrusher(<betterwithmods:material:3> * 2, <betterwithmods:material:2>, 3000);
immersiveEngineering.addCrusher(<minecraft:dye:15> * 9, <minecraft:bone_block:0>, 3000);
immersiveEngineering.addCrusher(<minecraft:sugar:0> * 2, <minecraft:reeds:0>, 3000);
immersiveEngineering.addCrusher(<betterwithmods:material:15>, <ore:netherrack>, 3000); // Ground netherrack
immersiveEngineering.addCrusher(<appliedenergistics2:material:8>, <appliedenergistics2:material:7>, 3000); // Fluix dust can be made in immersiveEngineering
immersiveEngineering.addCrusher(metals.spacePlatinum.dust.firstItem * 2, <ore:oreSpacePlatinum>, 3000); // Osmium ore to dust
immersiveEngineering.addCrusher(<ore:dustCoal>.firstItem, <ore:coal>, 3000); // Coal to coal dust
immersiveEngineering.addCrusher(<appliedenergistics2:material:2>, <appliedenergistics2:material:0>, 3000); // Certus Quartz to Certus Dust
immersiveEngineering.addCrusher(<horsepower:flour:0>, <minecraft:wheat:0>, 3000); // Wheat to Flour
immersiveEngineering.addCrusher(<primal:bone_knapp:0>, <primal:sharp_bone:0>, 3000); // Sharp Bone to Bone Knapp
immersiveEngineering.addCrusher(<minecraft:dye:15> * 2, <primal:shark_tooth:0>, 3000); // Sharp Bone to Bone Knapp
immersiveEngineering.addCrusher(<primal:salt_dust_netjry:0> * 4, <primal:salt_netjry_block:0>, 3000); // Netjry Salt to Netjry Salt
immersiveEngineering.addCrusher(<primal:salt_dust_rock:0> * 4, <primal:ore_salt:0>, 3000); // Halite Salt Ore to Halite Rock Salt
immersiveEngineering.addCrusher(<primal:salt_dust_fire:0> * 4, <primal:ore_salt:1>, 3000); // Fire Salt Ore to Fire Rock Salt
immersiveEngineering.addCrusher(<betterwithmods:material:37>, <minecraft:coal:1>, 3000); // Charcoal to Dust
immersiveEngineering.addCrusher(<ore:dustSalt>.firstItem * 4, <mekanism:saltblock:0>, 3000); // Salt Block -> Dust
immersiveEngineering.addCrusher(<minecraft:diamond:0> * 9, <minecraft:diamond_block:0>, 3000); // Diamond Block -> Diamonds
immersiveEngineering.addCrusher(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>, 3000); // Lapis Block -> Lapis
immersiveEngineering.addCrusher(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>, 3000); // Redstone Block -> Redstone
immersiveEngineering.addCrusher(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>, 3000); // Emerald Block -> Emerald
immersiveEngineering.addCrusher(<minecraft:dye:15> * 3, <death_compass:death_compass>.withTag({}), 3000); // Death Compass -> Bone Meal
// Remove wool -> minecraft dye and string.
immersiveEngineering.removeCrusher(<minecraft:string:0>);
immersiveEngineering.removeCrusher(<primal:quartz_vitrified:0>);
}

View File

@ -0,0 +1,133 @@
/*
SevTech: Ages Immersive Engineering Excavator Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersiveengineering.Excavator;
import mods.immersiveengineering.MineralMix;
function init() {
// Remove Minerals
Excavator.removeMineral("Bauxite");
Excavator.removeMineral("Cinnabar");
Excavator.removeMineral("Coal");
Excavator.removeMineral("Copper");
Excavator.removeMineral("Galena");
Excavator.removeMineral("Gold");
Excavator.removeMineral("Iron");
Excavator.removeMineral("Lapis");
Excavator.removeMineral("Lead");
Excavator.removeMineral("Magnetite");
Excavator.removeMineral("Nickel");
Excavator.removeMineral("Pyrite");
Excavator.removeMineral("Quartzite");
Excavator.removeMineral("Silver");
Excavator.removeMineral("Uranium");
// Black Quartzite
Excavator.addMineral("Black Quartzite", 30, 0.15, [], [], [10], false);
var blackQuartzite = Excavator.getMineral("Black Quartzite");
blackQuartzite.addOre("gemQuartzBlack", 0.50);
// Nether Quartzite
Excavator.addMineral("Nether Quartzite", 30, 0.15, [], [], [-1], true);
var netherQuartzite = Excavator.getMineral("Nether Quartzite");
netherQuartzite.addOre("gemQuartz", 0.50);
// Certus Quartzite
Excavator.addMineral("Certus Quartzite", 30, 0.15, [], [], [-1], true);
var certusQuartzite = Excavator.getMineral("Certus Quartzite");
certusQuartzite.addOre("crystalCertusQuartz", 0.70);
certusQuartzite.addOre("crystalCertusQuartzCharged", 0.30);
// Autunite (Uranium)
Excavator.addMineral("Autunite", 30, 0.15, [], [], [-1], true);
var autunite = Excavator.getMineral("Autunite");
autunite.addOre("oreClusterUranium", 0.50);
// Azurite (Copper)
Excavator.addMineral("Azurite", 30, 0.15, [], [], [-1], true);
var azurite = Excavator.getMineral("Azurite");
azurite.addOre("oreClusterCopper", 0.50);
// Bauxite (Aluminum)
Excavator.addMineral("Bauxite", 30, 0.15, [], [], [-1], true);
var bauxite = Excavator.getMineral("Bauxite");
bauxite.addOre("oreClusterAluminum", 0.50);
// Beryl (Emerald)
Excavator.addMineral("Beryl", 5, 0.45, [], [], [-1], true);
var beryl = Excavator.getMineral("Beryl");
beryl.addOre("gemEmerald", 0.50);
// Cassiterite (Tin)
Excavator.addMineral("Cassiterite", 30, 0.15, [], [], [-1], true);
var cassiterite = Excavator.getMineral("Cassiterite");
cassiterite.addOre("oreClusterTin", 0.50);
// Cinnabar (Redstone)
Excavator.addMineral("Cinnabar", 30, 0.15, [], [], [-1], true);
var cinnabar = Excavator.getMineral("Cinnabar");
cinnabar.addOre("dustRedstone", 0.50);
// Coal
Excavator.addMineral("Coal", 30, 0.15, [], [], [-1], true);
var coal = Excavator.getMineral("Coal");
coal.addOre("coal", 0.50);
// Galena (Silver and Lead)
Excavator.addMineral("Galena", 30, 0.15, [], [], [-1], true);
var galena = Excavator.getMineral("Galena");
galena.addOre("oreClusterSilver", 0.70);
galena.addOre("oreClusterLead", 0.30);
// Gold
Excavator.addMineral("Gold", 30, 0.15, [], [], [-1], true);
var gold = Excavator.getMineral("Gold");
gold.addOre("oreClusterGold", 0.50);
// Hematite (Iron)
Excavator.addMineral("Hematite", 30, 0.15, [], [], [-1], true);
var hematite = Excavator.getMineral("Hematite");
hematite.addOre("oreClusterIron", 0.50);
// Kimberlight (Diamond)
Excavator.addMineral("Kimberlight", 5, 0.45, [], [], [-1], true);
var kimberlight = Excavator.getMineral("Kimberlight");
kimberlight.addOre("gemDiamond", 0.50);
// Lapis
Excavator.addMineral("Lapis", 30, 0.15, [], [], [-1], true);
var lapis = Excavator.getMineral("Lapis");
lapis.addOre("gemLapis", 0.50);
// Limonite (Iron and Nickel)
Excavator.addMineral("Limonite", 30, 0.15, [], [], [-1], true);
var limonite = Excavator.getMineral("Limonite");
limonite.addOre("oreClusterIron", 0.70);
limonite.addOre("oreClusterNickel", 0.30);
// Malachite (Copper)
Excavator.addMineral("Malachite", 30, 0.15, [], [], [-1], true);
var malachite = Excavator.getMineral("Malachite");
malachite.addOre("oreClusterCopper", 0.50);
// Platinum
Excavator.addMineral("Platinum", 30, 0.15, [], [], [-1], true);
var platinum = Excavator.getMineral("Platinum");
platinum.addOre("oreClusterPlatinum", 0.50);
// Osmium
Excavator.addMineral("Osmium", 30, 0.15, [], [], [-1], true);
var osmium = Excavator.getMineral("Osmium");
osmium.addOre("oreClusterOsmium", 0.50);
// Teallite (Tin)
Excavator.addMineral("Teallite", 30, 0.15, [], [], [-1], true);
var teallite = Excavator.getMineral("Teallite");
teallite.addOre("oreClusterTin", 0.50);
}

View File

@ -0,0 +1,22 @@
#priority -50
/*
SevTech: Ages Immersive Engineering Loader Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
scripts.crafttweaker.integrations.mods.immersive.engineering.alloySmelter.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.arcFurnace.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.bottlingMachine.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.crusher.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.excavator.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.metalPress.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.mixer.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.refinery.init();
scripts.crafttweaker.integrations.mods.immersive.engineering.squeezer.init();
}

View File

@ -0,0 +1,55 @@
/*
SevTech: Ages Immersive Engineering Metal Press Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
immersiveEngineering.addPress(<minecraft:blaze_rod:0>, <minecraft:blaze_powder:0>, <immersiveengineering:mold:2>, 4);
immersiveEngineering.addPress(metals.compressedIron.ingot.firstItem * 4, metals.iron.block.firstItem, <immersiveengineering:mold:5>, 2000, 1);
immersiveEngineering.addPress(<pickletweaks:ppm4:2> * 4, <galacticraftcore:item_basic_moon:0>, <immersiveengineering:mold:4>, 1);
// Coal and Charcoal Blocks / Pieces
immersiveEngineering.addPress(<minecraft:coal_block:0> * 1, <minecraft:coal:0>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<charcoalblock:charcoal_block:0> * 1, <minecraft:coal:1>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<minecraft:coal:0> * 9, <minecraft:coal_block:0>, <immersiveengineering:mold:7>, 1);
immersiveEngineering.addPress(<minecraft:coal:1> * 9, <charcoalblock:charcoal_block:0>, <immersiveengineering:mold:7>, 1);
// Clay Balls -> Clay Block
immersiveEngineering.addPress(<minecraft:clay:0> * 1, <minecraft:clay_ball:0>, <immersiveengineering:mold:5>, 4);
immersiveEngineering.addPress(<minecraft:clay_ball:0> * 4, <minecraft:clay:0>, <immersiveengineering:mold:7>, 1);
// Shadowfragment -> Shadowshard
immersiveEngineering.addPress(<abyssalcraft:shadowshard:0> * 1, <abyssalcraft:shadowfragment:0>, <immersiveengineering:mold:6>, 9);
// Shadowshard -> Shadowgem
immersiveEngineering.addPress(<abyssalcraft:shadowgem:0> * 1, <abyssalcraft:shadowshard:0>, <immersiveengineering:mold:6>, 9);
// Shadowshard -> Shadowfragment
immersiveEngineering.addPress(<abyssalcraft:shadowfragment:0> * 9, <abyssalcraft:shadowshard:0>, <immersiveengineering:mold:7>, 1);
// Shadowgem -> Shadowshard
immersiveEngineering.addPress(<abyssalcraft:shadowshard:0> * 9, <abyssalcraft:shadowgem:0>, <immersiveengineering:mold:7>, 1);
// Salt Dust -> Salt Block
immersiveEngineering.addPress(<primal:salt_netjry_block:0> * 1, <primal:salt_dust_netjry:0>, <immersiveengineering:mold:5>, 4);
immersiveEngineering.addPress(<primal:ore_salt:1> * 1, <primal:salt_dust_fire:0>, <immersiveengineering:mold:5>, 4);
immersiveEngineering.addPress(<primal:ore_salt:0> * 1, <primal:salt_dust_rock:0>, <immersiveengineering:mold:5>, 4);
immersiveEngineering.addPress(<mekanism:saltblock:0> * 1, <mekanism:salt:0>, <immersiveengineering:mold:5>, 4);
// Diamond Block
immersiveEngineering.addPress(<minecraft:diamond_block:0> * 1, <minecraft:diamond:0>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<minecraft:diamond:0> * 9, <minecraft:diamond_block:0>, <immersiveengineering:mold:7>, 1);
// Lapis Block
immersiveEngineering.addPress(<minecraft:lapis_block:0> * 1, <minecraft:dye:4>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>, <immersiveengineering:mold:7>, 1);
// Redstone Block
immersiveEngineering.addPress(<minecraft:redstone_block:0> * 1, <minecraft:redstone:0>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>, <immersiveengineering:mold:7>, 1);
// Emerald Block
immersiveEngineering.addPress(<minecraft:emerald_block:0> * 1, <minecraft:emerald:0>, <immersiveengineering:mold:6>, 9);
immersiveEngineering.addPress(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>, <immersiveengineering:mold:7>, 1);
}

View File

@ -0,0 +1,16 @@
/*
SevTech: Ages Immersive Engineering Mixer Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersiveengineering.Mixer;
function init() {
Mixer.addRecipe(<liquid:slime> * 500, <liquid:water> * 500, [<minecraft:wheat:0>, <minecraft:clay_ball:0>], 50);
Mixer.addRecipe(<liquid:blueslime> * 500, <liquid:slime> * 500, [<pickletweaks:dye_powder:11>, <natura:nether_glowshroom:1>], 50);
Mixer.addRecipe(<liquid:purpleslime> * 500, <liquid:slime> * 500, [<pickletweaks:dye_powder:10>, <nex:amethyst_crystal:0>], 50);
}

View File

@ -0,0 +1,15 @@
/*
SevTech: Ages Immersive Engineering Refinery Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersiveengineering.Refinery;
function init() {
Refinery.addRecipe(<liquid:fuel> * 100, <liquid:liquidoxygen> * 250, <liquid:kerosene> * 100, 2048);
Refinery.addRecipe(<liquid:fuel> * 100, <liquid:oxygen> * 250, <liquid:kerosene> * 100, 2048);
}

View File

@ -0,0 +1,22 @@
/*
SevTech: Ages Immersive Engineering Squeezer Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersiveengineering.Squeezer;
function init() {
Squeezer.removeItemRecipe(<minecraft:leather:0>); // Remove Rotten Flesh -> Leather
// Rustic recipes to make people "jump less" Kappa. Thanks to @iffonox!
Squeezer.addRecipe(null, <liquid:wildberryjuice> * 250, <rustic:wildberries>, 2048);
Squeezer.addRecipe(null, <liquid:oliveoil> * 250, <rustic:olives>, 2048);
Squeezer.addRecipe(null, <liquid:honey> * 250, <rustic:honeycomb>, 2048);
Squeezer.addRecipe(null, <liquid:grapejuice> * 250, <rustic:grapes>, 2048);
Squeezer.addRecipe(null, <liquid:applejuice> * 250, <minecraft:apple>, 2048);
Squeezer.addRecipe(<minecraft:sugar> * 2, <liquid:water> * 250, <minecraft:reeds>, 2048);
}

View File

@ -0,0 +1,48 @@
/*
SevTech: Ages Immersive Petroleum Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.immersivepetroleum.Distillation;
import mods.immersivepetroleum.Motorboat;
import mods.immersivepetroleum.PortableGenerator;
import mods.immersivepetroleum.Reservoir;
/*
Support:
Distillation: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/Distillation/
Reservoir: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/Reservoir/
Fuel Registration: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/FuelRegistration/
*/
function init() {
// Distillation
Distillation.addRecipe(
[<liquid:diesel> * 50, <liquid:naphtha> * 50],
[<immersivepetroleum:material:0>],
<liquid:oil> * 100,
2048, 1,
[0.07]
);
Distillation.addRecipe(
[<liquid:lubricant> * 20, <liquid:gasoline> * 40, <liquid:kerosene> * 40],
[<immersivepetroleum:material:0>],
<liquid:diesel> * 100,
2048, 1,
[0.07]
);
// Reservoir
Reservoir.registerReservoir("aquifer", <liquid:water>, 5000000, 10000000, 6, 30, [], [0], [], []);
Reservoir.registerReservoir("oil", <liquid:oil>, 2500000, 15000000, 6, 40, [1], [], [], []);
Reservoir.registerReservoir("lava", <liquid:lava>, 250000, 1000000, 0, 30, [1], [], [], []);
// Fuel Registration
Motorboat.registerMotorboatFuel(<liquid:gasoline>, 1);
PortableGenerator.registerPortableGenFuel(<liquid:gasoline>, 256, 5);
}

View File

@ -0,0 +1,86 @@
/*
SevTech: Ages Loot Tweaker Craft Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.ltt.LootTable;
/*
Support:
Loot Table Tweaker: http://crafttweaker.readthedocs.io/en/latest/#Mods/LootTableTweaker/LootTableTweaker/
*/
function init() {
// Loot Tables
var tables as string[] = [
"astralsorcery:chest_shrine",
"minecraft:chests/abandoned_mineshaft",
"minecraft:chests/desert_pyramid",
"minecraft:chests/end_city_treasure",
"minecraft:chests/igloo_chest",
"minecraft:chests/jungle_temple",
"minecraft:chests/jungle_temple_dispenser",
"minecraft:chests/nether_bridge",
"minecraft:chests/simple_dungeon",
"minecraft:chests/spawn_bonus_chest",
"minecraft:chests/stronghold_corridor",
"minecraft:chests/stronghold_crossing",
"minecraft:chests/stronghold_library",
"minecraft:chests/village_blacksmith",
"minecraft:chests/woodland_mansion",
"minecraft:gameplay/fishing",
"minecraft:gameplay/fishing/fish",
"minecraft:gameplay/fishing/junk",
"minecraft:gameplay/fishing/treasure"
];
for table in tables {
LootTable.removeTable(table);
}
// Global Items Removal
var globalItems as string[] = [
"abyssalcraft:mre",
"minecraft:blaze_powder",
"minecraft:blaze_rod",
"minecraft:bucket",
"minecraft:diamond",
"minecraft:diamond_block",
"minecraft:diamond_hoe",
"minecraft:diamond_sword",
"minecraft:emerald",
"minecraft:emerald_block",
"minecraft:ender_chest",
"minecraft:ender_pearl",
"minecraft:glowstone",
"minecraft:gold_nugget",
"minecraft:golden_apple",
"minecraft:golden_helmet",
"minecraft:golden_pickaxe",
"minecraft:iron_ingot",
"minecraft:iron_leggings",
"minecraft:iron_pickaxe",
"minecraft:magma_cream",
"minecraft:milk_bucket",
"minecraft:obsidian",
"minecraft:redstone",
"minecraft:redstone_block",
"minecraft:water_bucket",
"primal:animal_fat",
"primal:animal_fat_nether",
"primal:salo",
"twilightforest:ore_magnet",
"twilightforest:uncrafting_table"
];
for globalItem in globalItems {
LootTable.removeGlobalItem(globalItem);
}
// Single Entry Removals
LootTable.removeEntry("twilightforest:structures/tower_room", "pool1", "minecraft:ghast_tear");
}

View File

@ -0,0 +1,157 @@
/*
SevTech: Ages Mekanism Craft Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
// Map for additional Precision Sawmill recipes - output: [inputs]. Will produce 6 times output, and
// 25% chance of sawdust.
static sawRecipes as IIngredient[][IItemStack] = {
<ore:stickWood>.firstItem: [
<ore:plankWood>
],
<thebetweenlands:items_misc:20>: [
<thebetweenlands:weedwood_planks:0>
],
<thebetweenlands:nibblestick:0>: [
<thebetweenlands:nibbletwig_planks:0>
],
<natura:nether_planks:1>: [
<natura:nether_logs2:*>
]
};
// Sticks to be turned into a dust at a 1:1 ratio
static sticksToDust as IItemStack[] = [
<natura:sticks:*>,
<ore:stickWood>.firstItem,
<primal:yew_stick>,
<thebetweenlands:items_misc:20>
];
// These recipes must be explicitly removed - for some reason oredict removal doesn't catch them.
static sawRecipeRemove as IIngredient[] = [
<chisel:planks-spruce:*>,
<rustic:planks:*>,
<chisel:planks-acacia:*>,
<chisel:planks-oak:*>,
<chisel:planks-jungle:*>,
<chisel:planks-birch:*>,
<chisel:planks-dark-oak:*>,
<betterwithaddons:planks_sakura:*>,
<betterwithaddons:planks_mulberry:*>
];
function init() {
/*
Chemical Injection Recipes
*/
// Add a recipe to make Sulfer using the Chemical Injection. TODO: Use the resources global once completed.
mekanism.addChemicalInjection(<minecraft:gunpowder:0>, <gas:hydrogenChloride>, <ore:dustSulfur>.firstItem);
/*
Combiner Recipes
*/
// Generic Removals
mekanism.removeCombiner(<geolosys:cluster:2>);
mekanism.removeCombiner(<geolosys:cluster:3>);
mekanism.removeCombiner(<geolosys:cluster:4>);
mekanism.removeCombiner(<geolosys:cluster:5>);
mekanism.removeCombiner(<geolosys:cluster:6>);
mekanism.removeCombiner(<geolosys:cluster:7>);
mekanism.removeCombiner(<geolosys:cluster:8>);
mekanism.removeCombiner(<geolosys:cluster:9>);
mekanism.removeCombiner(<geolosys:cluster:12>);
mekanism.removeCombiner(<minecraft:iron_ore:0>);
mekanism.removeCombiner(<minecraft:gold_ore:0>);
mekanism.removeCombiner(<minecraft:coal_ore:0>);
mekanism.removeCombiner(<minecraft:diamond_ore:0>);
mekanism.removeCombiner(<minecraft:redstone_ore:0>);
mekanism.removeCombiner(<minecraft:emerald_ore:0>);
mekanism.removeCombiner(<minecraft:quartz_ore:0>, <actuallyadditions:item_dust:5> * 8, <minecraft:cobblestone:0>);
/*
Enrichment Recipes
*/
// Obsidian Fix
mekanism.removeEnrichment(<minecraft:obsidian:0>);
mekanism.addEnrichment(<minecraft:obsidian:0>, <ore:dustObsidian>.firstItem * 4);
mekanism.removeEnrichment(<actuallyadditions:item_dust:5>, <minecraft:quartz:0>);
/*
Metallurgic Infuser
*/
mekanism.addInfusion("OBSIDIAN", 20, <ore:oreCheese>.firstItem, <appliedenergistics2:sky_stone_block:0> * 2);
mekanism.addInfusion("OBSIDIAN", 20, <galacticraftcore:cheese_curd:0>, <appliedenergistics2:sky_stone_block:0>);
// Correct steel dust
mekanism.addInfusion("CARBON", 10, <mekanism:enrichediron:0>, metals.steel.dust.firstItem);
mekanism.addInfusion("DIAMOND", 80, <ironchest:iron_chest:1>, <ironchest:iron_chest:2>);
/*
Energized Smelter
*/
mekanism.removeSmelter(<betterwithaddons:japanmat:4>);
/*
Crusher
*/
mekanism.addCrusher(<minecraft:blaze_rod:0>, <minecraft:blaze_powder:0> * 4);
mekanism.addCrusher(<actuallyadditions:item_food:16>, <betterwithaddons:japanmat:4>);
mekanism.addCrusher(<minecraft:wheat:0>, <horsepower:flour:0>);
mekanism.addCrusher(<natura:materials:0>, <horsepower:flour:0>);
mekanism.addCrusher(<minecraft:bone:0>, <minecraft:dye:15>);
mekanism.addCrusher(<minecraft:bone_block:0>, <minecraft:dye:15> * 9);
mekanism.addCrusher(<minecraft:reeds:0>, <minecraft:sugar:0> * 2);
mekanism.addCrusher(<actuallyadditions:item_misc:5>, <actuallyadditions:item_dust:7>);
mekanism.addCrusher(<immersiveengineering:material:7>, <minecraft:sand:0>);
mekanism.addCrusher(<astralsorcery:itemcraftingcomponent:1>, <astralsorcery:itemcraftingcomponent:2>);
mekanism.addCrusher(<astralsorcery:blockcustomore:1>, <astralsorcery:itemcraftingcomponent:2> * 2);
mekanism.addCrusher(<death_compass:death_compass>.withTag({}), <minecraft:dye:15> * 3); // Death Compass -> Bone Meal
/*
Saw
*/
for input in sawRecipeRemove {
mekanism.removeSawmill(input);
}
for output, inputs in sawRecipes {
for inputIngredient in inputs {
mekanism.removeSawmill(inputIngredient);
for input in inputIngredient.items {
mekanism.addSawmill(input, output * 6, <ore:dustWood>.firstItem, 0.25);
}
}
}
// Slabs to sticks - re-create as they output mekanism sawdust
mekanism.removeSawmill(<ore:slabWood>);
mekanism.addSawmill(<ore:slabWood>, <ore:stickWood>.firstItem * 3, <ore:dustWood>.firstItem, 0.13);
for input in sticksToDust {
mekanism.addSawmill(input, <ore:dustWood>.firstItem);
}
// Jukebox handling
mekanism.removeSawmill(<minecraft:jukebox:0> as IIngredient);
mekanism.addSawmill(<minecraft:jukebox:0>, <minecraft:planks:0> * 8, <minecraft:quartz:0>, 1.0);
/*
Pressurised Reaction Chamber
*/
// mekanism.removePRC(null, <gas:hydrogen>, <mekanism:sawdust>, <liquid:water>, <gas:oxygen>); // TODO: Was not able to remove the recipe
mekanism.addPRC(<ore:dustWood>, <liquid:water> * 20, <gas:oxygen> * 20, null, <gas:hydrogen> * 20, 0.0, 30);
}

View File

@ -0,0 +1,96 @@
/*
SevTech: Ages Table Chemical Mixer Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.modularmachinery.RecipeBuilder;
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "auto_cauldron";
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "rfglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<minecraft:rotten_flesh:0> * 3)
.addItemOutput(<betterwithmods:material:12>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "pigmglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<primal:pigman_hide_raw:0>)
.addItemOutput(<betterwithmods:material:12> * 2)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "wdglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<animalium:wild_dog_pelt:0>)
.addItemOutput(<betterwithmods:material:12>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "bglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<totemic:buffalo_items:0>)
.addItemOutput(<betterwithmods:material:12> * 2)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "psglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<ore:peltSmall>)
.addItemOutput(<betterwithmods:material:12>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "pmglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<ore:peltMedium>)
.addItemOutput(<betterwithmods:material:12>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "plglue"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<ore:peltLarge>)
.addItemOutput(<betterwithmods:material:12> * 2)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "nsludge"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<betterwithmods:material:21>)
.addItemInput(<betterwithmods:material:16> * 4)
.addItemOutput(<betterwithmods:material:35> * 8)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "chellfire"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<betterwithmods:material:16> * 8)
.addItemOutput(<betterwithmods:material:17>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "donut"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<horsepower:flour:0>)
.addItemInput(<minecraft:sugar:0>)
.addItemOutput(<betterwithmods:donut:0> * 4)
.addFluidInput(<liquid:lubricant> * 50)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "meatballs"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<betterwithaddons:food_ground_meat:0>)
.addItemOutput(<betterwithaddons:food_meatballs:0>)
.addFluidInput(<liquid:lubricant> * 50)
.build();
}

View File

@ -0,0 +1,24 @@
/*
SevTech: Ages Table Chemical Mixer Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.modularmachinery.RecipeBuilder;
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "chemical_mixer";
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "propene"), machineName, 200)
.addEnergyPerTickInput(1)
.addFluidOutput(<liquid:propene> * 1500)
.addFluidInput(<liquid:naphtha> * 1000)
.addFluidInput(<liquid:steam> * 1000)
.build();
}

View File

@ -0,0 +1,22 @@
/*
SevTech: Ages Table Ethylitic Enricher Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.modularmachinery.RecipeBuilder;
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "ethylitic_enricher";
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "fertilizer"), machineName, 200)
.addEnergyPerTickInput(15)
.addItemOutput(<actuallyadditions:item_fertilizer:0> * 2)
.addFluidInput(<liquid:liquidethene> * 1000)
.build();
}

View File

@ -0,0 +1,71 @@
/*
SevTech: Ages Table Hydraulic Press Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.data.IData;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.RecipePrimer;
import scripts.crafttweaker.utils;
// The machine name.
static machineName as string = "hydraulic_press";
static machineRecipes as IItemStack[][IItemStack] = {
<galacticraftcore:basic_item:9> * 4: [ <immersiveengineering:metal:8> * 4 ], // Compressed Steel
<galacticraftcore:basic_item:6> * 4: [ metals.copper.ingot.firstItem * 4 ], // Compressed Copper
<galacticraftcore:basic_item:7> * 4: [ metals.tin.ingot.firstItem * 4 ], // Compressed Tin
<galacticraftcore:basic_item:8> * 4: [ metals.aluminum.ingot.firstItem * 4 ], // Compressed Aluminum
<galacticraftcore:basic_item:10> * 4: [ metals.bronze.ingot.firstItem * 4 ], // Compressed Bronze
<galacticraftcore:basic_item:11> * 4: [ metals.iron.ingot.firstItem * 4 ], // Compressed Iron
<galacticraftcore:item_basic_moon:1> * 4: [ <galacticraftcore:item_basic_moon:0> * 2 ], // Compressed Meteoric Iron
<galacticraftplanets:item_basic_mars:5> * 4: [ <galacticraftplanets:item_basic_mars:2> * 2 ], // Compressed Desh
<galacticraftplanets:item_basic_asteroids:6> * 4: [ metals.titanium.ingot.firstItem * 4 ], // Compressed Titanium
<extraplanets:tier7_items:6> * 4: [ <extraplanets:tier7_items:4> * 4 ], // Compressed Reinfored Crystal
<extraplanets:compressed_mercury:0> * 2: [ <extraplanets:ingot_mercury:0> * 2 ], // Compressed Mercury
<extraplanets:tier4_items:4> * 2: [ <extraplanets:tier4_items:5> * 2 ], // Compressed Carbon
<extraplanets:tier5_items:4> * 2: [ <extraplanets:tier5_items:5> * 2 ], // Compressed Palladium
<extraplanets:tier5_items:6> * 2: [ metals.nickel.ingot.firstItem * 2 ], // Compressed Nickel
<extraplanets:tier6_items:4> * 2: [ <extraplanets:tier6_items:5> * 2 ], // Compressed Magnesium
<extraplanets:tier7_items:4> * 2: [ <extraplanets:tier7_items:5> * 2 ], // Compressed Crystal
<extraplanets:tier8_items:4> * 2: [ <extraplanets:tier8_items:5> * 2 ], // Compressed Zinc
<extraplanets:tier9_items:4> * 2: [ <extraplanets:tier9_items:5> * 2 ], // Compressed Tungsten
<extraplanets:tier10_items:4> * 2: [ <extraplanets:tier10_items:5> * 2 ], // Compressed Dark Iron
<extraplanets:tier11_items:6> * 3: [ <extraplanets:tier11_items:5> * 6 ], // Compressed Space Platinum
<galacticraftcore:heavy_plating:0> * 2: [ <galacticraftcore:basic_item:8> * 2, <galacticraftcore:basic_item:9> * 2, <galacticraftcore:basic_item:10> * 2 ], // Heavy Duty Plate Tier 1
<galacticraftplanets:item_basic_mars:3>: [ <galacticraftcore:heavy_plating:0>, <galacticraftcore:item_basic_moon:1> ], // Heavy Duty Plate Tier 2
<galacticraftplanets:item_basic_asteroids:5>: [ <galacticraftplanets:item_basic_mars:3>, <galacticraftplanets:item_basic_mars:5> ], // Heavy Duty Plate Tier 3
<extraplanets:tier4_items:3>: [ <galacticraftplanets:item_basic_asteroids:5>, <extraplanets:tier4_items:4>, <extraplanets:compressed_mercury:0> * 4 ], // Heavy Duty Plate Tier 4
<extraplanets:tier5_items:3>: [ <extraplanets:tier4_items:3>, <extraplanets:tier5_items:4> * 5 ], // Heavy Duty Plate Tier 5
<extraplanets:tier6_items:3>: [ <extraplanets:tier5_items:3>, <extraplanets:tier6_items:4> * 5 ], // Heavy Duty Plate Tier 6
<extraplanets:tier7_items:3>: [ <extraplanets:tier6_items:3>, <extraplanets:tier7_items:6> * 5], // Heavy Duty Plate Tier 7
<extraplanets:tier8_items:3>: [ <extraplanets:tier7_items:3>, <extraplanets:tier8_items:4> * 5 ], // Heavy Duty Plate Tier 8
<extraplanets:tier9_items:3>: [ <extraplanets:tier8_items:3>, <extraplanets:tier9_items:4> * 5 ], // Heavy Duty Plate Tier 9
<extraplanets:tier10_items:3>: [ <extraplanets:tier9_items:3>, <extraplanets:tier10_items:4> * 5 ], // Heavy Duty Plate Tier 10
<minecraft:bucket>: [<immersiveengineering:metal:39> * 3] // Iron Bucket
};
function init() {
for output, inputs in machineRecipes {
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, output.definition.id ~ "_" ~ output.metadata), machineName, 50)
.addEnergyPerTickInput(100)
.addFluidInput(<liquid:lubricant> * 50)
.addItemOutput(output);
for input in inputs {
primer
.addItemInput(input);
}
primer.build();
}
}

View File

@ -0,0 +1,37 @@
/*
SevTech: Ages Table Industrial Drying Unit Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
dryingUnit.addAllTiers(<ore:hideSalted>, 4, <ore:hideDry>, 4);
dryingUnit.addAllTiers(<ore:hideTanned>, 4, <minecraft:leather:0> * 4);
dryingUnit.addAllTiers(<primal:plant_fiber_pulp:0> * 4, <minecraft:paper:0> * 4);
// Taken from the TiC Drying Rack.
dryingUnit.addAllTiers(<betterwithaddons:japanmat:8>, <betterwithaddons:japanmat:9>);
dryingUnit.addAllTiers(<minecraft:beef:0>, <tconstruct:edible:11>);
dryingUnit.addAllTiers(<minecraft:chicken:0>, <tconstruct:edible:12>);
dryingUnit.addAllTiers(<minecraft:clay:0>, <tconstruct:dried_clay:0>);
dryingUnit.addAllTiers(<minecraft:clay_ball:0>, <tconstruct:materials:2>);
dryingUnit.addAllTiers(<minecraft:fish:1>, <tconstruct:edible:21>);
dryingUnit.addAllTiers(<minecraft:fish:2>, <tconstruct:edible:22>);
dryingUnit.addAllTiers(<minecraft:fish:3>, <tconstruct:edible:23>);
dryingUnit.addAllTiers(<minecraft:fish:0>, <tconstruct:edible:20>);
dryingUnit.addAllTiers(<minecraft:mutton:0>, <tconstruct:edible:14>);
dryingUnit.addAllTiers(<minecraft:porkchop:0>, <tconstruct:edible:13>);
dryingUnit.addAllTiers(<minecraft:rabbit:0>, <tconstruct:edible:15>);
dryingUnit.addAllTiers(<minecraft:rotten_flesh:0>, <tconstruct:edible:10>);
dryingUnit.addAllTiers(<minecraft:slime_ball:0>, <tconstruct:edible:30>);
dryingUnit.addAllTiers(<minecraft:sponge:1>, <minecraft:sponge:0>);
dryingUnit.addAllTiers(<ore:treeSapling>, 1, <minecraft:deadbush:0>);
dryingUnit.addAllTiers(<primal:shark_meat_raw:0>, <primal:shark_meat_dried:0>);
dryingUnit.addAllTiers(<tconstruct:edible:1>, <tconstruct:edible:31>);
dryingUnit.addAllTiers(<tconstruct:edible:2>, <tconstruct:edible:32>);
dryingUnit.addAllTiers(<tconstruct:edible:3>, <tconstruct:edible:33>);
dryingUnit.addAllTiers(<tconstruct:edible:4>, <tconstruct:edible:34>);
}

View File

@ -0,0 +1,82 @@
/*
SevTech: Ages Table Industrial Loom Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import crafttweaker.oredict.IOreDictEntry;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.RecipePrimer;
import scripts.crafttweaker.utils;
/*
Helper function to create a Looming Recipe for the MM Machine.
*/
function createLoomingRecipe(name as string, output as IItemStack, inputs as IItemStack[]) {
var machineName = "industrial_loom";
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
builder.addEnergyPerTickInput(150); // Set the power input.
builder.addItemOutput(output); // Set the output item.
for input in inputs { // Loop over the inputs and add them to the builder.
builder.addItemInput(input);
}
builder.build(); // Build the recipe.
}
function createOreLoomingRecipe(name as string, output as IItemStack, inputs as IOreDictEntry[int]) {
var machineName = "industrial_loom";
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
builder.addEnergyPerTickInput(4); // Set the power input.
builder.addItemOutput(output); // Set the output item.
for amount, input in inputs { // Loop over the inputs and add them to the builder.
builder.addItemInput(input, amount);
}
builder.build(); // Build the recipe.
}
function init() {
/*
Ore Based Recipes
*/
createOreLoomingRecipe("string", <minecraft:string:0>, {
2: <ore:cropCotton>
});
createOreLoomingRecipe("hemp_cloth", <betterwithmods:material:4>, {
9: <ore:fiberHemp>
});
/*
Standard Recipes
*/
createLoomingRecipe("plant_twine", <primal:plant_cordage>, [
<primal:plant_fiber> * 3
]);
createLoomingRecipe("leather_strip", <primal:leather_strip> * 9, [
<minecraft:leather>
]);
createLoomingRecipe("cineris_twine", <primal:nether_cordage>, [
<primal:nether_fiber> * 3
]);
createLoomingRecipe("cobweb", <minecraft:web>, [
<minecraft:stick> * 4,
<minecraft:string> * 5
]);
/*
Wool Looming
*/
for i in 0 to 16 {
createLoomingRecipe("wool_" ~ i, <minecraft:wool:0>.definition.makeStack(i), [
<betterwithaddons:wool>.definition.makeStack(i) * 4,
<betterwithmods:aesthetic:12>
]);
}
}

View File

@ -0,0 +1,138 @@
/*
SevTech: Ages Table Industrial Mill Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import crafttweaker.oredict.IOreDictEntry;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.RecipePrimer;
import scripts.crafttweaker.utils;
/*
Helper function to create a Mill Recipe for the MM Machine.
*/
function createMillRecipe(name as string, output as IItemStack, inputs as IItemStack[]) as void {
var machineName = "industrial_mill";
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
builder.addEnergyPerTickInput(4); // Set the power input.
builder.addItemOutput(output); // Set the output item.
for input in inputs { // Loop over the inputs and add them to the builder.
builder.addItemInput(input);
}
builder.build(); // Build the recipe.
}
function createOreMillRecipe(name as string, output as IItemStack, inputs as IOreDictEntry[]) as void {
var machineName = "industrial_mill";
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
builder.addEnergyPerTickInput(4); // Set the power input.
builder.addItemOutput(output); // Set the output item.
for input in inputs { // Loop over the inputs and add them to the builder.
builder.addItemInput(input);
}
builder.build(); // Build the recipe.
}
function init() {
for dye, items in scripts.crafttweaker.integrations.dye.dyeCrushingRecipes {
for item in items {
createMillRecipe(item.displayName, dye * 2, [item]);
}
}
/*
Multi Input Recipes
*/
createMillRecipe("grout", <tconstruct:soil:0> * 2, [
<minecraft:sand:0>, <minecraft:clay_ball:0>, <minecraft:gravel:0>
]);
createMillRecipe("porcelain", <ceramics:unfired_clay:4>, [
<minecraft:dye:15>, <minecraft:clay_ball:0>, <minecraft:flint:0>
]);
/*
Resource/Plant Based
*/
createOreMillRecipe("resin", <primal:tannin_ground:0> * 2, [
<ore:barkWood>
]);
createMillRecipe("hemp_fibre", <betterwithmods:material:3> * 3, [
<betterwithmods:material:2>
]);
createOreMillRecipe("ground_netherrack", <betterwithmods:material:15>, [
<ore:netherrack>
]);
createMillRecipe("coal_dust", <betterwithmods:material:18>, [
<minecraft:coal:0>
]);
createMillRecipe("charcoal_dust", <betterwithmods:material:37>, [
<minecraft:coal:1>
]);
createMillRecipe("sugar", <minecraft:sugar:0> * 2, [
<minecraft:reeds:0>
]);
createMillRecipe("charcoal_low_grade", <minecraft:coal:1> * 4, [
<primal_tech:charcoal_block>
]);
/*
Bone Meal
*/
createMillRecipe("bonemeal_bone", <minecraft:dye:15> * 6, [
<minecraft:bone>
]);
createMillRecipe("bonemeal_block", <minecraft:dye:15> * 9, [
<minecraft:bone_block>
]);
/*
Flour
*/
createMillRecipe("flour", <horsepower:flour:0>, [
<minecraft:wheat:0>
]);
createMillRecipe("barley_flour", <horsepower:flour:0>, [
<natura:materials:0>
]);
createMillRecipe("rice_flour", <betterwithaddons:japanmat:4>, [
<actuallyadditions:item_food:16>
]);
/*
Ground Meat
*/
createMillRecipe("ground_meat_pork", <betterwithaddons:food_ground_meat:0> * 3, [
<minecraft:porkchop:0>
]);
createMillRecipe("ground_meat_beef", <betterwithaddons:food_ground_meat:0> * 3, [
<minecraft:beef:0>
]);
createMillRecipe("ground_meat_rabbit", <betterwithaddons:food_ground_meat:0> * 3, [
<minecraft:rabbit:0>
]);
createMillRecipe("ground_meat_chicken", <betterwithaddons:food_ground_meat:0> * 2, [
<minecraft:chicken:0>
]);
createMillRecipe("ground_meat_mutton", <betterwithaddons:food_ground_meat:0> * 2, [
<minecraft:mutton:0>
]);
createMillRecipe("ground_meat_mystery", <betterwithaddons:food_ground_meat:0> * 2, [
<betterwithmods:mystery_meat:0>
]);
createMillRecipe("ground_meat_fish", <betterwithaddons:food_ground_meat:0> * 2, [
<minecraft:fish:0>
]);
createMillRecipe("ground_meat_salmon", <betterwithaddons:food_ground_meat:0> * 2, [
<minecraft:fish:1>
]);
}

View File

@ -0,0 +1,24 @@
#priority -50
/*
SevTech: Ages Table Modular Machines Recipe Loader Script
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
scripts.crafttweaker.integrations.mods.modularMachinery.autoCauldron.init();
scripts.crafttweaker.integrations.mods.modularMachinery.chemicalMixer.init();
scripts.crafttweaker.integrations.mods.modularMachinery.ethyliticEnricher.init();
scripts.crafttweaker.integrations.mods.modularMachinery.hydraulicPress.init();
scripts.crafttweaker.integrations.mods.modularMachinery.industrialDryingUnit.init();
scripts.crafttweaker.integrations.mods.modularMachinery.industrialLoom.init();
scripts.crafttweaker.integrations.mods.modularMachinery.industrialMill.init();
scripts.crafttweaker.integrations.mods.modularMachinery.liquidProcessor.init();
scripts.crafttweaker.integrations.mods.modularMachinery.mixer.init();
scripts.crafttweaker.integrations.mods.modularMachinery.paperclipFactory.init();
scripts.crafttweaker.integrations.mods.modularMachinery.plasticMolder.init();
scripts.crafttweaker.integrations.mods.modularMachinery.scamulator.init();
scripts.crafttweaker.integrations.mods.modularMachinery.volcanicCrystalizer.init();
}

View File

@ -0,0 +1,21 @@
/*
SevTech: Ages Table Liquid Processor Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "liquid_processor";
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "plastic"), machineName, 200)
.addEnergyPerTickInput(5)
.addFluidOutput(<liquid:plastic> * 1000)
.addFluidInput(<liquid:propene> * 1000)
.build();
}

View File

@ -0,0 +1,81 @@
/*
SevTech: Ages Table Industrial Mill Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import mods.modularmachinery.RecipeBuilder;
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "mixer";
// How many in total (base and upgraded versions)
var machineCount = 3;
// How much to multiply the base energyPerTick to get mk2 and up
var energyScalingMultiplier as int[] = [
1, // Mk1 (default)
2,
3
];
for i in 0 to machineCount {
var machineNameComplete as string = i > 0 ? machineName + "_mk" + (i + 1) : machineName;
var defaultTimeScaler = (i + 1) > 2 ? utils.squareNum(2, i - 1) : i + 1;
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "dough"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<ore:foodDough>, 4)
.addItemInput(<ore:foodSalt>)
.addItemInput(<ore:foodFlour>, 4)
.addFluidInput(<liquid:water> * 250)
.build();
//TODO: This in json was 600, 150, 75 recipe time. Should this be standardized or made exactly like the json?
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "hide_salted"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<ore:hideSalted>, 4)
.addItemInput(<ore:foodSalt>)
.addItemInput(<ore:hideRaw>, 4)
.addFluidInput(<liquid:water> * 250)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "hide_tanned"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<ore:hideTanned>, 4)
.addItemInput(<ore:dustTannin>)
.addItemInput(<ore:hideDry>, 4)
.addFluidInput(<liquid:water> * 250)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "paper_pulp"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<primal:plant_fiber_pulp:0> * 4)
.addItemInput(<ore:glue>)
.addItemInput(<ore:dustWood>, 4)
.addFluidInput(<liquid:water> * 250)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "rice_dough"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<actuallyadditions:item_misc:9> * 4)
.addItemInput(<ore:foodSalt>)
.addItemInput(<betterwithaddons:japanmat:4> * 4)
.addFluidInput(<liquid:water> * 250)
.build();
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "chocolate"), machineNameComplete, 300 / defaultTimeScaler)
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
.addItemOutput(<betterwithmods:chocolate:0> * 2)
.addItemInput(<minecraft:sugar:0>)
.addItemInput(<ore:foodCocoapowder>)
.addFluidInput(<liquid:milk> * 1000)
.build();
}
}

View File

@ -0,0 +1,28 @@
/*
SevTech: Ages Table Paperclip Factory Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "paperclip_factory";
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "paperclips"), machineName, 64)
.addEnergyPerTickInput(8)
.addItemOutput(<pickletweaks:ppm4:2> * 8)
.addItemInput(<galacticraftcore:item_basic_moon:0>)
.build();
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "paperclipsandlube"), machineName, 32)
.addEnergyPerTickInput(16)
.addFluidInput(<liquid:lubricant> * 100)
.addItemOutput(<pickletweaks:ppm4:2> * 8)
.addItemInput(<galacticraftcore:item_basic_moon:0>)
.build();
}

View File

@ -0,0 +1,53 @@
/*
SevTech: Ages Table Plastic Molder Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.data.IData;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.RecipePrimer;
import scripts.crafttweaker.utils;
// The machine name.
static machineName as string = "plastic_molder";
// Recipes which are going to be added to the machine.
// Output: [Inputs]
static machineRecipes as ILiquidStack[][IItemStack] = {
<industrialforegoing:plastic:0> * 4: [
<liquid:plastic> * 1000
]
};
// Recipe Data which is linked to the Recipe above. Needs to set the name and the values for power and tick time.
// Output (As Above): { name: "recipe name", tickTime: 80, powerTick: 1 }
static recipeData as IData[IItemStack] = {
<industrialforegoing:plastic:0> * 4: {
name: "plastic_sheets",
tickTime: 200,
powerTick: 10
}
};
function init() {
for outputItem, _fluids in machineRecipes {
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, recipeData[outputItem].name.asString()), machineName, recipeData[outputItem].tickTime.asInt())
.addEnergyPerTickInput(recipeData[outputItem].powerTick.asInt())
.addItemOutput(outputItem);
for fluid in _fluids {
primer.addFluidInput(fluid);
}
primer.build();
}
}

View File

@ -0,0 +1,137 @@
/*
SevTech: Ages Table Scamulator Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.modularmachinery.RecipeBuilder;
import scripts.crafttweaker.utils;
function init() {
// Machine name
var machineName = "scamulator";
//Tier 2 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier2rocket"), machineName, 128)
.addEnergyPerTickInput(40)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftcore:basic_item:14> * 1)
.addItemOutput(<galacticraftcore:schematic:1> * 1)
.addFluidInput(<liquid:cheese> * 50)
.build();
//Tier 3 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier3rocket"), machineName, 128)
.addEnergyPerTickInput(50)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftplanets:item_basic_mars> * 1)
.addItemOutput(<galacticraftplanets:schematic> * 1)
.addFluidInput(<liquid:cheese> * 50)
.build();
//Tier 4 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier4rocket"), machineName, 128)
.addEnergyPerTickInput(55)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:ingot_mercury> * 1)
.addItemOutput(<extraplanets:schematic_tier4> * 1)
.addFluidInput(<liquid:cheese> * 60)
.build();
//Tier 5 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier5rocket"), machineName, 128)
.addEnergyPerTickInput(60)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier5_items:5> * 1)
.addItemOutput(<extraplanets:schematic_tier5> * 1)
.addFluidInput(<liquid:cheese> * 70)
.build();
//Tier 6 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier6rocket"), machineName, 128)
.addEnergyPerTickInput(70)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier6_items:5> * 1)
.addItemOutput(<extraplanets:schematic_tier6> * 1)
.addFluidInput(<liquid:cheese> * 80)
.build();
//Tier 7 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier7rocket"), machineName, 128)
.addEnergyPerTickInput(80)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier7_items:5> * 1)
.addItemOutput(<extraplanets:schematic_tier7> * 1)
.addFluidInput(<liquid:cheese> * 90)
.build();
//Tier 8 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier8rocket"), machineName, 128)
.addEnergyPerTickInput(90)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier8_items:6> * 1)
.addItemOutput(<extraplanets:schematic_tier8> * 1)
.addFluidInput(<liquid:cheese> * 100)
.build();
//Tier 9 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier9rocket"), machineName, 128)
.addEnergyPerTickInput(100)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier9_items:5> * 1)
.addItemOutput(<extraplanets:schematic_tier9> * 1)
.addFluidInput(<liquid:cheese> * 110)
.build();
//Tier 10 Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier10rocket"), machineName, 128)
.addEnergyPerTickInput(110)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:tier10_items:5> * 1)
.addItemOutput(<extraplanets:schematic_tier10> * 1)
.addFluidInput(<liquid:cheese> * 120)
.build();
//Tier 10 Electric Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier10Electricrocket"), machineName, 128)
.addEnergyPerTickInput(110)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<extraplanets:eris:2> * 1)
.addItemOutput(<extraplanets:schematic_tier10_electric_rocket> * 1)
.addFluidInput(<liquid:cheese> * 120)
.build();
//Mars Rover
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "marsrover"), machineName, 128)
.addEnergyPerTickInput(50)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftplanets:mars:9> * 1)
.addItemOutput(<extraplanets:schematic_mars_rover> * 1)
.addFluidInput(<liquid:cheese> * 50)
.build();
//VenUS ROvEr
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "venusrover"), machineName, 128)
.addEnergyPerTickInput(50)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftplanets:venus:1> * 1)
.addItemOutput(<extraplanets:schematic_venus_rover> * 1)
.addFluidInput(<liquid:cheese> * 50)
.build();
//Moon Buggy
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "moonbuggy"), machineName, 128)
.addEnergyPerTickInput(50)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftcore:basic_block_moon:4> * 1)
.addItemOutput(<galacticraftcore:schematic> * 1)
.addFluidInput(<liquid:cheese> * 50)
.build();
//Automatic Cargo Rocket
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "automaticcargorocket"), machineName, 128)
.addEnergyPerTickInput(200)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftcore:item_basic_moon:2> * 1)
.addItemOutput(<galacticraftplanets:schematic:1> * 1)
.addFluidInput(<liquid:cheese> * 200)
.build();
//Astro Miner
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "astrominer"), machineName, 128)
.addEnergyPerTickInput(200)
.addItemInput(<minecraft:map> * 1)
.addItemInput(<galacticraftplanets:item_basic_asteroids:5> * 1)
.addItemOutput(<galacticraftplanets:schematic:2> * 1)
.addFluidInput(<liquid:cheese> * 200)
.build();
}

View File

@ -0,0 +1,54 @@
/*
SevTech: Ages Table Volcanic Crystalizer Recipes Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.data.IData;
import mods.modularmachinery.RecipeBuilder;
import mods.modularmachinery.RecipePrimer;
import scripts.crafttweaker.utils;
// The machine name.
static machineName as string = "volcanic_crystalizer";
// Recipes which are going to be added to the machine.
// Output: [Inputs]
static machineRecipes as ILiquidStack[][IItemStack] = {
<minecraft:obsidian:0>: [
<liquid:water> * 1000,
<liquid:lava> * 1000
]
};
// Recipe Data which is linked to the Recipe above. Needs to set the name and the values for power and tick time.
// Output (As Above): { name: "recipe name", tickTime: 80, powerTick: 1 }
static recipeData as IData[IItemStack] = {
<minecraft:obsidian:0>: {
name: "obsidian",
tickTime: 80,
powerTick: 1
}
};
function init() {
for outputItem, _fluids in machineRecipes {
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, recipeData[outputItem].name.asString()), machineName, recipeData[outputItem].tickTime.asInt())
.addEnergyPerTickInput(recipeData[outputItem].powerTick.asInt())
.addItemOutput(outputItem);
for fluid in _fluids {
primer.addFluidInput(fluid);
}
primer.build();
}
}

View File

@ -0,0 +1,59 @@
/*
SevTech: Ages Pneumatic Craft Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.pneumaticcraft.assembly as Assembly;
import mods.pneumaticcraft.liquidfuel as LiquidFuel;
import mods.pneumaticcraft.refinery as Refinery;
import mods.pneumaticcraft.thermopneumaticprocessingplant as ThermopneumaticProcessingPlant;
import mods.pneumaticcraft.pressurechamber as PressureChamber;
/*
Support:
Fuels: http://crafttweaker.readthedocs.io/en/latest/#Mods/PneumaticCraft_Repressurized/LiquidFuels/
Assemby: http://crafttweaker.readthedocs.io/en/latest/#Mods/PneumaticCraft_Repressurized/Assembly/
*/
function init() {
// Remove all recipes from the plant.
ThermopneumaticProcessingPlant.removeAllRecipes();
// Remove all recipes from the refinery.
Refinery.removeAllRecipes();
/*
Fuel (Default) Notes:
LPG - 1800
Gasoline - 1500
Kerosene - 1100
Diesel - 700
*/
// Remove all the Fuels.
LiquidFuel.removeAllFuels();
// Add back the fuels with our values.
LiquidFuel.addFuel(<liquid:gasoline>, 1500 * 1000);
LiquidFuel.addFuel(<liquid:kerosene>, 1100 * 1000);
LiquidFuel.addFuel(<liquid:diesel>, 700 * 1000);
// Presses available in stage 4
Assembly.addDrillRecipe(<darkutils:pearl_block:0>, <appliedenergistics2:material:15>); // Inscriber Logic Press
Assembly.addDrillRecipe(<quark:biotite_block:0>, <appliedenergistics2:material:19>); // Insciber Silicon Press
Assembly.addDrillRecipe(<minecraft:purpur_block:0>, <appliedenergistics2:material:14>); // Inscriber Engineering Press
Assembly.addDrillRecipe(<galacticraftcore:basic_block_moon:14>, <appliedenergistics2:material:13>); // Inscriber Calculation Press
// Remove Rose Red recipe
Assembly.removeDrillRecipe(<minecraft:dye:1>);
// Removing coal to diamond in pressure chamber
PressureChamber.removeRecipe([<minecraft:diamond:0>]);
// Slime Ingot (IF)
PressureChamber.addRecipe([<industrialforegoing:pink_slime> * 4, metals.steel.ingot.firstItem * 1], 3.5, [<industrialforegoing:pink_slime_ingot> * 1]);
}

View File

@ -0,0 +1,68 @@
/*
SevTech: Ages Primal Core Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.primal.DryingRack;
import mods.primal.Hibachi;
/*
Drying Rack: Recipe Removals
https://github.com/An-Sar/PrimalCore/wiki/CraftTweaker:-Drying-Rack
*/
static dryingRemovals as string[] = [
"clay_cinis_clump",
"clay_terra_clump",
"corn_stalk",
"daucus_murn_fronds",
"fish_clown_raw",
"fish_clown_salted",
"fish_cod_raw",
"fish_cod_salted",
"fish_lava_crawdad_raw",
"fish_lava_crawdad_salted",
"fish_lava_worm_raw ",
"fish_lava_worm_salted",
"fish_puffer_raw ",
"fish_puffer_salted",
"fish_salmon_raw",
"fish_salmon_salted",
"hide_raw",
"hide_raw_pigman",
"hide_salted",
"hide_salted_pigman",
"hide_tanned",
"hide_tanned_pigman",
"meat_bear_raw",
"meat_gator_raw",
"meat_gator_salted",
"meat_horse_raw",
"meat_llama_salted",
"meat_pigman_raw",
"meat_pigman_salted",
"meat_shark_raw",
"meat_shark_salt",
"meat_steppe_wolf_raw",
"nether_fiber_pulp",
"plant_fiber_pulp",
"thatching",
"valus_stalk"
];
/*
Support:
Hibachi: https://github.com/An-Sar/PrimalCore/wiki/CraftTweaker:-Hibachi
*/
function init() {
for dryingRecipe in dryingRemovals {
DryingRack.removeRecipe(dryingRecipe);
}
Hibachi.removeRecipe("valus_melon");
}

View File

@ -0,0 +1,209 @@
/*
SevTech: Ages Primal Tech Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
import mods.primaltech.ClayKiln;
import mods.primaltech.StoneAnvil;
import mods.primaltech.WaterSaw;
import mods.primaltech.WoodenBasin;
function init() {
/*
Clay Kiln
mods.primaltech.ClayKiln.addRecipe(IItemStack output, IIngredient input, int cooktime);
*/
var defaultKilnCookTime as int = 200;
var defaultKilnCookTimeRecipes as IItemStack[][IItemStack] = {
<betterwithmods:cooking_pot:1>: [
<progressiontweaks:unfired_clay_bowl:0>
],
<ceramics:clay_barrel:0>: [
<ceramics:clay_barrel_unfired:0>
],
<ceramics:clay_barrel:1>: [
<ceramics:clay_barrel_unfired:1>
],
<ceramics:clay_bucket:0>: [
<ceramics:clay_bucket_block:0>
],
<minecraft:brick:0>: [
<minecraft:clay_ball:0>
],
<minecraft:stone:0>: [
<minecraft:cobblestone:0>
],
<minecraft:stone:1>: [
<betterwithmods:cobblestone:0>
],
<minecraft:stone:3>: [
<betterwithmods:cobblestone:1>
],
<minecraft:stone:5>: [
<betterwithmods:cobblestone:2>
],
<primal:mud_dried:0>: [
<primal:mud_wet:0>
],
<primal:thatch:0>: [
<primal:thatch_wet:0>
],
<primal_tech:flint_block>: [
<minecraft:gravel:0>
],
<tconstruct:materials:0>: [
<tconstruct:soil:0>
],
<ceramics:unfired_clay:5>: [
<ceramics:unfired_clay:4>
]
};
for output, inputs in defaultKilnCookTimeRecipes {
for input in inputs {
ClayKiln.addRecipe(output, input, defaultKilnCookTime);
}
}
//Add all logs to kiln to make low grade charcoal
for log in <ore:logWood>.items {
ClayKiln.addRecipe(<primal_tech:charcoal_block>, log, defaultKilnCookTime);
}
/*
Stone Anvil
mods.primaltech.StoneAnvil.addRecipe(Itemstack output, IIngredient input);
*/
//[output, input]
var stoneAnvilPair as IItemStack[][] = [
[<minecraft:flint:0> * 4, <primal_tech:flint_block>],
[<materialpart:stone:nugget>, <minecraft:stone:0>],
[<minecraft:dye:4> * 9, <minecraft:lapis_block:0>],
[<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>],
[<minecraft:dye:15>, <death_compass:death_compass>.withTag({})] // Death Compass -> Bone Meal
];
for pair in stoneAnvilPair {
StoneAnvil.addRecipe(pair[0], pair[1]);
}
/*
Water Powered Saw
mods.primaltech.WaterSaw.addRecipe(IItemStack output, IIngredient input, int chopTime);
*/
/*
var defaultWaterSawChopTime as int = 80;
var defaultWaterSawChopTimeRecipes as IItemStack[][] = [
];
for pair in defaultWaterSawChopTimeRecipes {
WaterSaw.addRecipe(pair[0], pair[1], defaultWaterSawChopTime);
}
*/
/*
Wooden Basin
TODO: Re-write this to be better and cleaner (artdude)
mods.primaltech.WoodenBasin.addRecipe(IItemStack output, ILiquidStack inputFluid, IIngredient[] ingredients);
*/
var defaultWoodenBasinFluid as ILiquidStack = <liquid:water>;
var defaultWoodenBasinRecipes as IIngredient[][][IItemStack] = {
<actuallyadditions:item_misc:9> * 3: [
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <mekanism:salt:0>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <mekanism:salt:0>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<betterwithaddons:japanmat:4>, <mekanism:salt:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
[<mekanism:salt:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>]
],
<betterwithaddons:japanmat:8> * 4: [
[<betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>]
],
<primal:hide_salted:0> * 3: [
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_fire:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_netjry:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_rock:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_void:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <mekanism:salt:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_fire:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_netjry:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_rock:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_void:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:hide_raw:0>, <mekanism:salt:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:salt_dust_fire:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:salt_dust_netjry:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:salt_dust_rock:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <primal:salt_dust_void:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:hide_raw:0>, <mekanism:salt:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:salt_dust_fire:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:salt_dust_netjry:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:salt_dust_rock:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<primal:salt_dust_void:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
[<mekanism:salt:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>]
],
<primal:hide_tanned:0> * 3: [
[<primal:hide_dried:0>, <primal:hide_dried:0>, <primal:hide_dried:0>, <primal:tannin_ground:0>],
[<primal:hide_dried:0>, <primal:hide_dried:0>, <primal:tannin_ground:0>, <primal:hide_dried:0>],
[<primal:hide_dried:0>, <primal:tannin_ground:0>, <primal:hide_dried:0>, <primal:hide_dried:0>],
[<primal:tannin_ground:0>, <primal:hide_dried:0>, <primal:hide_dried:0>, <primal:hide_dried:0>]
],
<primal:mud_clump:0> * 4: [
[<minecraft:dirt:0>, <minecraft:dirt:0>, <minecraft:dirt:0>, <minecraft:dirt:0>]
],
<primal:plant_fiber_pulp:0> * 3: [
[<betterwithmods:material:12>, <betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:22>],
[<betterwithmods:material:22>, <betterwithmods:material:12>, <betterwithmods:material:22>, <betterwithmods:material:22>],
[<betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:12>, <betterwithmods:material:22>],
[<betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:12>]
]
};
var doughRecipes = [] as IIngredient[][];
var oreSalt = <ore:foodSalt>;
var oreFlour = <ore:foodFlour>;
for flour in oreFlour.items {
for salt in oreSalt.items {
doughRecipes += [flour, flour, flour, salt] as IIngredient[];
doughRecipes += [flour, flour, salt, flour] as IIngredient[];
doughRecipes += [flour, salt, flour, flour] as IIngredient[];
doughRecipes += [salt, flour, flour, flour] as IIngredient[];
}
}
defaultWoodenBasinRecipes[<horsepower:dough:0> * 3] = doughRecipes;
for output, inputs in defaultWoodenBasinRecipes {
for inputIngredients in inputs {
WoodenBasin.addRecipe(output, defaultWoodenBasinFluid, inputIngredients);
}
}
}

View File

@ -0,0 +1,20 @@
/*
SevTech: Ages Rustic Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import mods.rustic.EvaporatingBasin;
/*
Support:
Crushing Tub: https://github.com/the-realest-stu/Rustic/wiki/CraftTweaker-Support#crushing-tub-recipes
Evapor Basin: https://github.com/the-realest-stu/Rustic/wiki/CraftTweaker-Support#evaporating-basin-recipes
*/
function init() {
EvaporatingBasin.removeRecipe(<rustic:dust_tiny_iron:0>);
}

View File

@ -0,0 +1,28 @@
/*
SevTech: Ages Tinkers Alloy Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
/*
Alloying
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Alloying/
*/
function init() {
// Remove Constantan Alloying
tinkers.removeAlloying(metalItems.constantan.liquid.liquids[0]);
// Redstone Alloy Creation
tinkers.addAlloying(metalItems.redstoneAlloy.liquid.liquids[0] * 288, [<liquid:redstone> * 100, <liquid:glowstone> * 100, metalItems.constantan.liquid.liquids[0] * 144]);
// Modularium
tinkers.addAlloying(metalItems.modularium.liquid.liquids[0] * 288, [<liquid:redstone> * 100, metalItems.iron.liquid.liquids[0] * 144, metalItems.aluminum.liquid.liquids[0] * 144]);
// Invar
tinkers.addAlloying(metalItems.invar.liquid.liquids[0] * 3, [metalItems.iron.liquid.liquids[0] * 2, metalItems.nickel.liquid.liquids[0] * 1]);
}

View File

@ -0,0 +1,124 @@
/*
SevTech: Ages Tinkers Casting Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemDefinition;
import crafttweaker.item.IItemStack;
import crafttweaker.liquid.ILiquidStack;
/*
Casting
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Casting/
*/
function init() {
/*
Cast Creation
*/
// [IItemStack cast, IItemStack consumedItem]
var castCreationRecipes as IItemStack[][] = [
[<tconstruct:cast_custom:2>, <astralsorcery:itemcraftingcomponent:0>], // Gem cast with Astral Sorcery Aquamarine
// Gear Cast Allows Stone now. You're welcome. -________________- Oh, it's also made from stone so all the people don't get upset with me and call me names or tell me I don't know rocket surgery.
[<tconstruct:cast_custom:4>, <teslacorelib:gear_stone:0>],
[<tconstruct:cast_custom:1>, <materialpart:stone:nugget>]
];
var castLiquids as ILiquidStack[] = [
metalItems.gold.liquid.liquids[0],
<liquid:brass>,
metalItems.aluminumBrass.liquid.liquids[0]
];
for castCreationRecipe in castCreationRecipes {
for castLiquid in castLiquids {
var liquidAmount = 144;
if (castLiquid.matches(metalItems.gold.liquid.liquids[0])) {
liquidAmount = 288;
}
tinkers.addCastingTable(castCreationRecipe[0], castCreationRecipe[1], castLiquid, liquidAmount, true);
}
}
/*
Spartan Shields
As long as the metal is in the metals global stuff, this will work without any modifications
*/
var shieldMetals as string[] = [
"bronze",
"constantan",
"steel",
"copper",
"tin",
"silver",
"platinum",
"electrum",
"nickel",
"iron",
"gold",
"obsidian",
"lead",
"invar"
];
for shieldMetal in shieldMetals {
var shield as IItemStack = itemUtils.getItem("spartanshields:shield_basic_" + shieldMetal);
var towerShield as IItemStack = itemUtils.getItem("spartanshields:shield_tower_" + shieldMetal);
var liquid as ILiquidStack = shieldMetal == "obsidian" ? <liquid:obsidian> : metalItems[shieldMetal].liquid.liquids[0];
tinkers.addCastingTable(shield, <spartanshields:shield_basic_wood:0> | <spartanshields:shield_basic_stone:0>, liquid, 576, true);
// tinkers.addCastingBasin(towerShield, <spartanshields:shield_tower_wood:0> | <spartanshields:shield_tower_stone:0>, liquid, 576, true); // TODO: Enable if model issue resolved
}
/*
Standard Casting
*/
tinkers.removeCastingTable(<minecraft:glass_pane:0>);
tinkers.addCastingTable(<minecraft:glass_pane:0>, null, <liquid:glass>, 500);
tinkers.removeCastingBasin(<tconstruct:clear_glass:0>);
tinkers.addCastingBasin(<minecraft:glass:0>, null, <liquid:glass>, 1000);
tinkers.addCastingTable(<minecraft:ender_pearl:0>, <tconstruct:cast:0>.withTag({PartType: "tconstruct:pan_head"}), <liquid:ender_pearl>, 250, false);
tinkers.addCastingBasin(<betterwithmods:aesthetic:8>, null, <liquid:ender_pearl>, 2250);
tinkers.addCastingTable(metals.steeleaf.rod.firstItem, <tconstruct:cast:0>.withTag({PartType: "tconstruct:tool_rod"}), metalItems.steeleaf.liquid.liquids[0], 144, false);
// Redstone Alloy Rod
// TODO: Is this being handled by metals?
tinkers.addCastingTable(metals.redstoneAlloy.rod.firstItem, <tconstruct:cast:0>.withTag({PartType: "tconstruct:tool_rod"}), metalItems.redstoneAlloy.liquid.liquids[0], 144, false);
// Nugget Removal
tinkers.removeCastingTable(<mysticalagriculture:crafting:45>); // Soulium Nugget
// Iron Chests
tinkers.addCastingBasin(<ironchest:iron_chest:0>, <ironchest:iron_chest:7>, metalItems.iron.liquid.liquids[0], 1152, true, 300);
tinkers.addCastingBasin(<ironchest:iron_chest:1>, <ironchest:iron_chest:7>, metalItems.gold.liquid.liquids[0], 1152, true, 300);
tinkers.addCastingBasin(<ironchest:iron_chest:3>, <ironchest:iron_chest:7>, metalItems.copper.liquid.liquids[0], 1152, true, 300);
tinkers.addCastingBasin(<ironchest:iron_chest:4>, <ironchest:iron_chest:7>, metalItems.silver.liquid.liquids[0], 1152, true, 300);
tinkers.addCastingBasin(<ironchest:iron_chest:6>, <ironchest:iron_chest:7>, <liquid:obsidian>, 1152, true, 300);
tinkers.addCastingBasin(<ironchest:iron_chest:5>, <ironchest:iron_chest:1>, <liquid:astralsorcery.liquidstarlight>, 1152, true, 300);
// Slime Ball Casting
tinkers.addCastingTable(<tconstruct:edible:2>, null, <liquid:purpleslime>, 250, false, 40);
tinkers.addCastingTable(<tconstruct:edible:1>, null, <liquid:blueslime>, 250, false, 40);
tinkers.addCastingTable(<minecraft:slime_ball:0>, null, <liquid:slime>, 250, false, 40);
tinkers.addCastingBasin(<tconstruct:slime_congealed:3>, null, <liquid:blood>, 640, false, 60);
tinkers.removeCastingBasin(<tconstruct:seared_furnace_controller:0>);
// Liquid Redstone
tinkers.addCastingTable(<minecraft:redstone:0>, <tconstruct:cast_custom:2>, <liquid:redstone>, 100, false);
tinkers.addCastingBasin(<minecraft:redstone_block:0>, null, <liquid:redstone>, 900);
// Liquid Glowstone
tinkers.addCastingTable(<minecraft:glowstone_dust:0>, <tconstruct:cast_custom:2>, <liquid:glowstone>, 100, false);
tinkers.addCastingBasin(<minecraft:glowstone:0>, null, <liquid:glowstone>, 400);
}

View File

@ -0,0 +1,24 @@
/*
SevTech: Ages Tinkers Drying Rack Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
// Paper Creation
tinkers.addDrying(<betterwithaddons:japanmat:9>, <betterwithaddons:japanmat:8>, 2400);
tinkers.addDrying(<minecraft:paper:0>, <primal:plant_fiber_pulp:0>, 2400);
// Dried Fish
tinkers.addDrying(<primal:fish_salmon_dried:0>, <minecraft:fish:1>, 1600);
tinkers.addDrying(<primal:shark_meat_dried:0>, <primal:shark_meat_raw:0>, 1600);
// Leather Recipes
tinkers.removeDrying(<minecraft:leather:0>);
tinkers.addDrying(<minecraft:leather:0>, <primal:hide_tanned:0>, 2400);
tinkers.addDrying(<primal:hide_dried:0>, <primal:hide_salted:0>, 2400);
}

View File

@ -0,0 +1,17 @@
#priority -50
/*
SevTech: Ages Tinkers Loader Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
function init() {
scripts.crafttweaker.integrations.mods.tinkers.alloy.init();
scripts.crafttweaker.integrations.mods.tinkers.casting.init();
scripts.crafttweaker.integrations.mods.tinkers.dryingRack.init();
scripts.crafttweaker.integrations.mods.tinkers.melting.init();
}

View File

@ -0,0 +1,73 @@
/*
SevTech: Ages Tinkers Melting Script
This script handles custom integration control to a mod.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
/*
Melting
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Melting/
*/
function init() {
tinkers.addMelting(<liquid:ender_pearl> * 250, <appliedenergistics2:material:46>);
// Platinum Ore
//TODO: Loop over oredict instead (and ensure ore is unified)
tinkers.addMelting(metalItems.platinum.liquid.liquids[0] * 144, <geolosys:cluster:8>);
// New seared stone mechanic
tinkers.removeMelting(<liquid:stone>);
tinkers.addMelting(<liquid:stone> * 72, <tconstruct:soil:0>);
tinkers.addMelting(<liquid:stone> * 72, <tconstruct:materials:0>);
var searedBlock = <tconstruct:seared:0>.definition;
for i in 0 .. 10{
if (i != 1){
tinkers.addMelting(<liquid:stone> * 288, searedBlock.makeStack(i));
}
}
tinkers.addMelting(<liquid:stone> * 216, <tconstruct:seared:1>);
// Steves Carts' Metals
tinkers.addMelting(metalItems.enhancedGalgadorian.liquid.liquids[0] * 144, <stevescarts:modulecomponents:48>);
tinkers.addMelting(metalItems.galgadorian.liquid.liquids[0] * 144, <stevescarts:modulecomponents:46>);
tinkers.addMelting(metalItems.reinforcedMetal.liquid.liquids[0] * 144, <stevescarts:modulecomponents:21>);
/*
Fixes so all glass is same melting temp.
I'm doing this against my better judgement because I don't want to hear players complaining about how it's impossible to make glass in stage 2 even though it's 100% possible already.
*/
tinkers.removeMelting(<liquid:glass>);
tinkers.addMelting(<liquid:glass> * 250, <ore:pileSand>, 493);
tinkers.addMelting(<liquid:glass> * 250, <ore:shardGlass>, 493);
tinkers.addMelting(<liquid:glass> * 375, <ore:paneGlass>, 493);
tinkers.addMelting(<liquid:glass> * 1000, <ore:blockGlass>, 493);
tinkers.addMelting(<liquid:glass> * 1000, <ore:sand>, 493);
// Remove Villager from giving emeralds or blood
tinkers.addMeltingEntity(<entity:minecraft:villager>, <liquid:water> * 0); // Setting to 0 gives nothing when the entity is "melted"
// Stops an exploit by removing the merchants melting.
tinkers.addMeltingEntity(<entity:farmingforblockheads:merchant>, <liquid:water> * 0); // Setting to 0 gives nothing when the entity is "melted"
/*
Combined stuff
*/
// Liquid Glowstone
tinkers.addMelting(<liquid:glowstone> * 100, <minecraft:glowstone_dust:0>);
tinkers.addMelting(<liquid:glowstone> * 400, <minecraft:glowstone:0>);
// Liquid Redstone
tinkers.addMelting(<liquid:redstone> * 100, <minecraft:redstone:0>);
tinkers.addMelting(<liquid:redstone> * 900, <minecraft:redstone_block:0>);
// Cheese
tinkers.addMelting(<liquid:cheese> * 100, <galacticraftcore:cheese:0>);
tinkers.addMelting(<liquid:cheese> * 10, <galacticraftcore:cheese_curd:0>);
}

View File

@ -0,0 +1,518 @@
import crafttweaker.item.IItemStack;
import mods.zenloot.LootTable;
import mods.zenloot.LootEntry;
import mods.zenloot.LootFunction;
// The pools in this loot table are added to other tables - editing them here will edit them in all tables they are added to
static earlyLootTables as LootEntry[][string][string] = {};
static lootTables as LootEntry[][string][string] = {
"minecraft:chests/simple_dungeon": {
"main": [
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:mre>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:record_13>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:record_cat>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(20).setStage()
],
"pool1": [
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:bucket>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(15).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(20).setCount(1, 4).setStage()
],
"pool2": [
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage()
]
},
"pneumaticcraft:inject/simple_dungeon_loot": { // injected into many vanilla pools
"main": [
LootEntry.fromItemStack(<pneumaticcraft:nuke_virus>).setWeight(15).setStage(),
LootEntry.fromItemStack(<pneumaticcraft:spawner_agitator>).setWeight(3).setStage(),
LootEntry.fromItemStack(<pneumaticcraft:stop_worm>).setWeight(15).setStage(),
LootEntry.empty(67)
]
},
"minecraft:chests/abandoned_mineshaft": {
"main": [
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(30).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage(),
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
LootEntry.empty(5)
],
"pool1": [
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<minecraft:dye:4>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<minecraft:coal>).setWeight(10).setCount(3, 8).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage()
],
"pool2": [
LootEntry.fromItemStack(<minecraft:rail>).setWeight(20).setCount(4, 8).setStage(),
LootEntry.fromItemStack(<minecraft:golden_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:detector_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:activator_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:torch>).setWeight(15).setCount(1, 16).setStage()
]
},
"abyssalcraft:chests/mineshaft": {
"main": [
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dreadshard>).setWeight(10).setCount(3, 8).setStage(),
LootEntry.fromItemStack(<abyssalcraft:corpick>).setWeight(1).setStage(),
LootEntry.fromItemStack(<abyssalcraft:transmutationgem>).setWeight(1).setDamage(0.1, 0.3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:oc>).setWeight(1).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage()
],
"pool1": [
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(10).setCount(3, 8).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abychunk>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dreadchunk>).setWeight(10).setCount(2, 4).setStage()
],
"pool2": [
LootEntry.fromItemStack(<minecraft:rail>).setWeight(20).setCount(4, 8).setStage(),
LootEntry.fromItemStack(<minecraft:golden_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:detector_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:activator_rail>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:torch>).setWeight(15).setCount(1, 16).setStage()
]
},
"minecraft:chests/igloo_chest": {
"main": [
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:gold_nugget>).setWeight(10).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:stone_axe>).setWeight(2).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(10).setCount(2, 3).setStage(),
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage()
],
"pool1": [
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(1).setStage()
]
},
"minecraft:chests/desert_pyramid": {
"main": [
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(15).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:bone>).setWeight(25).setCount(4, 6).setStage(),
LootEntry.fromItemStack(<minecraft:spider_eye>).setWeight(25).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(25).setCount(3, 7).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(20).addRandomEnchant().setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
LootEntry.empty(15)
],
"pool1": [
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:sand>).setWeight(10).setCount(1, 8).setStage()
],
"moms_spaghetti": [
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
]
},
"minecraft:chests/stronghold_library": {
"main": [
LootEntry.fromItemStack(<minecraft:book>).setWeight(20).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:paper>).setWeight(20).setCount(2, 7).setStage(),
LootEntry.fromItemStack(<minecraft:map>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:book>, "minecraft:book#0").setWeight(10).addEnchantWithLevels(30, true).setStage(),
LootEntry.fromItemStack(<minecraft:compass>).setWeight(1).setStage(),
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
LootEntry.fromItemStack(<immersiveengineering:blueprint>.withTag({blueprint: "electrode"})).setWeight(5).setStage().addFunction(LootFunction.parse("{\"function\":\"immersiveengineering:secret_bluprintz\",\"conditions\":[{\"chance\":0.125,\"condition\":\"minecraft:random_chance\"}]}"))
]
},
"minecraft:gameplay/fishing/fish": {
"main": [
LootEntry.fromItemStack(<minecraft:fish>).setWeight(60).setStage(),
LootEntry.fromItemStack(<minecraft:fish:1>, "minecraft:fish#0").setWeight(25).setStage(),
LootEntry.fromItemStack(<minecraft:fish:2>, "minecraft:fish#1").setWeight(2).setStage(),
LootEntry.fromItemStack(<minecraft:fish:3>, "minecraft:fish#2").setWeight(13).setStage()
]
},
"minecraft:gameplay/fishing/treasure": {
"main": [
LootEntry.fromItemStack(<minecraft:waterlily>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:bow>).setWeight(1).setDamage(0.0, 0.25).addEnchantWithLevels(30, true).setStage(),
LootEntry.fromItemStack(<minecraft:fishing_rod>).setWeight(1).setDamage(0.0, 0.25).addEnchantWithLevels(30, true).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage()
]
},
"minecraft:gameplay/fishing/junk": {
"main": [
LootEntry.fromItemStack(<minecraft:leather_boots>).setWeight(10).setDamage(0.0, 0.9).setStage(),
LootEntry.fromItemStack(<minecraft:leather>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:potion>.withTag({Potion: "minecraft:water"})).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:string>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:fishing_rod>).setWeight(2).setDamage(0.0, 0.9).setStage(),
LootEntry.fromItemStack(<minecraft:bowl>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:stick>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:dye> * 10).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:tripwire_hook>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setStage()
]
},
"minecraft:chests/woodland_mansion": {
"main": [
LootEntry.fromItemStack(<minecraft:lead>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
LootEntry.fromItemStack(<minecraft:record_13>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:record_cat>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:chainmail_chestplate>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_hoe>).setWeight(15).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_chestplate>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage()
],
"pool1": [
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(20).setStage(),
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(20).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:bucket>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(15).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage()
],
"pool2": [
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage()
]
},
"minecraft:chests/stronghold_corridor": {
"main": [
LootEntry.fromItemStack(<minecraft:ender_pearl>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage()
]
},
"minecraft:chests/nether_bridge": {
"main": [
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(5).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:golden_sword>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:golden_chestplate>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:flint_and_steel>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:nether_wart>).setWeight(5).setCount(3, 7).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(10).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(8).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(3).setStage(),
LootEntry.fromItemStack(<minecraft:obsidian>).setWeight(2).setCount(2, 4).setStage()
]
},
"abyssalcraft:chests/stronghold_corridor" : {
"main": [
LootEntry.fromItemStack(<minecraft:ender_pearl>).setWeight(10).setStage(),
LootEntry.fromItemStack(<abyssalcraft:transmutationgem>).setWeight(1).setDamage(0.1, 0.3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cpearl>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:apick>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:aplate>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:ahelmet>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:alegs>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:aboots>).setWeight(5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:oc>).setWeight(1).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage()
]
},
"minecraft:chests/village_blacksmith": {
"main": [
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(5).setStage(),
LootEntry.fromItemStack(<minecraft:obsidian>).setWeight(5).setCount(3, 7).setStage(),
LootEntry.fromItemStack(<minecraft:sapling>).setWeight(5).setCount(3, 7).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cobbleu>).setWeight(10).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:ironu>).setWeight(7).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:goldu>).setWeight(4).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:diamondu>).setWeight(1).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<immersiveengineering:blueprint>.withTag({blueprint: "electrode"})).setWeight(1).setStage().addFunction(LootFunction.parse("{\"function\":\"immersiveengineering:secret_bluprintz\",\"conditions\":[{\"chance\":0.125,\"condition\":\"minecraft:random_chance\"}]}"))
]
},
"galacticraftcore:crashed_probe": {
"crashed_probe": [
LootEntry.fromItemStack(<galacticraftplanets:item_basic_mars:3>).setWeight(5).setCount(3, 6).setStage(),
LootEntry.fromItemStack(<galacticraftcore:heavy_plating>).setWeight(5).setCount(3, 6).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(5).setCount(5, 9).setStage(),
LootEntry.fromItemStack(<galacticraftplanets:item_basic_asteroids:5>).setWeight(5).setCount(3, 6).setStage(),
LootEntry.fromItemStack(<galacticraftplanets:item_basic_asteroids:6>, "galacticraftplanets:item_basic_asteroid#0").setWeight(5).setCount(3, 6).setStage()
]
},
"minecraft:chests/spawn_bonus_chest": {
"main": [
LootEntry.fromItemStack(<minecraft:stone_axe>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:wooden_axe>).setWeight(3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:daxe>).setWeight(3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dpick>).setWeight(3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dshovel>).setWeight(2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dsword>).setWeight(2).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dltlog>).setWeight(10).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:dltlog2>).setWeight(10).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cobbleu>).setWeight(2).setCount(1, 2).setStage()
],
"pool1": [
LootEntry.fromItemStack(<minecraft:stone_pickaxe>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:wooden_pickaxe>).setWeight(3).setStage()
],
"pool2": [
LootEntry.fromItemStack(<minecraft:apple>).setWeight(5).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(3).setCount(1, 2).setStage(),
LootEntry.fromItemStack(<minecraft:fish:1>).setWeight(3).setCount(1, 2).setStage()
],
"pool3": [
LootEntry.fromItemStack(<minecraft:stick>).setWeight(10).setCount(1, 12).setStage(),
LootEntry.fromItemStack(<minecraft:planks>).setWeight(10).setCount(1, 12).setStage(),
LootEntry.fromItemStack(<minecraft:log>).setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:log:1>, "minecraft:log#0").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:log:2>, "minecraft:log#1").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:log:3>, "minecraft:log#2").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:log2>).setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:log2:1>, "minecraft:log2#0").setWeight(4).setCount(1, 3).setStage()
]
},
"abyssalcraft:chests/stronghold_crossing": {
"main": [
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:cpearl>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(10).setCount(3, 8).setStage(),
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<abyssalcraft:apick>).setWeight(1).setStage(),
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<abyssalcraft:mre>).setWeight(10).setStage()
]
},
"minecraft:chests/jungle_temple": {
"main": [
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(2).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:bone>).setWeight(20).setCount(4, 6).setStage(),
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(16).setCount(3, 7).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage(),
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage()
],
"moms_spaghetti": [
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
]
},
"minecraft:chests/stronghold_crossing": {
"main": [
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
LootEntry.fromItemStack(<minecraft:coal>).setWeight(10).setCount(3, 8).setStage(),
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage()
],
"moms_spaghetti": [
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
]
},
"minecraft:chests/end_city_treasure": {
"main": [
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(2, 7).setStage(),
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(4, 8).setStage(),
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(2).setCount(2, 6).setStage(),
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(5).setCount(1, 10).setStage(),
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_sword>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_boots>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_chestplate>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_leggings>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_helmet>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_pickaxe>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:diamond_shovel>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
LootEntry.fromItemStack(<minecraft:iron_shovel>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage()
]
},
"actuallyadditions:lush_caves": {
"main": [
LootEntry.fromItemStack(<minecraft:book>).setWeight(50).setStage(),
LootEntry.fromItemStack(<minecraft:bone>).setWeight(100).setCount(1, 12).setStage(),
LootEntry.fromItemStack(<actuallyadditions:wooden_paxel>).setWeight(30).setDamage(0.0, 0.25).setStage(),
LootEntry.fromItemStack(<actuallyadditions:stone_paxel>).setWeight(25).setDamage(0.0, 0.25).setStage(),
LootEntry.fromItemStack(<actuallyadditions:quartz_paxel>).setWeight(20).setDamage(0.0, 0.25).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_paxel_crystal_black>).setWeight(15).setDamage(0.0, 0.25).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_paxel_crystal_white>).setWeight(10).setDamage(0.0, 0.25).setStage(),
LootEntry.fromItemStack(<minecraft:leather_helmet>).setDamage(0.0, 0.75).setWeight(50).setStage(),
LootEntry.fromItemStack(<minecraft:leather_chestplate>).setDamage(0.0, 0.75).setWeight(50).setStage(),
LootEntry.fromItemStack(<minecraft:leather_leggings>).setDamage(0.0, 0.75).setWeight(50).setStage(),
LootEntry.fromItemStack(<minecraft:leather_boots>).setDamage(0.0, 0.75).setWeight(50).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal>).setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal:1>, "actuallyadditions:item_crystal#0").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal:2>, "actuallyadditions:item_crystal#1").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal:3>, "actuallyadditions:item_crystal#2").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal:4>, "actuallyadditions:item_crystal#3").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_crystal:5>, "actuallyadditions:item_crystal#4").setWeight(4).setCount(1, 3).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal>).setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal:1>, "actuallyadditions:block_crystal#0").setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal:2>, "actuallyadditions:block_crystal#1").setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal:3>, "actuallyadditions:block_crystal#2").setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal:4>, "actuallyadditions:block_crystal#3").setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:block_crystal:5>, "actuallyadditions:block_crystal#4").setWeight(1).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_misc:5>).setWeight(20).setCount(1, 5).setStage(),
LootEntry.fromItemStack(<actuallyadditions:item_misc:15>, "actuallyadditions:item_misc_2").setWeight(5).setCount(1, 2).setStage()
]
}
};
function init() {
for tableId, pools in earlyLootTables {
var lootTable = LootTable.editEarly(tableId);
for poolName, entries in pools {
var lootPool = lootTable.getExistingPool(poolName);
lootPool.clear();
for entry in entries {
lootPool.addEntry(entry);
}
}
}
for tableId, pools in lootTables {
var lootTable = LootTable.edit(tableId);
for poolName, entries in pools {
var lootPool = lootTable.getExistingPool(poolName);
lootPool.clear();
for entry in entries {
lootPool.addEntry(entry);
}
}
}
// Add liveroot, torchberries, and trollber to TF structure chest loot tables
var lootTable = LootTable.editAllMatching("^twilightforest:structures\\/(\\w+)\\/\\1")
.addPool("skyblock_resources", 0, 2, 0, 0)
.addEntry(LootEntry.fromItemStack(<twilightforest:liveroot>).setCount(1, 5))
.addEntry(LootEntry.fromItemStack(<twilightforest:torchberries>).setCount(1, 5))
.addEntry(LootEntry.fromItemStack(<twilightforest:trollber>).setCount(1, 5))
.addEntry(LootEntry.empty(1));
}

View File

@ -0,0 +1,299 @@
/*
SevTech: Ages Wood Script
This script handles adding/removing recipes for logs to planks.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import mods.betterwithmods.Kiln;
import mods.betterwithmods.Saw;
import mods.primaltech.WaterSaw;
/*
This listing contains the pairs for the Logs -> Planks.
*/
static plankLogPairs as IIngredient[][IItemStack] = {
<abyssalcraft:dltplank:0>: [
<abyssalcraft:dltlog:0>,
<abyssalcraft:dltlog2:0>
],
<abyssalcraft:dreadplanks:0>: [
<abyssalcraft:dreadlog:0>
],
<betterwithaddons:planks_mulberry:0>: [
<betterwithaddons:log_mulberry:0>
],
<betterwithaddons:planks_sakura:0>: [
<betterwithaddons:log_sakura:0>
],
<minecraft:planks:1>: [
<thebetweenlands:log_sap:0>,
<minecraft:log:1>,
<primal:logs_stripped:1>,
<twilightforest:magic_log:0>,
<twilightforest:twilight_log:1>,
<twilightforest:twilight_log:3>
],
<minecraft:planks:2>: [
<betterwithaddons:log_luretree_face:0>,
<betterwithaddons:log_luretree:0>,
<minecraft:log:2>,
<primal:logs_stripped:2>,
<twilightforest:magic_log:2>,
<twilightforest:twilight_log:2>
],
<minecraft:planks:3>: [
<betterwithmods:blood_log:0>,
<minecraft:log:3>,
<primal:logs_stripped:3>
],
<minecraft:planks:4>: [
<minecraft:log2:0>,
<primal:logs_stripped:4>
],
<minecraft:planks:5>: [
<minecraft:log2:1>,
<primal:logs_stripped:5>,
<twilightforest:magic_log:3>
],
<minecraft:planks:0>: [
<minecraft:log:0>,
<primal:logs_stripped:0>,
<twilightforest:twilight_log:0>
],
<natura:nether_planks:1>: [
<natura:nether_logs2:15>,
<natura:nether_logs2:0>
],
<natura:nether_planks:2>: [
<natura:nether_logs:1>
],
<natura:nether_planks:3>: [
<natura:nether_logs:2>
],
<natura:nether_planks:0>: [
<natura:nether_logs:0>
],
<natura:overworld_planks:1>: [
<natura:overworld_logs:1>
],
<natura:overworld_planks:2>: [
<natura:overworld_logs:2>
],
<natura:overworld_planks:3>: [
<natura:overworld_logs:3>
],
<natura:overworld_planks:4>: [
<natura:overworld_logs2:0>
],
<natura:overworld_planks:5>: [
<natura:overworld_logs2:1>
],
<natura:overworld_planks:6>: [
<natura:overworld_logs2:2>
],
<natura:overworld_planks:7>: [
<natura:overworld_logs2:3>
],
<natura:overworld_planks:8>: [
<natura:redwood_logs:1>
],
<natura:overworld_planks:0>: [
<natura:overworld_logs:0>
],
<primal:planks:1>: [
<primal:logs:1>,
<primal:logs_stripped:7>
],
<rustic:planks:1>: [
<rustic:log:1>,
<primal:logs_stripped:6>
],
<rustic:planks:0>: [
<rustic:log:0>
],
<totemic:cedar_plank:0>: [
<totemic:cedar_log:0>,
<totemic:stripped_cedar_log:0>
],
<traverse:fir_planks:0>: [
<traverse:fir_log:0>
],
<thebetweenlands:giant_root_planks:0>: [
<thebetweenlands:giant_root:0>
],
<thebetweenlands:hearthgrove_planks:0>: [
<thebetweenlands:log_hearthgrove:1>,
<thebetweenlands:log_hearthgrove:3>
],
<thebetweenlands:nibbletwig_planks:0>: [
<thebetweenlands:log_nibbletwig:0>,
<thebetweenlands:log_nibbletwig:12>
],
<thebetweenlands:rubber_tree_planks:0>: [
<thebetweenlands:log_rubber:0>
],
<thebetweenlands:weedwood_planks:0>: [
<thebetweenlands:log_weedwood:12>,
<thebetweenlands:log_weedwood:0>,
<thebetweenlands:weedwood:0>
],
<integrateddynamics:menril_planks:0>: [
<integrateddynamics:menril_log:0>,
<integrateddynamics:menril_log_filled:0>
],
<extraplanets:kepler22b_planks:0>: [
<extraplanets:kepler22b_maple_logs:0>
],
<extraplanets:kepler22b_planks:1>: [
<extraplanets:kepler22b_maple_logs:1>
],
<extraplanets:kepler22b_planks:2>: [
<extraplanets:kepler22b_maple_logs:2>
],
<extraplanets:kepler22b_planks:3>: [
<extraplanets:kepler22b_maple_logs:3>
],
<extraplanets:kepler22b_planks:4>: [
<extraplanets:kepler22b_maple_logs2:0>
],
<extraplanets:kepler22b_planks:5>: [
<extraplanets:kepler22b_maple_logs2:1>
]
};
/*
This array listing should only contain logs which don't have planks from the mod or don't make sense to convert to Vanilla Planks.
This will then remove the log from processig recipes (in higher tech) to not turn out as chopping blocks.
*/
static logsToRemove as IItemStack[] = [
<natura:redwood_logs:2>,
<natura:redwood_logs:0>,
<thebetweenlands:log_nibbletwig:1>,
<thebetweenlands:log_nibbletwig:2>,
<thebetweenlands:log_nibbletwig:3>,
<thebetweenlands:log_nibbletwig:4>,
<thebetweenlands:log_nibbletwig:5>,
<thebetweenlands:log_nibbletwig:6>,
<thebetweenlands:log_nibbletwig:7>,
<thebetweenlands:log_nibbletwig:8>,
<thebetweenlands:log_nibbletwig:9>,
<thebetweenlands:log_nibbletwig:10>,
<thebetweenlands:log_nibbletwig:11>,
<thebetweenlands:log_nibbletwig:13>,
<thebetweenlands:log_nibbletwig:14>,
<thebetweenlands:log_nibbletwig:15>,
<thebetweenlands:log_hearthgrove:0>,
<thebetweenlands:log_hearthgrove:2>,
<thebetweenlands:log_hearthgrove:4>,
<thebetweenlands:log_hearthgrove:5>,
<thebetweenlands:log_hearthgrove:6>,
<thebetweenlands:log_hearthgrove:7>,
<thebetweenlands:log_hearthgrove:8>,
<thebetweenlands:log_hearthgrove:9>,
<thebetweenlands:log_hearthgrove:10>,
<thebetweenlands:log_hearthgrove:11>,
<thebetweenlands:log_hearthgrove:12>,
<thebetweenlands:log_hearthgrove:13>,
<thebetweenlands:log_hearthgrove:14>,
<thebetweenlands:log_hearthgrove:15>,
<thebetweenlands:log_weedwood:1>,
<thebetweenlands:log_weedwood:2>,
<thebetweenlands:log_weedwood:3>,
<thebetweenlands:log_weedwood:4>,
<thebetweenlands:log_weedwood:5>,
<thebetweenlands:log_weedwood:6>,
<thebetweenlands:log_weedwood:7>,
<thebetweenlands:log_weedwood:8>,
<thebetweenlands:log_weedwood:9>,
<thebetweenlands:log_weedwood:10>,
<thebetweenlands:log_weedwood:11>,
<thebetweenlands:log_weedwood:13>,
<thebetweenlands:log_weedwood:14>,
<thebetweenlands:log_weedwood:15>,
<twilightforest:magic_log:1>
];
static sawSlabs as IItemStack[IItemStack] = {
<thebetweenlands:thatch_slab:0> : <primal:thin_slab_thatch:0>,
<minecraft:wooden_slab:4> : <primal:thin_slab_acacia:0>,
<minecraft:wooden_slab:5> : <primal:thin_slab_bigoak:0>,
<minecraft:wooden_slab:2> : <primal:thin_slab_birch:0>,
<minecraft:wooden_slab:0> : <primal:thin_slab_oak:0>,
<minecraft:wooden_slab:3> : <primal:thin_slab_jungle:0>,
<minecraft:wooden_slab:1> : <primal:thin_slab_spruce:0>,
<rustic:ironwood_slab_item:0> : <primal:thin_slab_ironwood:0>
};
function init() {
// Add the recipes needed.
for plank, logs in plankLogPairs {
for log in logs {
// Horse Power
horsePower.addChopping(plank * 4, log, 4, true);
horsePower.addChopping(plank * 4, log, 2, false);
// Primal Tech
WaterSaw.addRecipe(plank, log, 80);
// Mekanism
mekanism.removeSawmill(log);
// For any recipes that need logs as an IItemStack.
for logItem in log.items {
// Better With Mods
Saw.builder()
.buildRecipe(log, [plank * 6, <ore:dustWood>.firstItem * 2])
.setInputBlockDrop(logItem as IItemStack)
.build();
Kiln.builder()
.buildRecipe(log, [<primal_tech:charcoal_block>])
.setHeat(2)
.build();
// Mekanism
mekanism.addSawmill(logItem, plank * 6, <ore:dustWood>.firstItem * 2, 0.25);
}
}
}
// Remove the recipes for the log.
for log in logsToRemove {
mekanism.removeSawmill(log);
}
// Better stick recipes. (Lower tech recipe to use slabs to convert to sticks before players unlock higher tech)
for slab in <ore:slabWood>.items {
var hasThinSlab = false;
for slabWithThin in sawSlabs.keys {
if (slab.matches(slabWithThin)) {
hasThinSlab = true;
break;
}
}
if !hasThinSlab {
Saw.builder()
.buildRecipe(slab, [<minecraft:stick> * 4])
.build();
}
}
for slab, thinSlab in sawSlabs {
Saw.builder()
.buildRecipe(slab, [thinSlab * 2])
.setInputBlockDrop(slab)
.build();
Saw.builder()
.buildRecipe(thinSlab, [<minecraft:stick:0> * 2] as IItemStack[])
.setInputBlockDrop(thinSlab)
.build();
}
}