Class BackGUIButton.Builder
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>
de.placeblock.betterinventories.content.item.GUIButton.AbstractBuilder<B,P>
de.placeblock.betterinventories.content.item.impl.SwitchGUIButton.AbstractBuilder<BackGUIButton.Builder,BackGUIButton>
de.placeblock.betterinventories.content.item.impl.BackGUIButton.Builder
- Enclosing class:
- BackGUIButton
public static class BackGUIButton.Builder
extends SwitchGUIButton.AbstractBuilder<BackGUIButton.Builder,BackGUIButton>
The Builder for BackGUIButtons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instanceprotected BackGUIButton.Builderself()Returns the Builder instance itselftitle(net.kyori.adventure.text.TextComponent title) Sets the title attributeMethods inherited from class de.placeblock.betterinventories.content.item.impl.SwitchGUIButton.AbstractBuilder
targetGUIMethods inherited from class de.placeblock.betterinventories.content.item.GUIButton.AbstractBuilder
cooldown, onClick, onLeftClick, onRightClick, onShiftClick, onShiftLeftClick, onShiftRightClick, permission, soundMethods inherited from class de.placeblock.betterinventories.content.item.GUIItem.AbstractBuilder
itemStackMethods inherited from class de.placeblock.betterinventories.content.GUISection.Builder
adoptMinMax, getMaxSize, getMinSize, maxSize, maxSize, minSize, minSize, size, size
-
Constructor Details
-
Builder
Creates a new Builder- Parameters:
gui- The gui the new Buttons belong to
-
-
Method Details
-
title
Sets the title attribute- Parameters:
title- The title of theBackGUIButton- Returns:
- Itself
-
build
Description copied from class:BuilderBuilds the instance- Specified by:
buildin classBuilder<BackGUIButton.Builder,BackGUIButton> - Returns:
- The new instance
-
self
Description copied from class:BuilderReturns the Builder instance itself- Specified by:
selfin classBuilder<BackGUIButton.Builder,BackGUIButton> - Returns:
- the Builder instance itself
-