Skip to content

Instantly share code, notes, and snippets.

@cocona20xx
Created December 7, 2019 03:46
Show Gist options
  • Save cocona20xx/41d3d34b501d0802e2052e16667346df to your computer and use it in GitHub Desktop.
Save cocona20xx/41d3d34b501d0802e2052e16667346df to your computer and use it in GitHub Desktop.
Small bit of stuff done to add autocrafting to the Crucial Modpack
//Cocona's crafter tweaks
import mods.jei.JEI;
//Remove
recipes.remove(<charset:compression_crafter>);
mods.jei.JEI.removeAndHide(<charset:barrelcart:*>);
mods.jei.JEI.removeAndHide(<charset:barrel:*>);
mods.jei.JEI.removeAndHide(<charset:pockettable>);
//Add
recipes.addShaped(<charset:barrel>.withTag({log: "minecraft:log;0", slab: "minecraft:wooden_slab;0"}), [[null, <ore:ingotBrickNether>, null],[<ore:logWood>, <minecraftfuture:barrel>, <ore:logWood>], [null, <ore:ingotBrickNether>, null]]);
recipes.addShaped(<charset:compression_crafter>, [[null, <quark:iron_rod>, null],[null, <minecraft:crafting_table>, null], [null, <minecraft:piston>, null]]);
mods.jei.JEI.addItem(<charset:barrel>.withTag({log: "minecraft:log;0", slab: "minecraft:wooden_slab;0"}));
//Descriptions
mods.jei.JEI.addDescription(<charset:barrel:*>, "An upgrade compared to Storage Drawers, however it sadly only comes in one appearence. Added by Cocona's Crafter Tweaks, not part of the base pack.");
mods.jei.JEI.addDescription(<charset:compression_crafter>, "A method for autocrafting that uses Charset Barrels! Surround a 1x1 to 3x3 grid of Barrels with these, put a crafting table recipe inside, and pulse these bad girls with some redstone. As long as there is a valid inventory next to one of these devices, autocrafting will commence! Added by Cocona's Crafter Tweaks, not part of the base pack.");
Add Charset Storage - Barrels, alongside Charset Crafting, for this to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment