Add missing documentation.

This commit is contained in:
raoulvdberge
2018-06-12 23:22:08 +02:00
parent cc9de91fdc
commit a84d117288

View File

@@ -40,6 +40,13 @@ public interface ICraftingManager {
*/
void cancel(@Nonnull ICraftingTask task);
/**
* Creates a crafting task for a given stack.
*
* @param stack the stack to craft
* @param quantity the quantity to craft
* @return the crafting task, or null if no pattern was found for the given stack
*/
@Nullable
ICraftingTask create(ItemStack stack, int quantity);