Class SlotBuilder
java.lang.Object
com.zenith.feature.gui.SlotBuilder
-
Method Summary
Modifier and TypeMethodDescriptionamount(int amount) build()buttonClickHandler(ButtonClickHandler handler) static SlotBuildercreate()<T> SlotBuilderdataComponent(DataComponentType<T> dataComponentType, @Nullable T data) item(int itemId) name(net.kyori.adventure.text.Component name) playerHead(String playerName, String customTextureData) Looking for player head textures? try these: minecraft-headsplayerHead(UUID uuid) WARNING: makes a blocking network request to retrieve the player's skin and nametickHandler(ItemSlotTickHandler itemSlotTickHandler)
-
Method Details
-
create
-
item
-
item
-
amount
-
name
-
lore
-
playerHead
Looking for player head textures? try these: minecraft-heads -
playerHead
WARNING: makes a blocking network request to retrieve the player's skin and name -
dataComponent
-
tickHandler
-
buttonClickHandler
-
nextPageButton
-
previousPageButton
-
build
-