Class Frame

java.lang.Object
dev.triumphteam.gui.animations.Frame

public class Frame extends Object
  • Constructor Details

    • Frame

      public Frame(Map<Integer,GuiItem> items)
      Parameters:
      items - A map with the slot and the item to display in this frame
  • Method Details

    • apply

      public Frame apply(@NotNull @NotNull BaseGui gui)
      Parameters:
      gui - The gui to display this frame
      Returns:
      The same frame instance
    • fallback

      public void fallback(@NotNull @NotNull BaseGui gui)
    • getItems

      public Map<Integer,GuiItem> getItems()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      @Contract(value=" -> new", pure=true) @NotNull public static @NotNull Frame.Builder builder()