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 AnvilGUIsNested classes/interfaces inherited from class de.placeblock.betterinventories.gui.impl.BaseAnvilGUI
BaseAnvilGUI.AbstractBuilder<B extends BaseAnvilGUI.AbstractBuilder<B,G, P>, G extends BaseAnvilGUI, P extends org.bukkit.plugin.java.JavaPlugin> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnvilGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, boolean removeItems) Creates a new AnvilGUI -
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
protected AnvilGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, boolean removeItems) 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
-