Fixed RemoveAll in CraftTweaker. Closes

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
src/main/java/techreborn/compat/crafttweaker

View file

@ -59,6 +59,11 @@ public class CTDistillationTower 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.distillationTowerRecipe;