Add recipe classes and an addRecipe method in the server interface.
This commit is contained in:
committed by
EvilSeph
parent
22e7e7afcf
commit
2b408e236a
12
src/main/java/org/bukkit/inventory/Recipe.java
Normal file
12
src/main/java/org/bukkit/inventory/Recipe.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package org.bukkit.inventory;
|
||||
|
||||
/**
|
||||
* Represents some type of crafting recipe.
|
||||
*/
|
||||
public interface Recipe {
|
||||
/**
|
||||
* Get the result of this recipe.
|
||||
* @return The result stack
|
||||
*/
|
||||
ItemStack getResult();
|
||||
}
|
||||
Reference in New Issue
Block a user