Class GuiLayoutDefinition

java.lang.Object
dev.itsharshxd.zentrix.api.gui.GuiLayoutDefinition

public final class GuiLayoutDefinition extends Object
Fluent runtime layout definition for an addon GUI ID.
  • Method Details

    • create

      @NotNull public static @NotNull GuiLayoutDefinition create(@NotNull @NotNull String id, int size)
    • element

      @NotNull public @NotNull GuiLayoutDefinition element(@NotNull @NotNull String elementId, int slot)
    • automaticElement

      @NotNull public @NotNull GuiLayoutDefinition automaticElement(@NotNull @NotNull String elementId)
    • content

      @NotNull public @NotNull GuiLayoutDefinition content(@NotNull @NotNull String listId, @NotNull @NotNull String slots)
    • automaticContent

      @NotNull public @NotNull GuiLayoutDefinition automaticContent(@NotNull @NotNull String listId)
    • filler

      @NotNull public @NotNull GuiLayoutDefinition filler(@NotNull @NotNull String slots)
    • filler

      @NotNull public @NotNull GuiLayoutDefinition filler(@NotNull @NotNull org.bukkit.Material material, @NotNull @NotNull String slots)
    • noFiller

      @NotNull public @NotNull GuiLayoutDefinition noFiller()
    • id

      @NotNull public @NotNull String id()
    • size

      public int size()
    • elements

      @NotNull public @NotNull Map<String,Integer> elements()
    • contentLists

      @NotNull public @NotNull Map<String,String> contentLists()
    • fillerEnabled

      public boolean fillerEnabled()
    • fillerMaterial

      @NotNull public @NotNull org.bukkit.Material fillerMaterial()
    • fillerSlots

      @NotNull public @NotNull String fillerSlots()