geforkt von Mirrors/Paper
Clarify MerchantInventory#getSelectedRecipe.
By: blablubbabc <lukas@wirsindwir.de>
Dieser Commit ist enthalten in:
Ursprung
90b6068b6b
Commit
3ce97266e5
@ -16,9 +16,15 @@ public interface MerchantInventory extends Inventory {
|
||||
int getSelectedRecipeIndex();
|
||||
|
||||
/**
|
||||
* Get the currently selected recipe.
|
||||
* Get the currently active recipe.
|
||||
* <p>
|
||||
* This will be <code>null</code> if the items provided by the player do
|
||||
* not match the ingredients of the selected recipe. This does not
|
||||
* necessarily match the recipe selected by the player: If the player has
|
||||
* selected the first recipe, the merchant will search all of its offers
|
||||
* for a matching recipe to activate.
|
||||
*
|
||||
* @return the currently selected recipe
|
||||
* @return the currently active recipe
|
||||
*/
|
||||
MerchantRecipe getSelectedRecipe();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren