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,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();
}
}