Uses of Class
io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
Packages that use GuiItem.Builder
-
Uses of GuiItem.Builder in io.github.somesourcecode.someguiapi.scene
Methods in io.github.somesourcecode.someguiapi.scene that return GuiItem.BuilderModifier and TypeMethodDescriptionGuiItem.Builder.at(int x, int y) Relocates the item to the given coordinates.GuiItem.Builder.atX(int x) Relocates the item to the given x coordinate.GuiItem.Builder.atY(int y) Relocates the item to the given y coordinate.static GuiItem.BuilderConstructs a new empty GuiItem builder with the given pixel.static GuiItem.BuilderGuiItem.create(org.bukkit.Material material) Constructs a new empty GuiItem builder with the given material.GuiItem.Builder.onClick(java.util.function.Consumer<NodeClickContext> onClick) Sets the consumer that is called when the node is clicked.GuiItem.Builder.onHotBarClick(java.util.function.Consumer<NodeClickContext> onHotBarClick) Sets the consumer that is called when the node receives a hot bar click.GuiItem.Builder.onLeftClick(java.util.function.Consumer<NodeClickContext> onLeftClick) Sets the consumer that is called when the node is left-clicked.GuiItem.Builder.onRightClick(java.util.function.Consumer<NodeClickContext> onRightClick) Sets the consumer that is called when the node is right-clicked.GuiItem.Builder.onShiftClick(java.util.function.Consumer<NodeClickContext> onShiftClick) Sets the consumer that is called when the node is shift-clicked.GuiItem.Builder.withGlow()Sets the glow of the item to true.GuiItem.Builder.withGlow(boolean glow) Sets whether the item should glow.Sets the id of the item.GuiItem.Builder.withIndex(int index) Sets the index of the item.Sets the lore of the item.GuiItem.Builder.withMaterial(org.bukkit.Material material) Sets the material of the item.GuiItem.Builder.withoutGlow()Sets the glow of the item to false.GuiItem.Builder.withTitle(net.kyori.adventure.text.Component title) Sets the title of the item.