Skip navigation links
A B C G I M N O P S T V 

A

AnvilGUI - Class in net.wesjd.anvilgui
An anvil gui, used for gathering a user's input
AnvilGUI(Plugin, Player, String, BiFunction<Player, String, String>) - Constructor for class net.wesjd.anvilgui.AnvilGUI
Deprecated.
As of version 1.2.3, use AnvilGUI.Builder
AnvilGUI.Builder - Class in net.wesjd.anvilgui
A builder class for an AnvilGUI object
AnvilGUI.Response - Class in net.wesjd.anvilgui
Represents a response when the player clicks the output item in the anvil GUI
AnvilGUI.Slot - Class in net.wesjd.anvilgui
Class wrapping the magic constants of slot numbers in an anvil GUI

B

Builder() - Constructor for class net.wesjd.anvilgui.AnvilGUI.Builder
 

C

close() - Static method in class net.wesjd.anvilgui.AnvilGUI.Response
Returns an AnvilGUI.Response object for when the anvil GUI is to close
closeInventory() - Method in class net.wesjd.anvilgui.AnvilGUI
Closes the inventory if it's open.

G

getInventory() - Method in class net.wesjd.anvilgui.AnvilGUI
Returns the Bukkit inventory for this anvil gui
getText() - Method in class net.wesjd.anvilgui.AnvilGUI.Response
Gets the text that is to be displayed to the user

I

INPUT_LEFT - Static variable in class net.wesjd.anvilgui.AnvilGUI.Slot
The slot on the far left, where the first input is inserted.
INPUT_RIGHT - Static variable in class net.wesjd.anvilgui.AnvilGUI.Slot
Not used, but in a real anvil you are able to put the second item you want to combine here
item(ItemStack) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Deprecated.
As of version 1.4.0, use AnvilGUI.Builder.itemLeft
itemLeft(ItemStack) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Sets the ItemStack to be put in the first slot
itemRight(ItemStack) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Sets the ItemStack to be put in the second slot

M

match() - Method in class net.wesjd.anvilgui.version.VersionMatcher
Matches the server version to it's VersionWrapper

N

net.wesjd.anvilgui - package net.wesjd.anvilgui
 
net.wesjd.anvilgui.version - package net.wesjd.anvilgui.version
 

O

onClose(Consumer<Player>) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Listens for when the inventory is closed
onComplete(BiFunction<Player, String, AnvilGUI.Response>) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Handles the inventory output slot when it is clicked
onLeftInputClick(Consumer<Player>) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Listens for when the first input slot is clicked
onRightInputClick(Consumer<Player>) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Listens for when the second input slot is clicked
open(Player) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Creates the anvil GUI and opens it for the player
OUTPUT - Static variable in class net.wesjd.anvilgui.AnvilGUI.Slot
The output slot, where an item is put when two items are combined from INPUT_LEFT and INPUT_RIGHT or INPUT_LEFT is renamed

P

plugin(Plugin) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Sets the plugin for the AnvilGUI
preventClose() - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Prevents the closing of the anvil GUI by the user

S

Slot() - Constructor for class net.wesjd.anvilgui.AnvilGUI.Slot
 

T

text(String) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Sets the inital item-text that is displayed to the user
text(String) - Static method in class net.wesjd.anvilgui.AnvilGUI.Response
Returns an AnvilGUI.Response object for when the anvil GUI is to display text to the user
title(String) - Method in class net.wesjd.anvilgui.AnvilGUI.Builder
Sets the AnvilGUI title that is to be displayed to the user

V

values() - Static method in class net.wesjd.anvilgui.AnvilGUI.Slot
Get all anvil slot values
VersionMatcher - Class in net.wesjd.anvilgui.version
Matches the server's NMS version to its VersionWrapper
VersionMatcher() - Constructor for class net.wesjd.anvilgui.version.VersionMatcher
 
A B C G I M N O P S T V 
Skip navigation links

Copyright © 2020. All Rights Reserved.