Uses of Class
net.tnemc.menu.core.builder.IconBuilder
-
Uses of IconBuilder in net.tnemc.menu.core
Modifier and TypeMethodDescriptionvoid
Page.setColumn
(int menuRows, int startingRow, int endingRow, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
Page.setColumn
(int menuRows, int startingRow, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
Page.setColumn
(int menuRows, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
PlayerInstancePage.setColumn
(UUID player, int menuRows, int startingRow, int endingRow, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
PlayerInstancePage.setColumn
(UUID player, int menuRows, int startingRow, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
PlayerInstancePage.setColumn
(UUID player, int menuRows, int column, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified column.void
Page.setRow
(int row, int startingColumn, int endingColumn, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row.void
Page.setRow
(int row, int startingColumn, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row.void
Page.setRow
(int row, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row.void
PlayerInstancePage.setRow
(UUID player, int row, int startingColumn, int endingColumn, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row.void
PlayerInstancePage.setRow
(UUID player, int row, int startingColumn, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row.void
PlayerInstancePage.setRow
(UUID player, int row, IconBuilder iconBuilder) Sets the specifiedIconBuilder
to the specified row. -
Uses of IconBuilder in net.tnemc.menu.core.builder
Modifier and TypeMethodDescriptionIconBuilder.withActions
(IconAction... actions) Adds actions to the list of actions for the icon.IconBuilder.withClick
(Consumer<MenuClickHandler> click) Sets the click handler for the icon.IconBuilder.withConstraint
(Constraint<?> key, String value) Adds a constraint to the icon.IconBuilder.withDefaultState
(String defaultState) Sets the default state for the StateIcon.IconBuilder.withItemProvider
(@Nullable Function<MenuPlayer, net.tnemc.item.AbstractItemStack<?>> itemProvider) Sets the item provider function for the icon.IconBuilder.withSlot
(int slot) Sets the slot for the icon.Sets the slot for the icon using aSlotPos
object.Adds a state to the StateIcon.IconBuilder.withStateHandler
(Function<String, String> stateHandler) Sets the state handler for the StateIcon.IconBuilder.withStateID
(String stateID) Sets the state ID for the StateIcon.Modifier and TypeMethodDescriptionPageBuilder.withColumn
(int menuRows, int startingRow, int endingRow, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column.PageBuilder.withColumn
(int menuRows, int startingRow, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column.PageBuilder.withColumn
(int menuRows, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column.PlayerPageBuilder.withColumn
(UUID player, int menuRows, int startingRow, int endingRow, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column for a player.PlayerPageBuilder.withColumn
(UUID player, int menuRows, int startingRow, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column for a player.PlayerPageBuilder.withColumn
(UUID player, int menuRows, int column, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified column for a player.PageBuilder.withRow
(int row, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified row.PlayerPageBuilder.withRow
(UUID player, int row, int startingColumn, int endingColumn, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified row for a player.PlayerPageBuilder.withRow
(UUID player, int row, int startingColumn, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified row for a player.PlayerPageBuilder.withRow
(UUID player, int row, IconBuilder iconBuilder) Adds the specifiedIconBuilder
to the specified row for a player.