Class AnvilGUI
java.lang.Object
de.placeblock.betterinventories.gui.GUI
de.placeblock.betterinventories.gui.impl.BaseAnvilGUI
de.placeblock.betterinventories.gui.impl.AnvilGUI
AnvilGUIs are standard BaseAnvilGUIs with basic functionality.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnvilGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>Builder for AnvilGUIs -
Constructor Summary
ConstructorsConstructorDescriptionAnvilGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, boolean removeItems) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class de.placeblock.betterinventories.gui.impl.BaseAnvilGUI
createBukkitInventory, getSlots, provideItem, renderContent, searchSectionMethods inherited from class de.placeblock.betterinventories.gui.GUI
getPlayers, getView, getView, onClose, reloadViews, removePlayer, showPlayer, update, updateTitle
-
Constructor Details
-
AnvilGUI
@Deprecated(forRemoval=true) public AnvilGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, boolean removeItems) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new AnvilGUI- Parameters:
plugin- The plugintitle- The title of the GUIremoveItems- Whether to remove loose items on close. The first player that closes the gui gets the items
-