Skip to content

Instantly share code, notes, and snippets.

@kindlich
Created April 23, 2018 16:09
Show Gist options
  • Save kindlich/11b57e6e1447b6fed8ce6b11910ce954 to your computer and use it in GitHub Desktop.
Save kindlich/11b57e6e1447b6fed8ce6b11910ce954 to your computer and use it in GitHub Desktop.
import crafttweaker.item.IItemStack;
var removeItems as IItemStack[] = [
<appliedenergistics2:material:40>,
<appliedenergistics2:quartz_glass>,
<betterwithaddons:decomat:3>,
<betterwithmods:aesthetic:8>,
<ceramics:unfired_clay>,
<charcoalblock:charcoal_block>,
<minecraft:bed:*>,
<minecraft:book>,
<minecraft:bucket>,
<minecraft:coal:1>,
<minecraft:coal>,
<minecraft:coal_block>,
<minecraft:diamond>,
<minecraft:glass>,
<minecraft:glass_pane>,
<minecraft:leather>,
<minecraft:water_bucket>,
<rustic:fertile_soil>,
<tconstruct:clear_glass>,
<tconstruct:clear_stained_glass:*>,
<tconstruct:soil>
];
for item in removeItems {
recipes.remove(item);
}
var removeRecipes as string[] = [
"betterwithmods:decompress/melon_decompress",
"extraplanets:chest",
"extraplanets:chest_alt.*",
"natura:common/glass_bottle",
"pneumaticcraft:color_drone",
"pneumaticcraft:logistic_to_drone",
"rustic:bottle_emptying"
];
for recipeRegex in removeRecipes {
recipes.removeByRegex(recipeRegex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment