Package net.wesjd.anvilgui
Class AnvilGUI.Response
java.lang.Object
net.wesjd.anvilgui.AnvilGUI.Response
- Enclosing class:
AnvilGUI
Deprecated.
Represents a response when the player clicks the output item in the anvil GUI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<AnvilGUI.ResponseAction> close()Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.close()static List<AnvilGUI.ResponseAction> openInventory(org.bukkit.inventory.Inventory inventory) Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.openInventory(Inventory)static List<AnvilGUI.ResponseAction> Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.replaceInputText(String)
-
Constructor Details
-
Response
public Response()Deprecated.
-
-
Method Details
-
close
Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.close()Returns anAnvilGUI.Responseobject for when the anvil GUI is to close- Returns:
- An
AnvilGUI.Responseobject for when the anvil GUI is to display text to the user
-
text
Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.replaceInputText(String)Returns anAnvilGUI.Responseobject for when the anvil GUI is to display text to the user- Parameters:
text- The text that is to be displayed to the user- Returns:
- A list containing the
AnvilGUI.ResponseActionfor legacy compat
-
openInventory
Deprecated.Since 1.6.2, useAnvilGUI.ResponseAction.openInventory(Inventory)Returns anAnvilGUI.Responseobject for when the GUI should open the provided inventory- Parameters:
inventory- The inventory to open- Returns:
- A list containing the
AnvilGUI.ResponseActionfor legacy compat
-
AnvilGUI.ResponseAction