Class BetterStatsConfigScreen

java.lang.Object
com.thecsdev.common.scene.Node<com.thecsdev.commonmc.api.client.gui.TElement>
com.thecsdev.commonmc.api.client.gui.TElement
com.thecsdev.commonmc.api.client.gui.screen.TScreen
com.thecsdev.commonmc.api.client.gui.screen.TScreenPlus
com.thecsdev.betterstats.api.client.gui.screen.BetterStatsConfigScreen
All Implemented Interfaces:
com.thecsdev.common.scene.INode<com.thecsdev.commonmc.api.client.gui.TElement>, com.thecsdev.common.scene.INodeBounded<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.common.math.Bounds2i>, com.thecsdev.common.scene.INodeRenderable<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics>, com.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider, Iterable<com.thecsdev.commonmc.api.client.gui.TElement>, Collection<com.thecsdev.commonmc.api.client.gui.TElement>

@Environment(CLIENT) public final class BetterStatsConfigScreen extends com.thecsdev.commonmc.api.client.gui.screen.TScreenPlus implements com.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider
TScreen implementation featuring GUI for configuring this mod.
  • Field Summary

    Fields inherited from class com.thecsdev.commonmc.api.client.gui.TElement

    eInitialized
  • Constructor Summary

    Constructors
    Constructor
    Description
    BetterStatsConfigScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final @Nullable net.minecraft.client.gui.screens.Screen
     
    protected final void
     
    static final void
    initConfigGui(@NotNull com.thecsdev.commonmc.api.client.gui.panel.TPanelElement panel)
    Initializes a configuration GUI for this mod.
    final boolean
     
    final void
    renderCallback(@NotNull com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics pencil)
     

    Methods inherited from class com.thecsdev.commonmc.api.client.gui.screen.TScreenPlus

    inputCallback

    Methods inherited from class com.thecsdev.commonmc.api.client.gui.screen.TScreen

    close, closeCallback, createWrapperScreen, focusedElementProperty, getAsScreen, getClient, hoveredElementProperty, isOpen, isPauseScreen, openCallback, sendInput, titleProperty

    Methods inherited from class com.thecsdev.commonmc.api.client.gui.TElement

    addRel, boundsProperty, clearAndInit, clipsDescendantsProperty, contextMenuProperty, dragEndCallback, dragStartCallback, findElementAt, focusableProperty, focusGainedCallback, focusLostCallback, forEachVisible, getBaseType, getBounds, getContentBounds, getCursor, getSelf, getTooltip, hoverableProperty, hoverGainedCallback, hoverLostCallback, invalidateTooltipCache, isFocusable, isFocused, isHoverable, isHovered, isHoveredOrFocused, isVisible, move, moveChildren, moveTo, postRenderCallback, removeRel, screenProperty, setBounds, setBounds, setBounds, showContextMenu, tickCallback, tooltipProperty, toString, visibleProperty

    Methods inherited from class com.thecsdev.common.scene.Node

    add, addAll, childAddedCallback, childRemovedCallback, clear, contains, containsAll, equals, findChild, findParent, findSibling, forEach, get, getFirst, getLast, getParent, hashCode, indexOf, isEmpty, iterator, parentProperty, remove, remove, remove, removeAll, retainAll, rootProperty, size, toArray, toArray

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface Iterable

    forEach
  • Constructor Details

    • BetterStatsConfigScreen

      public BetterStatsConfigScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen lastScreen)
  • Method Details

    • getLastScreen

      @Nullable public final @Nullable net.minecraft.client.gui.screens.Screen getLastScreen()
      Specified by:
      getLastScreen in interface com.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider
    • isAllowingInGameHud

      public final boolean isAllowingInGameHud()
      Overrides:
      isAllowingInGameHud in class com.thecsdev.commonmc.api.client.gui.screen.TScreen
    • renderCallback

      public final void renderCallback(@NotNull @NotNull com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics pencil)
      Specified by:
      renderCallback in interface com.thecsdev.common.scene.INodeRenderable<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics>
      Overrides:
      renderCallback in class com.thecsdev.commonmc.api.client.gui.TElement
    • initCallback

      protected final void initCallback()
      Specified by:
      initCallback in class com.thecsdev.commonmc.api.client.gui.screen.TScreen
    • initConfigGui

      public static final void initConfigGui(@NotNull @NotNull com.thecsdev.commonmc.api.client.gui.panel.TPanelElement panel) throws NullPointerException
      Initializes a configuration GUI for this mod.
      Parameters:
      panel - The TPanelElement onto which the GUI is initialized.
      Throws:
      NullPointerException - If the argument is null.