Class CottonClientScreen

All Implemented Interfaces:
io.github.cottonmc.cotton.gui.impl.client.CottonScreenImpl, Drawable, Element, Navigable, ParentElement

public class CottonClientScreen extends Screen implements io.github.cottonmc.cotton.gui.impl.client.CottonScreenImpl
  • Field Details

    • description

      protected GuiDescription description
    • left

      protected int left
    • top

      protected int top
    • titleX

      protected int titleX
      The X coordinate of the screen title. This is relative to the root panel's top-left corner.
      Since:
      2.0.0
    • titleY

      protected int titleY
      The Y coordinate of the screen title. This is relative to the root panel's top-left corner.
      Since:
      2.0.0
    • lastResponder

      @Nullable protected @Nullable WWidget lastResponder
  • Constructor Details

    • CottonClientScreen

      public CottonClientScreen(GuiDescription description)
    • CottonClientScreen

      public CottonClientScreen(Text title, GuiDescription description)
  • Method Details