Improve CraftTweaker documentation

This commit is contained in:
modmuss50 2018-04-02 10:42:02 +01:00
parent 980db3cd60
commit 20849b4a11
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
20 changed files with 70 additions and 0 deletions

View file

@ -52,11 +52,13 @@ public class CTDistillationTower extends CTGeneric {
}
@ZenMethod
@ZenDocumentation("IIngredient iIngredient")
public static void removeInputRecipe(IIngredient iIngredient) {
CraftTweakerAPI.apply(new RemoveInput(iIngredient, getMachineName()));
}
@ZenMethod
@ZenDocumentation("IItemStack output")
public static void removeRecipe(IItemStack output) {
CraftTweakerAPI.apply(new Remove(CraftTweakerCompat.toStack(output), getMachineName()));
}