Add recipe classes and an addRecipe method in the server interface.
By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
parent
7d382b5ee6
commit
437f5c3f51
5 changed files with 345 additions and 0 deletions
|
@ -3,6 +3,8 @@ package org.bukkit;
|
|||
|
||||
import com.avaje.ebean.config.ServerConfig;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.Recipe;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
|
@ -194,4 +196,11 @@ public interface Server {
|
|||
* @param config ServerConfig to populate
|
||||
*/
|
||||
public void configureDbConfig(ServerConfig config);
|
||||
|
||||
/**
|
||||
* Adds a recipe to the crafting manager.
|
||||
* @param recipe The recipe to add.
|
||||
* @return True to indicate that the recipe was added.
|
||||
*/
|
||||
public boolean addRecipe(Recipe recipe);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue