Fixed RemoveAll in CraftTweaker. Closes #1410

This commit is contained in:
drcrazy 2018-01-17 15:39:41 +03:00
parent ca9508c381
commit 8e12543902
14 changed files with 65 additions and 12 deletions

View file

@ -55,6 +55,11 @@ public class CTBlastFurnace extends CTGeneric {
public static void removeRecipe(IItemStack output) {
CraftTweakerAPI.apply(new Remove(CraftTweakerCompat.toStack(output), getMachineName()));
}
@ZenMethod
public static void removeAll(){
CraftTweakerAPI.apply(new RemoveAll(getMachineName()));
}
public static String getMachineName() {
return Reference.blastFurnaceRecipe;