Index
All Classes and Interfaces|All Packages
A
- accept(String, boolean) - Method in interface de.placeblock.betterinventories.gui.impl.textinput.FinishConsumer
-
The method called when the player clicks on the submit-item
- add(Vector2d) - Method in class de.placeblock.betterinventories.util.Vector2d
-
Adds a Vector to this Vector
- ADD - Enum constant in enum class de.placeblock.betterinventories.gui.GUIAction
-
Action when an item is added to an empty slot
- addItem(GUIItem) - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Adds an Item.
- addItemEmptySlot(GUIItem) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Adds an Item to an empty slot on the pane.
- addItems(GUIItem...) - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Adds multiple Items.
- addItems(Collection<GUIItem>) - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Adds multiple Items.
- addItems(Function<T, GUIItem>, Collection<T>) - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Adds multiple Items.
- addItems(Function<T, GUIItem>, T[]) - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Adds multiple Items.
- adoptMinMax(GUIPane) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Sets the min and mix size according to the min and max size of the
GUIPane - AMOUNT - Enum constant in enum class de.placeblock.betterinventories.gui.GUIAction
-
Action when the amount in a slot changes
- AnvilGUI - Class in de.placeblock.betterinventories.gui.impl
-
GUI for creating Anvil GUIs If you want to receive Text from Anvils you should use
TextInputGUI - AnvilGUI(Plugin, TextComponent) - Constructor for class de.placeblock.betterinventories.gui.impl.AnvilGUI
-
Creates a new AnvilGUI
- applyCooldown() - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Applies the cooldown to the Button
- attribute(Attribute, double, AttributeModifier.Operation) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Adds an attribute to the Item
- autoSize - Variable in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Whether to automatically resize the pane according to the children.
B
- BackGUIButton - Class in de.placeblock.betterinventories.content.item.impl
- BackGUIButton(GUI, Supplier<GUI>) - Constructor for class de.placeblock.betterinventories.content.item.impl.BackGUIButton
-
Creates a new BackGUIButton
- BackGUIButton(GUI, Supplier<GUI>, TextComponent) - Constructor for class de.placeblock.betterinventories.content.item.impl.BackGUIButton
-
Creates a new BackGUIButton
- BaseCanvasGUI<C extends GUIPane> - Class in de.placeblock.betterinventories.gui.impl
-
The Base Class for GUIs which only have just one canvas e.g.
- BaseCanvasGUI(Plugin, TextComponent, InventoryType) - Constructor for class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
-
Creates a new BaseCanvasGUI
- BaseCanvasGUIBuilder<P extends GUIPane,
G extends BaseCanvasGUI<P>, B extends BaseCanvasGUIBuilder<P, G, B>> - Class in de.placeblock.betterinventories.builder.gui -
Base class for creating CanvasGUI-Builders
- BaseCanvasGUIBuilder(Plugin) - Constructor for class de.placeblock.betterinventories.builder.gui.BaseCanvasGUIBuilder
-
Creates a new BaseCanvasGUIBuilder
- BaseChestGUI<P extends GUIPane> - Class in de.placeblock.betterinventories.gui.impl
-
Used for creating ChestGUIs.
- BaseChestGUI(Plugin, TextComponent, int, int) - Constructor for class de.placeblock.betterinventories.gui.impl.BaseChestGUI
-
Creates a new BaseChestGUI
- BaseChestGUIBuilder<P extends GUIPane,
G extends BaseChestGUI<P>, B extends BaseChestGUIBuilder<P, G, B>> - Class in de.placeblock.betterinventories.builder.gui -
Base class for creating ChestGUI-Builders
- BaseChestGUIBuilder(Plugin) - Constructor for class de.placeblock.betterinventories.builder.gui.BaseChestGUIBuilder
-
Creates a new BaseChestGUIBuilder
- BaseGUIBuilder<G extends GUI,
B extends BaseGUIBuilder<G, B>> - Class in de.placeblock.betterinventories.builder.gui -
Base class for creating GUI-Builders
- BaseGUIBuilder() - Constructor for class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
- BaseGUIButtonBuilder<G extends GUIButton,
B extends BaseGUIButtonBuilder<G, B>> - Class in de.placeblock.betterinventories.builder.content -
Base class for creating GUIButton-Builders
- BaseGUIButtonBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Creates a new BaseGUIButtonBuilder
- BaseGUIItemBuilder<T extends GUIItem,
B extends BaseGUIItemBuilder<T, B>> - Class in de.placeblock.betterinventories.builder.content -
Base class for creating GUIITem-Builders
- BaseGUIItemBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.BaseGUIItemBuilder
-
Creates a new BaseGUIItemBuilder
- BaseGUIPaneBuilder<G extends GUIPane,
B extends BaseGUIPaneBuilder<G, B>> - Class in de.placeblock.betterinventories.builder.content -
Base class for creating GUIPane-Builders
- BaseGUIPaneBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Creates a new BaseGUIPaneBuilder
- BaseGUISectionBuilder<G extends GUISection,
B extends BaseGUISectionBuilder<G, B>> - Class in de.placeblock.betterinventories.builder.content -
Base class for creating GUISection-Builders
- BaseGUISectionBuilder() - Constructor for class de.placeblock.betterinventories.builder.content.BaseGUISectionBuilder
- BaseSimpleGUIPane<C extends GUISection,
S extends BaseSimpleGUIPane<C, S>> - Class in de.placeblock.betterinventories.content.pane.impl.simple - BaseSimpleGUIPane(GUI, Vector2d, Vector2d, boolean) - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Creates a new BaseSimpleGUIPane
- BaseSimpleGUIPane.ChildData<C extends GUISection> - Class in de.placeblock.betterinventories.content.pane.impl.simple
-
Used to store children in this Pane
- build() - Method in interface de.placeblock.betterinventories.builder.Builder
-
Builds the object
- build() - Method in class de.placeblock.betterinventories.builder.content.GUIButtonBuilder
-
Buildes the GUIButton
- build() - Method in class de.placeblock.betterinventories.builder.content.GUIItemBuilder
-
Builds the GUIItem
- build() - Method in class de.placeblock.betterinventories.builder.content.HorizontalSplitGUIPaneBuilder
- build() - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Builds the Paginator
- build() - Method in class de.placeblock.betterinventories.builder.content.SimpleGUIPaneBuilder
-
Builds the Pane
- build() - Method in class de.placeblock.betterinventories.builder.content.SimpleItemGUIPaneBuilder
-
Builds the Pane
- build() - Method in class de.placeblock.betterinventories.builder.content.SubmitGUIButtonBuilder
-
Builds the Button
- build() - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
-
Builds the GUI
- build() - Method in class de.placeblock.betterinventories.builder.gui.CanvasGUIBuilder
-
Builds the CanvasGUI
- build() - Method in class de.placeblock.betterinventories.builder.gui.ChestGUIBuilder
-
Builds the ChestGUI
- build() - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Builds the ItemStack
- Builder<G,
B extends Builder<G, B>> - Interface in de.placeblock.betterinventories.builder -
Interface for creating Builders
- BUTTON_SIZE - Static variable in class de.placeblock.betterinventories.content.item.GUIItem
-
The Size of every GUIItem
C
- calculateGUISize(Collection<?>) - Static method in class de.placeblock.betterinventories.util.Util
-
Can be used to calculate the size of an Inventory based on the amount of Items this Inventory should contain.
- calculateGUISize(Collection<?>, int) - Static method in class de.placeblock.betterinventories.util.Util
-
Can be used to calculate the size of an Inventory based on the amount of Items this Inventory should contain.
- calculateGUISize(T[]) - Static method in class de.placeblock.betterinventories.util.Util
-
Can be used to calculate the size of an Inventory based on the amount of Items this Inventory should contain.
- calculateGUISize(T[], int) - Static method in class de.placeblock.betterinventories.util.Util
-
Can be used to calculate the size of an Inventory based on the amount of Items this Inventory should contain.
- calculateIndices - Variable in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Calculates the indices where the Buttons should get placed
- canvas - Variable in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
-
The main canvas to which Sections can be added
- CanvasGUI - Class in de.placeblock.betterinventories.gui.impl
-
Used for creating GUIs that only have one canvas e.g.
- CanvasGUI(Plugin, TextComponent, int) - Constructor for class de.placeblock.betterinventories.gui.impl.CanvasGUI
-
Creates a new CanvasGUI
- CanvasGUI(Plugin, TextComponent, InventoryType) - Constructor for class de.placeblock.betterinventories.gui.impl.CanvasGUI
-
Creates a new CanvasGUI
- CanvasGUI(Plugin, TextComponent, InventoryType, Vector2d) - Constructor for class de.placeblock.betterinventories.gui.impl.CanvasGUI
-
Creates a new CanvasGUI
- CanvasGUIBuilder - Class in de.placeblock.betterinventories.builder.gui
-
Builder for creating CanvasGUIs
- CanvasGUIBuilder(Plugin) - Constructor for class de.placeblock.betterinventories.builder.gui.CanvasGUIBuilder
-
Creates a new CanvasGUIBuilder
- CENTER - Enum constant in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Will place both controls in the center.
- ChestGUI - Class in de.placeblock.betterinventories.gui.impl
- ChestGUI(Plugin, TextComponent, int) - Constructor for class de.placeblock.betterinventories.gui.impl.ChestGUI
-
Creates a new ChestGUI
- ChestGUI(Plugin, TextComponent, int, int) - Constructor for class de.placeblock.betterinventories.gui.impl.ChestGUI
-
Creates a new ChestGUI
- ChestGUIBuilder - Class in de.placeblock.betterinventories.builder.gui
-
Builder for ChestGUIs
- ChestGUIBuilder(Plugin) - Constructor for class de.placeblock.betterinventories.builder.gui.ChestGUIBuilder
-
Creates a new ChestGUIBuilder
- ChildData() - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane.ChildData
- clamp(Vector2d, Vector2d, Vector2d) - Static method in class de.placeblock.betterinventories.util.Vector2d
-
Clamps a Vector to two Vectors
- clampSize(Vector2d) - Method in interface de.placeblock.betterinventories.Sizeable
- clear() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Removes all sections from the pane
- clearItems() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Clears all Items in this Paginator
- click(Player) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when a player clicks on the Button
- ClickData - Class in de.placeblock.betterinventories.content.item
-
The Button receives the ClickData after an Interaction occurs
- ClickData() - Constructor for class de.placeblock.betterinventories.content.item.ClickData
- clickSound(Sound) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the click-sound this button makes on click
- CommandGUIButton - Class in de.placeblock.betterinventories.content.item.impl
-
A
GUIButtonwhich executes a command. - CommandGUIButton(GUI, ItemStack, String) - Constructor for class de.placeblock.betterinventories.content.item.impl.CommandGUIButton
-
Creates a new CommandGUIButton
- content - Variable in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
The content currently added to this Pane
- cooldown(int) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the cooldown after which the button can get clicked again
- createBukkitInventory() - Method in class de.placeblock.betterinventories.gui.GUI
-
Creates a new Bukkit Inventory for the GUI when implemented
- createBukkitInventory() - Method in class de.placeblock.betterinventories.gui.impl.AnvilGUI
-
Creates the Bukkit Inventory for this GUI
- createBukkitInventory() - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
- cycle(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleGUIButton
-
Cycles the Values
- CycleEnum - Interface in de.placeblock.betterinventories.content.item.impl.cyclebutton
-
Interface used by the
CycleGUIButtonHas to be implemented by the Enum to provide needed data toCycleGUIButton - CycleGUIButton<E extends CycleEnum> - Class in de.placeblock.betterinventories.content.item.impl.cyclebutton
-
GUIButton which cycles through values of an Enum
- CycleGUIButton(GUI, E[]) - Constructor for class de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleGUIButton
-
Creates a new CycleGUIButton
- CycleGUIButton(GUI, E[], E) - Constructor for class de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleGUIButton
-
Creates a new CycleGUIButton
D
- de.placeblock.betterinventories - package de.placeblock.betterinventories
- de.placeblock.betterinventories.builder - package de.placeblock.betterinventories.builder
- de.placeblock.betterinventories.builder.content - package de.placeblock.betterinventories.builder.content
- de.placeblock.betterinventories.builder.gui - package de.placeblock.betterinventories.builder.gui
- de.placeblock.betterinventories.content - package de.placeblock.betterinventories.content
- de.placeblock.betterinventories.content.item - package de.placeblock.betterinventories.content.item
- de.placeblock.betterinventories.content.item.impl - package de.placeblock.betterinventories.content.item.impl
- de.placeblock.betterinventories.content.item.impl.cyclebutton - package de.placeblock.betterinventories.content.item.impl.cyclebutton
- de.placeblock.betterinventories.content.item.impl.paginator - package de.placeblock.betterinventories.content.item.impl.paginator
- de.placeblock.betterinventories.content.pane - package de.placeblock.betterinventories.content.pane
- de.placeblock.betterinventories.content.pane.impl - package de.placeblock.betterinventories.content.pane.impl
- de.placeblock.betterinventories.content.pane.impl.paginator - package de.placeblock.betterinventories.content.pane.impl.paginator
- de.placeblock.betterinventories.content.pane.impl.simple - package de.placeblock.betterinventories.content.pane.impl.simple
- de.placeblock.betterinventories.content.pane.impl.vanilla - package de.placeblock.betterinventories.content.pane.impl.vanilla
- de.placeblock.betterinventories.gui - package de.placeblock.betterinventories.gui
- de.placeblock.betterinventories.gui.impl - package de.placeblock.betterinventories.gui.impl
- de.placeblock.betterinventories.gui.impl.textinput - package de.placeblock.betterinventories.gui.impl.textinput
- de.placeblock.betterinventories.util - package de.placeblock.betterinventories.util
- defaultControls(PaginatorControlsPosition) - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Sets the default-controls
- defaultControls(Function<PaginatorGUIPane, PaginatorControlsPane>) - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Sets the default-controls
- dispatchAdd(Cancellable, GUISection, Vector2d, ItemStack, int) - Method in class de.placeblock.betterinventories.gui.GUI
-
Dispatches an add action
- dispatchAmount(Cancellable, GUISection, Vector2d, int) - Method in class de.placeblock.betterinventories.gui.GUI
-
Dispatches an amount action
- dispatchRemove(Cancellable, GUISection, Vector2d) - Method in class de.placeblock.betterinventories.gui.GUI
-
Dispatches a remove action
E
- enchantment(Enchantment, int) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Adds an enchantment to the Item
- equals(Object) - Method in class de.placeblock.betterinventories.util.Vector2d
-
New equals method comparing just x and y
F
- fill(GUIItem) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Fills all empty slots with this Item.
- FILL_ITEM - Static variable in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPane
-
The default fill-item for the Pane
- FinishConsumer - Interface in de.placeblock.betterinventories.gui.impl.textinput
-
Used by the TextInputGUI and is called when a player clicks on the submit-item
- flag(ItemFlag) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Adds a Flag to the Item
- flipX() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Flips all items on the X axis.
- flipY() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Flips all items on the Y axis.
G
- getBestMaxHeight() - Method in class de.placeblock.betterinventories.builder.gui.BaseChestGUIBuilder
- getBestMaxSize() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
- getBestMinHeight() - Method in class de.placeblock.betterinventories.builder.gui.BaseChestGUIBuilder
- getBestMinSize() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
- getCanvas() - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
- getChildren() - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Implemented by GUIPanes Should return all children sections
- getChildren() - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
- getChildren() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
- getClickSound() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getContentPaneSize() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
- getCooldown() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getDisabledItem() - Method in class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
- getEmptyContentList(Class<T>) - Method in class de.placeblock.betterinventories.content.GUISection
-
Returns a List with the amount of slots in this Section filled with null values.
- getEnabledItem() - Method in class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
- getGui() - Method in class de.placeblock.betterinventories.builder.content.BaseGUISectionBuilder
- getHeight() - Method in class de.placeblock.betterinventories.builder.gui.BaseCanvasGUIBuilder
- getHeight() - Method in class de.placeblock.betterinventories.content.GUISection
- getItem() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIItemBuilder
- getItem(int) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Returns an item for a given slot
- getItem(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Returns an item for a given position
- getItem(E) - Method in class de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleGUIButton
-
Returns the Item to be displayed for an Enum-value Can be overridden for modifying Enum-Item-conversion
- getItems() - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Has to return all Items currently added
- getLore() - Method in interface de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleEnum
-
The lore of the ItemStack for the Enum-value
- getLowerPanePos() - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
- getMaterial() - Method in interface de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleEnum
-
The Material of the ItemStack for the Enum-value
- getMaxSize() - Method in class de.placeblock.betterinventories.gui.impl.BaseChestGUI
- getMaxSize() - Method in interface de.placeblock.betterinventories.Sizeable
- getMinSize() - Method in class de.placeblock.betterinventories.gui.impl.BaseChestGUI
- getMinSize() - Method in interface de.placeblock.betterinventories.Sizeable
- getNextEmptySlot() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
- getOnClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getOnLeftClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getOnRightClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getOnShiftClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getOnShiftLeftClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getOnShiftRightClick() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getPages() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
- getPermission() - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
- getPermission() - Method in interface de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleEnum
-
Should return the permission for the specific value
CycleGUIButtonwill skip values for which the player doesn't have permission - getPlayer() - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
- getPlayer() - Method in interface de.placeblock.betterinventories.gui.PlayerGUI
- getPlayers() - Method in class de.placeblock.betterinventories.gui.GUI
- getPlugin() - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
- getRepeat() - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
- getSections(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Returns all sections at the given position
- getSize() - Method in class de.placeblock.betterinventories.builder.content.BaseGUISectionBuilder
- getSize() - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
- getSize() - Method in interface de.placeblock.betterinventories.Sizeable
- getSize(InventoryType) - Static method in class de.placeblock.betterinventories.util.InventoryTypeMapper
- getSlots() - Method in class de.placeblock.betterinventories.content.GUISection
- getSlots() - Method in class de.placeblock.betterinventories.gui.GUI
- getSlots() - Method in class de.placeblock.betterinventories.gui.impl.AnvilGUI
- getSlots() - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
- getTitle() - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
- getTitle() - Method in interface de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleEnum
-
The title of the ItemStack for the Enum-value
- getType() - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
- getValue(Supplier<T>) - Method in interface de.placeblock.betterinventories.builder.Builder
-
Gets a value from a supplier
- getValue(List<Supplier<T>>) - Method in interface de.placeblock.betterinventories.builder.Builder
-
Returns the first non-null value
- getValue(T) - Method in interface de.placeblock.betterinventories.builder.Builder
-
Returns a value if not null
- getView(Player) - Method in class de.placeblock.betterinventories.gui.GUI
-
Returns the GUIView of the player
- getView(Inventory) - Method in class de.placeblock.betterinventories.gui.GUI
-
Returns the GUIView for the according Inventory
- getWidth() - Method in class de.placeblock.betterinventories.content.GUISection
- GUI - Class in de.placeblock.betterinventories.gui
-
Root class for GUIs Can be used to create any sort of GUI that can be rendered to a list e.g.
- GUI(Plugin, TextComponent, InventoryType) - Constructor for class de.placeblock.betterinventories.gui.GUI
-
Creates a new GUI
- GUIAction - Enum Class in de.placeblock.betterinventories.gui
-
Represents a GUI action.
- GUIButton - Class in de.placeblock.betterinventories.content.item
-
A
GUIItemwith the ability to get clicked. - GUIButton(GUI, ItemStack) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, int) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, int, String) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, int, Sound) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, int, Sound, String) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, String) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButton(GUI, ItemStack, Sound) - Constructor for class de.placeblock.betterinventories.content.item.GUIButton
-
Creates a new GUIButton
- GUIButtonBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for creating GUIButtons
- GUIButtonBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.GUIButtonBuilder
-
Creates a new GUIButtonBuilder
- GUIItem - Class in de.placeblock.betterinventories.content.item
- GUIItem(GUI, ItemStack) - Constructor for class de.placeblock.betterinventories.content.item.GUIItem
-
Creates a new GUIItem
- GUIItemBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for GUIItems
- GUIItemBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.GUIItemBuilder
-
Creates a new GUIItemBuilder
- GUIPane - Class in de.placeblock.betterinventories.content.pane
-
A
GUISectionthat can contain otherGUISections. - GUIPane(GUI, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.pane.GUIPane
-
Creates a new GUIPane
- GUISection - Class in de.placeblock.betterinventories.content
-
A GUISection is the most basic element that can be put inside GUIs.
- GUISection(GUI, Vector2d, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.GUISection
-
Creates a new GUISection
- GUISection.SearchData - Class in de.placeblock.betterinventories.content
-
Returned by search methods.
- GUIView - Class in de.placeblock.betterinventories.gui
-
A GUIView is created for each player who opens an inventory.
- GUIView(Player, Inventory) - Constructor for class de.placeblock.betterinventories.gui.GUIView
-
Creates a new GUIView
H
- hashCode() - Method in class de.placeblock.betterinventories.util.Vector2d
- hasPermission(Player) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Checks if the player has the permission to click this button
- height - Variable in class de.placeblock.betterinventories.builder.gui.BaseCanvasGUIBuilder
-
The height of the GUI
- height(int) - Method in class de.placeblock.betterinventories.builder.gui.BaseCanvasGUIBuilder
-
Sets the height of the inventory
- HorizontalSplitGUIPane - Class in de.placeblock.betterinventories.content.pane.impl
-
A
GUIPanewith an upper and lower pane. - HorizontalSplitGUIPane(GUI, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
-
Creates a new HorizontalSplitGUIPane
- HorizontalSplitGUIPaneBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for creating HorizontalSplitGUIPanes
- HorizontalSplitGUIPaneBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.HorizontalSplitGUIPaneBuilder
-
Creates a new HorizontalSplitGUIPaneBuilder
I
- inject() - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputPacketListener
-
Injects the listener into the pipeline of the players connection
- INPUT_MATERIAL - Static variable in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
The input-material
- InventoryTypeMapper - Class in de.placeblock.betterinventories.util
-
Used internally to calculate the Inventory's size based on the InventoryType
- InventoryTypeMapper() - Constructor for class de.placeblock.betterinventories.util.InventoryTypeMapper
- IOGUIPane - Class in de.placeblock.betterinventories.content.pane.impl.vanilla
-
GUIPane which allows Items to be inserted and taken out
- IOGUIPane(GUI, Vector2d, boolean) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
-
Creates a new TransferGUIPane
- IOGUIPane(GUI, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
-
Creates a new TransferGUIPane
- IOGUIPane(GUI, Vector2d, Vector2d, boolean) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
-
Creates a new TransferGUIPane
- item(ItemStack) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIItemBuilder
-
Sets the ItemStack of the GUIItem
- ItemAddable<O extends ItemAddable<O>> - Interface in de.placeblock.betterinventories.content.pane.impl.paginator
-
Interface for classes where items can be added to a list.
- ItemBuilder - Class in de.placeblock.betterinventories.util
-
Can be used to create more complex Items easier.
- ItemBuilder(ItemBuilder) - Constructor for class de.placeblock.betterinventories.util.ItemBuilder
-
Clones another ItemBuilder
- ItemBuilder(TextComponent, Material) - Constructor for class de.placeblock.betterinventories.util.ItemBuilder
-
Creates a new ItemBuilder
- ItemBuilder(TextComponent, Material, int) - Constructor for class de.placeblock.betterinventories.util.ItemBuilder
-
Creates a new ItemBuilder
- ItemBuilder(TextComponent, Material, int, boolean) - Constructor for class de.placeblock.betterinventories.util.ItemBuilder
-
Creates a new ItemBuilder
- ItemBuilder(Material) - Constructor for class de.placeblock.betterinventories.util.ItemBuilder
-
Creates a new ItemBuilder
- itemStack - Variable in class de.placeblock.betterinventories.content.item.GUIItem
-
The ItemStack to be rendered
L
- largest(Collection<Vector2d>) - Static method in class de.placeblock.betterinventories.util.Vector2d
-
Calculates the largest Vector
- LEFT - Enum constant in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Will place both controls on the left.
- lore(Collection<TextComponent>) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Sets the lore of the Item
- lore(TextComponent...) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Sets the lore of the Item
- lowerPane(GUIPane) - Method in class de.placeblock.betterinventories.builder.content.HorizontalSplitGUIPaneBuilder
-
Sets the lower part of the pane
M
- max(Vector2d, Vector2d) - Static method in class de.placeblock.betterinventories.util.Vector2d
-
Calculates the maximum of two Vectors
- maxHeight(int) - Method in class de.placeblock.betterinventories.builder.gui.BaseChestGUIBuilder
-
Sets the maxHeight of the Inventory.
- maxSize - Variable in class de.placeblock.betterinventories.content.GUISection
-
The maximum size of the Section
- maxSize(int, int) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Sets the maxSize of the pane.
- maxSize(Vector2d) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Sets the maximum size of the pane.
- min(Vector2d, Vector2d) - Static method in class de.placeblock.betterinventories.util.Vector2d
-
Calculates the minimum of two Vectors
- minHeight(int) - Method in class de.placeblock.betterinventories.builder.gui.BaseChestGUIBuilder
-
Sets the minHeight of the Inventory.
- minSize - Variable in class de.placeblock.betterinventories.content.GUISection
-
The minimum size of the Section
- minSize(int, int) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Sets the minimum size of the pane.
- minSize(Vector2d) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIPaneBuilder
-
Sets the minimum size of the pane.
- modulo(int, int) - Static method in class de.placeblock.betterinventories.util.Util
-
Modulo that also works for negative numbers
N
- nextPage() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Skips to the next page.
- NextPageGUIButton - Class in de.placeblock.betterinventories.content.item.impl.paginator
-
A
GUIButtonfor thePaginatorGUIPanewhich skips to the next page. - NextPageGUIButton(PaginatorGUIPane, GUI) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.NextPageGUIButton
-
Creates a new NextPageGUIButton
- NextPageGUIButton(PaginatorGUIPane, GUI, TextComponent) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.NextPageGUIButton
-
Creates a new NextPageGUIButton
- NextPageGUIButton(PaginatorGUIPane, GUI, TextComponent, Material) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.NextPageGUIButton
-
Creates a new NextPageGUIButton
O
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player clicks on the Button no matter how.
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.CommandGUIButton
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.paginator.NextPageGUIButton
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.paginator.PreviousPageGUIButton
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.SwitchGUIButton
- onClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.TeleportGUIButton
- onClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onClick handler
- onClose(Player) - Method in class de.placeblock.betterinventories.gui.GUI
-
Is called when the player closes the GUI.
- onClose(Player) - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Is called when the player closes the GUI.
- onCycle(ClickData, E) - Method in class de.placeblock.betterinventories.content.item.impl.cyclebutton.CycleGUIButton
-
Is called when cycling through the Enum-values
- onFinish(String, boolean) - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Called when a player clicks on the submit-item and can be overridden
- onInventoryClick(InventoryClickEvent) - Method in class de.placeblock.betterinventories.gui.GUI
-
Called by Bukkit when Player clicks an Inventory
- onInventoryClose(InventoryCloseEvent) - Method in class de.placeblock.betterinventories.gui.GUI
-
Called by Bukkit when a Player closes an Inventory
- onInventoryDrag(InventoryDragEvent) - Method in class de.placeblock.betterinventories.gui.GUI
-
Called by Bukkit when Player drags an Inventory
- onItemAdd() - Method in interface de.placeblock.betterinventories.content.pane.impl.paginator.ItemAddable
-
Can be overridden and is called when items were added.
- onItemAdd() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Is called whenever Items are added to the Paginator.
- onItemAdd(Vector2d, ItemStack) - Method in class de.placeblock.betterinventories.content.GUISection
-
Called when an item is added to an empty slot
- onItemAdd(Vector2d, ItemStack) - Method in class de.placeblock.betterinventories.content.item.GUIItem
- onItemAdd(Vector2d, ItemStack) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
- onItemAdd(Vector2d, ItemStack) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
- onItemAmount(Vector2d, int) - Method in class de.placeblock.betterinventories.content.GUISection
-
Called when the amount of an item in a slot changes
- onItemAmount(Vector2d, int) - Method in class de.placeblock.betterinventories.content.item.GUIItem
- onItemAmount(Vector2d, int) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
- onItemAmount(Vector2d, int) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
- onItemChange(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
-
Called when an item changes
- onItemChange(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.SynchedGUIPane
- onItemClick(ClickData) - Method in class de.placeblock.betterinventories.content.GUISection
-
Called when a user clicks on an item.
- onItemClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
- onItemClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIItem
- onItemClick(ClickData) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
- onItemProvide(ItemStack) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Called when an item is provided by an inventory MOVE_TO_OTHER_INVENTORY event
- onItemProvide(ItemStack) - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
- onItemProvide(ItemStack) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
- onItemProvide(ItemStack) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
- onItemRemove(Vector2d) - Method in class de.placeblock.betterinventories.content.GUISection
-
Called when an item is removed from an empty slot
- onItemRemove(Vector2d) - Method in class de.placeblock.betterinventories.content.item.GUIItem
- onItemRemove(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
- onItemRemove(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.vanilla.IOGUIPane
- onLeftClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player left-clicks the Button without sneaking
- onLeftClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onLeftClick handler
- onRightClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player right-clicks the Button without sneaking
- onRightClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onRightClick handler
- onShiftClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player clicks the Button while sneaking
- onShiftClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onShiftClick handler
- onShiftLeftClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player left-clicks the Button while sneaking
- onShiftLeftClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onShiftLeftClick handler
- onShiftRightClick(ClickData) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Is called when the player right-clicks the Button while sneaking
- onShiftRightClick(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the onShiftRightClick handler
- onSizeChange() - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Can be overridden and is only called when the size of this GUIPane really changes.
- onSizeChange() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorContentPane
-
Is called when the size of the Pane changes.
- onSizeChange() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPane
-
Is called when the size of the Pane changes.
- onSubmit(ClickData) - Method in class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Is called on submit
- onSubmit(Consumer<ClickData>) - Method in class de.placeblock.betterinventories.builder.content.SubmitGUIButtonBuilder
-
Sets the submit Handler
- onToggle(boolean) - Method in class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Gets called when the Button gets toggled
- onUpdate(String) - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Called when a player types
P
- PaginatorBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for creating PaginatorBuilders
- PaginatorBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Creates a new PaginatorBuilder
- PaginatorContentPane - Class in de.placeblock.betterinventories.content.pane.impl.paginator
-
The ContentPane of a
PaginatorGUIPane. - PaginatorContentPane(GUI, Vector2d, Vector2d, PaginatorGUIPane) - Constructor for class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorContentPane
-
Creates a new PaginatorContentPane
- PaginatorControlsPane - Class in de.placeblock.betterinventories.content.pane.impl.paginator
-
The Controls pane for a
PaginatorGUIPane. - PaginatorControlsPane(GUI, PaginatorGUIPane, Vector2d, Vector2d, boolean, PaginatorControlsPosition) - Constructor for class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPane
-
Creates a new PaginatorControlsPane
- PaginatorControlsPane(GUI, PaginatorGUIPane, Vector2d, Vector2d, boolean, PaginatorControlsPosition, NextPageGUIButton, PreviousPageGUIButton) - Constructor for class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPane
-
Creates a new PaginatorControlsPane
- PaginatorControlsPosition - Enum Class in de.placeblock.betterinventories.content.pane.impl.paginator
-
Different positions for the
PaginatorGUIPane's Controls. - PaginatorGUIButton - Class in de.placeblock.betterinventories.content.item.impl.paginator
-
Abstract class for
GUIButtons that belong to a specificPaginatorGUIPane. - PaginatorGUIButton(PaginatorGUIPane, GUI, ItemStack) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.PaginatorGUIButton
-
Creates a new PaginatorGUIButton
- paginatorGUIPane - Variable in class de.placeblock.betterinventories.content.item.impl.paginator.PaginatorGUIButton
-
The according Paginator
- PaginatorGUIPane - Class in de.placeblock.betterinventories.content.pane.impl.paginator
-
A Paginator is a
GUIPanethat can contain items. - PaginatorGUIPane(GUI, Vector2d, Vector2d, boolean, int, Function<PaginatorGUIPane, PaginatorControlsPane>) - Constructor for class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Creates a new PaginatorGUIPane
- PaginatorGUIPane(GUI, Vector2d, Vector2d, boolean, PaginatorControlsPosition, int) - Constructor for class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Creates a new PaginatorGUIPane
- permission(String) - Method in class de.placeblock.betterinventories.builder.content.BaseGUIButtonBuilder
-
Sets the permission required to click on this button
- PlayerGUI<P> - Interface in de.placeblock.betterinventories.gui
-
Can be used to mark a GUI as a player-specific-GUI
- previousPage() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Returns to the previous page.
- PreviousPageGUIButton - Class in de.placeblock.betterinventories.content.item.impl.paginator
-
A
GUIButtonfor thePaginatorGUIPanewhich returns to the previous page. - PreviousPageGUIButton(PaginatorGUIPane, GUI) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.PreviousPageGUIButton
-
Creates a new PreviousPageGUIButton
- PreviousPageGUIButton(PaginatorGUIPane, GUI, TextComponent) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.PreviousPageGUIButton
-
Creates a new PreviousPageGUIButton
- PreviousPageGUIButton(PaginatorGUIPane, GUI, TextComponent, Material) - Constructor for class de.placeblock.betterinventories.content.item.impl.paginator.PreviousPageGUIButton
-
Creates a new PreviousPageGUIButton
- provideItem(ItemStack) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Used to provide items recursively
- provideItem(ItemStack) - Method in class de.placeblock.betterinventories.gui.GUI
-
Used to provide items on MOVE_TO_OTHER_INVENTORY click event
- provideItem(ItemStack) - Method in class de.placeblock.betterinventories.gui.impl.AnvilGUI
- provideItem(ItemStack) - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
R
- reloadViews() - Method in class de.placeblock.betterinventories.gui.GUI
-
Reloads all Views (Removes all Players and adds all Players).
- REMOVE - Enum constant in enum class de.placeblock.betterinventories.gui.GUIAction
-
Action when an item is removed from a slot
- removeSection(C) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Removes a section from the pane.
- removeSection(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Removes a section from the pane
- render() - Method in class de.placeblock.betterinventories.content.GUISection
-
Renders the Section on a list
- render() - Method in class de.placeblock.betterinventories.content.item.GUIItem
-
Renders the GUIItem on a list
- render() - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
-
Renders the Pane on a list
- render() - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Renders the Pane on a list
- render() - Method in class de.placeblock.betterinventories.gui.GUI
-
Renders the GUI
- renderContent() - Method in class de.placeblock.betterinventories.gui.GUI
-
Renders the GUI on a list
- renderContent() - Method in class de.placeblock.betterinventories.gui.impl.AnvilGUI
-
Renders the GUI on a list
- renderContent() - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
- renderOnList(GUISection, Vector2d, List<ItemStack>) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Renders a child section at a specific position on a list
- repeat(boolean) - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Sets whether to jump back to the first page when reaching the last page (and via versa)
- RESULT_MATERIAL - Static variable in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
The result-material
- RIGHT - Enum constant in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Will place both controls on the right.
S
- search(int, boolean) - Method in class de.placeblock.betterinventories.content.GUISection
-
Returns the GUISection at a specific slot.
- search(int, boolean) - Method in class de.placeblock.betterinventories.content.item.GUIItem
-
Returns the GUISection at a specific slot.
- search(Vector2d, boolean) - Method in class de.placeblock.betterinventories.content.GUISection
-
Returns the GUISection at a specific position.
- search(Vector2d, boolean) - Method in class de.placeblock.betterinventories.content.item.GUIItem
-
Returns the GUISection at a specific position.
- search(Vector2d, boolean) - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
-
Returns the GUISection at a specific position.
- search(Vector2d, boolean) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Returns the GUISection at a specific position.
- SearchData() - Constructor for class de.placeblock.betterinventories.content.GUISection.SearchData
- searchSection(int, boolean) - Method in class de.placeblock.betterinventories.gui.GUI
-
Returns the GUISection at a specific slot.
- searchSection(int, boolean) - Method in class de.placeblock.betterinventories.gui.impl.AnvilGUI
-
Returns the GUISection at a specific slot.
- searchSection(int, boolean) - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
-
Uses recursion to find the GUISection which was clicked
- setCanvas(C) - Method in class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
-
Sets the canvas for this GUI.
- setCooldown(int) - Method in class de.placeblock.betterinventories.content.item.GUIButton
-
Sets the cooldown after which the Button can be clicked again
- setCurrentPage(int) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Sets the current page
- setHeight(int) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Sets the new height by using
GUIPane.setSize(Vector2d) - setItems() - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorContentPane
-
Sets the Items in the Paginator
- setItems(List<I>) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Sets all Items in the Paginator.
- setSection(C) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Sets a section at coordinates 0,0
- setSectionAt(int, C) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Sets a section at a specific slot.
- setSectionAt(Vector2d, C) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Sets a section at a specific position
- setSize(Vector2d) - Method in class de.placeblock.betterinventories.content.GUISection
-
Sets the size
- setSize(Vector2d) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Sets the size and calls
GUIPane.onSizeChange()if changed. - setWidth(int) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Sets the new width by using
GUIPane.setSize(Vector2d) - shiftX(int) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Shifts Items to the left or right
- shiftY(int) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Shifts Items to the top or bottom
- showPlayer(Player) - Method in class de.placeblock.betterinventories.gui.GUI
-
Shows the GUI to a player.
- SimpleGUIPane - Class in de.placeblock.betterinventories.content.pane.impl.simple
-
Implementation of
BaseSimpleGUIPanethat can contain allGUISections. - SimpleGUIPane(GUI, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.SimpleGUIPane
-
Creates a new SimpleGUIPane
- SimpleGUIPane(GUI, Vector2d, Vector2d, boolean) - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.SimpleGUIPane
-
Creates a new SimpleGUIPane
- SimpleGUIPaneBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for creating SimpleGUIPanes
- SimpleGUIPaneBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.SimpleGUIPaneBuilder
-
Creates a new SimpleGUIPaneBuilder
- SimpleItemGUIPane - Class in de.placeblock.betterinventories.content.pane.impl.simple
-
Implementation of
BaseSimpleGUIPanethat can contain onlyGUIItems. - SimpleItemGUIPane(GUI, Vector2d, Vector2d) - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Creates a new SimpleGUIPane
- SimpleItemGUIPane(GUI, Vector2d, Vector2d, boolean) - Constructor for class de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane
-
Creates a new SimpleGUIPane
- SimpleItemGUIPaneBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for SimpleItemGUIPanes
- SimpleItemGUIPaneBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.SimpleItemGUIPaneBuilder
-
Creates a new SimpleItemGUIPaneBuilder
- size(Vector2d) - Method in class de.placeblock.betterinventories.builder.content.BaseGUISectionBuilder
-
Sets the size of the
GUISection. - Sizeable - Interface in de.placeblock.betterinventories
-
Used by GUIs and GUISections for sizing
- skinTexture(URL) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Sets the skin-texture of the Item Only effective when using
Material.PLAYER_HEADas type - slotToVector(int) - Method in class de.placeblock.betterinventories.content.GUISection
-
Converts a slot to a vector based on the width of this Section
- slotToVector(int, int) - Static method in class de.placeblock.betterinventories.util.Util
-
Calculates the Vector given a slot and a width
- SPACE_BETWEEN - Enum constant in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Will place one control on the left and one on the right.
- SPACE_EVENLY - Enum constant in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Will place them in a way that the space between the controls and one control to a side is equal.
- startPage(int) - Method in class de.placeblock.betterinventories.builder.content.PaginatorBuilder
-
Sets the start page
- SUBMIT_ITEM - Static variable in class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
The default submit-item
- submitDelay(int) - Method in class de.placeblock.betterinventories.builder.content.SubmitGUIButtonBuilder
-
Sets the submit-delay
- SubmitGUIButton - Class in de.placeblock.betterinventories.content.item.impl
-
Button which shows a confirm-item if clicked.
- SubmitGUIButton(GUI, ItemStack) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, int) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, String) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, String, int) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, ItemStack) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, ItemStack, int) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, ItemStack, String) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButton(GUI, ItemStack, ItemStack, String, int) - Constructor for class de.placeblock.betterinventories.content.item.impl.SubmitGUIButton
-
Creates a new SubmitGUIButton
- SubmitGUIButtonBuilder - Class in de.placeblock.betterinventories.builder.content
-
Builder for creating SubmitGUIButtons
- SubmitGUIButtonBuilder(GUI) - Constructor for class de.placeblock.betterinventories.builder.content.SubmitGUIButtonBuilder
-
Creates a new SubmitGUIButtonBuilder
- submitItem(ItemStack) - Method in class de.placeblock.betterinventories.builder.content.SubmitGUIButtonBuilder
-
Sets the submit-item
- subtract(Vector2d) - Method in class de.placeblock.betterinventories.util.Vector2d
-
Subtract a Vector from this Vector
- SwitchGUIButton - Class in de.placeblock.betterinventories.content.item.impl
- SwitchGUIButton(GUI, ItemStack, Function<Player, GUI>) - Constructor for class de.placeblock.betterinventories.content.item.impl.SwitchGUIButton
-
Creates a new SwitchGUIButton The creation of the targetGUI can use the player which clicked the button
- SwitchGUIButton(GUI, ItemStack, Supplier<GUI>) - Constructor for class de.placeblock.betterinventories.content.item.impl.SwitchGUIButton
-
Creates a new SwitchGUIButton
- SynchedGUIPane - Class in de.placeblock.betterinventories.content.pane.impl.vanilla
-
Can be used to synchronize an IOGUIPane with another SimpleItemGUIPane
- SynchedGUIPane(GUI, Vector2d, boolean, SimpleItemGUIPane) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.SynchedGUIPane
-
Creates a new SynchedGUIPane
- SynchedGUIPane(GUI, Vector2d, Vector2d, boolean, SimpleItemGUIPane) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.SynchedGUIPane
-
Creates a new SynchedGUIPane
- SynchedGUIPane(GUI, Vector2d, Vector2d, SimpleItemGUIPane) - Constructor for class de.placeblock.betterinventories.content.pane.impl.vanilla.SynchedGUIPane
-
Creates a new SynchedGUIPane
T
- TeleportGUIButton - Class in de.placeblock.betterinventories.content.item.impl
-
A
GUIButtonwhich automatically teleports the player to a specificLocation - TeleportGUIButton(GUI, ItemStack, Location) - Constructor for class de.placeblock.betterinventories.content.item.impl.TeleportGUIButton
-
Creates a new TeleportGUIButton
- TextInputGUI - Class in de.placeblock.betterinventories.gui.impl.textinput
-
GUI for getting Text Input
- TextInputGUI(Plugin, TextComponent, Player, String, FinishConsumer) - Constructor for class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Creates a new TextInputGUI
- TextInputGUI(Plugin, TextComponent, Player, String, FinishConsumer, Consumer<String>, Function<String, TextComponent>) - Constructor for class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Creates a new TextInputGUI
- TextInputGUI(Plugin, TextComponent, Player, String, FinishConsumer, Function<String, TextComponent>) - Constructor for class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Creates a new TextInputGUI
- TextInputGUI(Plugin, TextComponent, Player, String, Function<String, TextComponent>) - Constructor for class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Creates a new TextInputGUI
- TextInputPacketListener - Class in de.placeblock.betterinventories.gui.impl.textinput
-
The packet-listener used by
TextInputGUIto receive anvil text - TextInputPacketListener() - Constructor for class de.placeblock.betterinventories.gui.impl.textinput.TextInputPacketListener
- title(TextComponent) - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
-
Sets the title of the Inventory.
- toggle() - Method in class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Toggles the state of the Button
- ToggleGUIButton - Class in de.placeblock.betterinventories.content.item.impl
-
GUIButton which toggles between on and off
- ToggleGUIButton(GUI) - Constructor for class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Creates a new ToggleGUIButton
- ToggleGUIButton(GUI, boolean) - Constructor for class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Creates a new ToggleGUIButton
- ToggleGUIButton(GUI, String) - Constructor for class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Creates a new ToggleGUIButton
- ToggleGUIButton(GUI, String, boolean) - Constructor for class de.placeblock.betterinventories.content.item.impl.ToggleGUIButton
-
Creates a new ToggleGUIButton
- toString() - Method in class de.placeblock.betterinventories.util.Vector2d
- type(InventoryType) - Method in class de.placeblock.betterinventories.builder.gui.BaseGUIBuilder
-
Sets the type of the Inventory.
U
- unbreakable(boolean) - Method in class de.placeblock.betterinventories.util.ItemBuilder
-
Sets the unbreakable tag of the Item
- uninject() - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputPacketListener
-
Uninjects the listener
- update() - Method in class de.placeblock.betterinventories.gui.GUI
-
Updates the GUI, renders the GUI and updates the Views
- update() - Method in class de.placeblock.betterinventories.gui.impl.BaseChestGUI
-
Updates the GUI and reloads all Views if needed
- update(List<ItemStack>) - Method in class de.placeblock.betterinventories.gui.GUIView
-
Gets called when the new rendered content should be showed to the player.
- updateChildrenRecursive(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Updates the size of all children recursive
- updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Recalculates the size of the Pane when implemented
- updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
-
Updates the size of the Pane based on the height of upper and lower Pane.
- updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorContentPane
-
Updates the size of the pane based on the size of the paginator.
- updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPane
-
Updates its size if
PaginatorControlsPane.autoSizeis enabled - updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Updates the size of the Paginator based on how many Items are added.
- updateSize(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Sets the size of the Pane to the bounding-box of all children if auto-size is enabled.
- updateSizeRecursive(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.GUIPane
-
Is called to recursively update the size of all
GUIPanes - updateSizeRecursive(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.HorizontalSplitGUIPane
-
Is called to recursively update the size of all
GUIPanes - updateSizeRecursive(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorGUIPane
-
Is called to recursively update the size of all
GUIPanes - updateSizeRecursive(Sizeable) - Method in class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
-
Is called to recursively update the size of all
GUIPanes - updateText(String) - Method in class de.placeblock.betterinventories.gui.impl.textinput.TextInputGUI
-
Is called by the
TextInputPacketListenerto update the text - updateViews() - Method in class de.placeblock.betterinventories.gui.GUI
-
Updates the content of all Views
- upperPane(GUIPane) - Method in class de.placeblock.betterinventories.builder.content.HorizontalSplitGUIPaneBuilder
-
Sets the upper part of the pane
- Util - Class in de.placeblock.betterinventories.util
-
Utility Functions
- Util() - Constructor for class de.placeblock.betterinventories.util.Util
V
- VALUE_MISSING_EXCEPTION - Static variable in interface de.placeblock.betterinventories.builder.Builder
-
This Exception gets called if there are missing values when building the object
- valueOf(String) - Static method in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.placeblock.betterinventories.gui.GUIAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.placeblock.betterinventories.content.pane.impl.paginator.PaginatorControlsPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.placeblock.betterinventories.gui.GUIAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2d - Class in de.placeblock.betterinventories.util
-
Vector class to specify positions in GUIs
- Vector2d() - Constructor for class de.placeblock.betterinventories.util.Vector2d
-
Creates a new Vector with 0-values
- vectorToSlot(Vector2d) - Method in class de.placeblock.betterinventories.content.GUISection
-
Converts a position to a slot based on the width of this Section
- vectorToSlot(Vector2d, int) - Static method in class de.placeblock.betterinventories.util.Util
-
Calculates the slot given a Vector and a width
All Classes and Interfaces|All Packages