Skip to content

Instantly share code, notes, and snippets.

import mods.actuallyadditions.Empowerer;
import mods.actuallyadditions.AtomicReconstructor;
import crafttweaker.item.IItemStack;
val EmpowererRecipe = [
//Recipe in format of [output, centerInput, sideInput1, sideInput2, sideInput3, sideInput4, energyPerStand, timeInTicks]
[<mysticalagriculture:tier1_inferium_seeds>, <mysticalagriculture:ingot_storage:1>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 1
[<mysticalagriculture:tier2_inferium_seeds>, <mysticalagriculture:ingot_storage:2>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 2
[<mysticalagriculture:tier3_inferium_seeds>, <mysticalagriculture:ingot_storage:3>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 3
[<mysticalagriculture:tier4_inferium_seeds>, <mysticalagriculture:ingot_storage:4>, <botania:grassseeds>, <extraut
import mods.actuallyadditions.Empowerer.addRecipe as empAdd;
import mods.actuallyadditions.AtomicReconstructor;
//Recipe in format of [output, centerInput, sideInput1, sideInput2, sideInput3, sideInput4, energyPerStand, timeInTicks]
empAdd(<mysticalagriculture:tier1_inferium_seeds>, <mysticalagriculture:ingot_storage:1>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>, 10000, 200); //Inferium Tier 1
empAdd(<mysticalagriculture:tier2_inferium_seeds>, <mysticalagriculture:ingot_storage:2>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>, 20000, 200); //Inferium Tier 2
empAdd(<mysticalagriculture:tier3_inferium_seeds>, <mysticalagriculture:ingot_storage:3>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>, 30000, 200); //Inferium Tier 3
empAdd(<mysticalagriculture:tier4_inferium_seeds>, <mysticalagriculture:ingot_storage:4>, <botania:gras
for biome in game.biomes {
print("");
print("");
print("------------------------------");
print("");
print("");
print("Name: "~biome.name);
print("Can "~(biome.canRain ? "" : "NOT ")~"rain.");
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry
[INITIALIZATION][CLIENT][INFO] Loading scripts
[INITIALIZATION][CLIENT][INFO] [crafttweaker]: Loading Script: {[0:crafttweaker]: testBiomes.zs}
[INITIALIZATION][CLIENT][INFO]
[INITIALIZATION][CLIENT][INFO]
[INITIALIZATION][CLIENT][INFO] ------------------------------
[INITIALIZATION][CLIENT][INFO]
[INITIALIZATION][CLIENT][INFO]
[INITIALIZATION][CLIENT][INFO] Name: Ocean
@kindlich
kindlich / JEI.zs
Created November 15, 2017 20:09
JEI Description changes test script
import mods.jei.JEI;
JEI.addDescription(<minecraft:dirt>, "HI", "1");
JEI.addDescription([<minecraft:gold_ingot>,<minecraft:iron_ingot>], "Ingots can be used to craft things.","","Things like armor!");
val ore = <ore:things>;
ore.add(<minecraft:diamond>);
import crafttweaker.data.IData;
import crafttweaker.item.IItemStack;
import mods.jei.JEI;
global attributeMap as IData = {
maxHealth : {
name : "generic.maxHealth",
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.oredict.IOreDict;
import crafttweaker.oredict.IOreDictEntry;
import crafttweaker.data.IData;
BulkOreDict("DEBUG", [<minecraft:iron_ingot>, <minecraft:grass>, <minecraft:dirt>], 2,3,3,false);
BulkOreDict("DEBU2", [<minecraft:gold_ingot>, <minecraft:bow>, <minecraft:redstone>], 3,3,3,false);
/*
@kindlich
kindlich / crafttweaker.log
Created January 13, 2018 14:20
ZS functions
[PREINITIALIZATION][CLIENT][INFO] Loading scripts
[PREINITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: fun.zs}, enabling debugmode
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: fun.zs} as we are currently loading with a different loader
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry
[INITIALIZATION][CLIENT][INFO] Loading scripts
[INITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: fun.zs}, enabling debugmode
[INITIALIZATION][CLIENT][INFO] [crafttweaker | SIDE_CLIENT]: Loading Script: {[0:crafttweaker]: fun.zs}
[INITIALIZATION][CLIENT][INFO] if this is pritned functions might work!
[INITIALIZATION][CLIENT][INFO] testttt
@kindlich
kindlich / crafttweaker.log
Created January 14, 2018 09:37
Function Variables
[PREINITIALIZATION][CLIENT][INFO] Loading scripts
[PREINITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: fun.zs}, enabling debugmode
[PREINITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: xdis.zs}, enabling debugmode
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Skipping file {[999:crafttweaker]: fun.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: xdis.zs} as we are currently loading with a different loader
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry
[INITIALIZATION][CLIENT][INFO] Loading scripts
[INITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: fun.zs}, enabling debugmode
[INITIALIZATION][CLIENT][INFO] Debug Preprocessor found in {[0:crafttweaker]: xdis.zs}, enabling debugmode
@kindlich
kindlich / htwchts.zs
Created January 14, 2018 12:41
ModTweaker #586
import crafttweaker.item.IIngredient;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.item.IItemStack;
print("TRYING TO REMOVE LIQUIDS FROM MELTER");
var metalItems as IIngredient[string][string] = {
iron: {
block: <minecraft:iron_block>,
dust: <immersiveengineering:metal:18>,