Class BaseAnvilGUI.AbstractBuilder<B extends BaseAnvilGUI.AbstractBuilder<B,G,P>,G extends BaseAnvilGUI,P extends org.bukkit.plugin.java.JavaPlugin>
java.lang.Object
de.placeblock.betterinventories.Builder<B,G>
de.placeblock.betterinventories.gui.GUI.Builder<B,G,P>
de.placeblock.betterinventories.gui.impl.BaseAnvilGUI.AbstractBuilder<B,G,P>
- Type Parameters:
B- The Builder that implements this oneG- The GUI that is builtP- The plugin that uses this builder
- Direct Known Subclasses:
AnvilGUI.Builder,TextInputGUI.AbstractBuilder
- Enclosing class:
- BaseAnvilGUI
public abstract static class BaseAnvilGUI.AbstractBuilder<B extends BaseAnvilGUI.AbstractBuilder<B,G,P>,G extends BaseAnvilGUI,P extends org.bukkit.plugin.java.JavaPlugin>
extends GUI.Builder<B,G,P>
The abstract Builder for BaseAnvilGUIs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalItem(GUIItem item) Changes the additional item (The slot in the middle)Changes the input item (The left slot)resultItem(GUIItem item) Changes the result item (The slot in the right)Methods inherited from class de.placeblock.betterinventories.gui.GUI.Builder
removeItems, title, type
-
Constructor Details
-
AbstractBuilder
Creates a new Builder- Parameters:
plugin- The plugin that uses this builder
-
-
Method Details
-
inputItem
Changes the input item (The left slot)- Parameters:
item- The new GUIItem- Returns:
- Itself
-
additionalItem
Changes the additional item (The slot in the middle)- Parameters:
item- The new GUIItem- Returns:
- Itself
-
resultItem
Changes the result item (The slot in the right)- Parameters:
item- The new GUIItem- Returns:
- Itself
-