Skip to content

Instantly share code, notes, and snippets.

@dredhorse
Created January 6, 2019 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dredhorse/b9a4f64a34afc27430000f8390b71c49 to your computer and use it in GitHub Desktop.
Save dredhorse/b9a4f64a34afc27430000f8390b71c49 to your computer and use it in GitHub Desktop.
Full script
import crafttweaker.item.IItemTransformer;
// adding Recipe for Artisan Worktables
recipes.addShapeless(<artisanworktables:worktable:3>, [<ore:workbench>, <ore:artisansHammer>]);
recipes.addShapeless(<artisanworktables:worktable:7>, [<ore:workbench>, <ore:artisansGrimoire>]);
recipes.addShapeless(<artisanworktables:worktable:6>, [<ore:workbench>, <ore:artisansPliers>]);
recipes.addShapeless(<artisanworktables:worktable:1>, [<ore:workbench>, <ore:artisansHandsaw>]);
// add back one refined storage cover as example
var rsStoneCover = <refinedstorage:cover>.withTag({Item: {id: "minecraft:stone", Count: 1 as byte, Damage: 0 as short}});
var rsStoneHollowCover = <refinedstorage:hollow_cover>.withTag({Item: {id: "minecraft:stone", Count: 1 as byte, Damage: 0 as short}});
recipes.addShaped(rsStoneCover * 6, [[<refinedstorage:cutting_tool>.anyDamage().transformDamage(1), <minecraft:stone>]]);
rsStoneCover.addTooltip(format.red("Most other blocks work the same way"));
recipes.addShaped(rsStoneHollowCover * 8, [[rsStoneCover, rsStoneCover, rsStoneCover], [rsStoneCover, null, rsStoneCover], [rsStoneCover, rsStoneCover, rsStoneCover]]);
rsStoneHollowCover.addTooltip(format.red("Most other blocks work the same way"));
// adding Recipe for ClayBucket Ink
recipes.addShaped(<minecraft:dye:0> * 2, [[<ceramics:clay_bucket>.withTag({fluids: {FluidName: "water", Amount: 1000}}), <dooglamoojuniorarchaeologymod:archaeology_item00>, null],[<dooglamoojuniorarchaeologymod:archaeology_item03>, <dooglamoojuniorarchaeologymod:archaeology_item03>, null], [null, null, null]]);
// add recipe for missing ClayBucket Vahosaline
recipes.addShaped(<ceramics:clay_bucket>.withTag({fluids: {FluidName: "vasholine", Amount: 1000}}), [[<tp:wub_gem>, <tp:wub_gem>, <tp:wub_gem>], [<tp:wub_gem>, <ceramics:clay_bucket>, <tp:wub_gem>], [<tp:wub_gem>, <tp:wub_gem>, <tp:wub_gem>]]);
// add exchange recipe for mutton
recipes.addShapeless(<minecraft:mutton>, [<animania:raw_prime_mutton>]);
// add back stone torches => realistic torches
recipes.addShapeless(<realistictorches:torch_unlit> * 4, [<minecraft:coal:1>, <tp:stone_stick>]);
recipes.addShapeless(<realistictorches:torch_unlit> * 4, [<minecraft:coal:0>, <tp:stone_stick>]);
// add quartz spider nest in furnace to quartz
furnace.addRecipe(<minecraft:quartz>, <dooglamoojuniorarchaeologymod:archaeology_item01>);
// cycle through milk from animania
val onlyMilk = <minecraft:milk_bucket>.noReturn();
recipes.addShaped(<forge:bucketfilled>.withTag({FluidName: "milk_jersey", Amount: 1000}), [[onlyMilk]]);
//recipes.addShapeless( <forge:bucketfilled>.withTag({FluidName: "milk_jersey", Amount: 1000}),[onlyMilk]);
recipes.addShapeless( <forge:bucketfilled>.withTag({FluidName: "milk_friesian", Amount: 1000}),[<minecraft:milk_bucket>.noReturn()]);
recipes.addShapeless( <forge:bucketfilled>.withTag({FluidName: "milk_holstein", Amount: 1000}),[<minecraft:milk_bucket>.noReturn()]);
recipes.addShapeless( <forge:bucketfilled>.withTag({FluidName: "milk_goat", Amount: 1000}),[<minecraft:milk_bucket>.noReturn()]);
recipes.addShapeless( <forge:bucketfilled>.withTag({FluidName: "milk_sheep", Amount: 1000}),[<minecraft:milk_bucket>.noReturn()]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment