Class GUIItem.AbstractBuilder<B extends GUIItem.AbstractBuilder<B,P>,P extends GUIItem>

java.lang.Object
de.placeblock.betterinventories.Builder<B,P>
de.placeblock.betterinventories.content.GUISection.Builder<B,P>
de.placeblock.betterinventories.content.item.GUIItem.AbstractBuilder<B,P>
Type Parameters:
B - The Builder that implements this one
P - The GUIItem that is built
Direct Known Subclasses:
GUIButton.AbstractBuilder, GUIItem.Builder
Enclosing class:
GUIItem

protected abstract static class GUIItem.AbstractBuilder<B extends GUIItem.AbstractBuilder<B,P>,P extends GUIItem> extends GUISection.Builder<B,P>
Abstract Builder for creating various GUIItems
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder(GUI gui)
      Creates a new Builder
      Parameters:
      gui - The GUI this Pane belongs to
  • Method Details

    • itemStack

      public B itemStack(org.bukkit.inventory.ItemStack itemStack)
      Sets the itemStack attribute
      Parameters:
      itemStack - The itemStack that sits inside this GUIItem
      Returns:
      Itself