Class BetterStatsScreen

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.BetterStatsScreen
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, com.thecsdev.commonmc.api.client.gui.screen.IStatsListener, Iterable<com.thecsdev.commonmc.api.client.gui.TElement>, Collection<com.thecsdev.commonmc.api.client.gui.TElement>

@Environment(CLIENT) public final class BetterStatsScreen extends com.thecsdev.commonmc.api.client.gui.screen.TScreenPlus implements com.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider, com.thecsdev.commonmc.api.client.gui.screen.IStatsListener
The "Better Statistics Screen" itself. The improved and more useful "Statistics" screen.
  • Field Summary

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

    eInitialized
  • Constructor Summary

    Constructors
    Constructor
    Description
    BetterStatsScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen)
     
    BetterStatsScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull McbsEditor mcbsEditor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final @NotNull com.thecsdev.commonmc.api.client.gui.screen.TScreenWrapper<?>
     
    final @Nullable net.minecraft.client.gui.screens.Screen
     
    final @NotNull McbsEditor
    Returns the primary MVC controller McbsEditor instance that represents the entire editor GUI.
    protected final void
     
    final boolean
     
    protected final void
     
    final void
     

    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, focusedElementProperty, getAsScreen, getClient, hoveredElementProperty, isOpen, isPauseScreen, 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, renderCallback, 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

    • BetterStatsScreen

      public BetterStatsScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull @NotNull McbsEditor mcbsEditor) throws NullPointerException
      Throws:
      NullPointerException
    • BetterStatsScreen

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

    • getMcbsEditor

      @NotNull public final @NotNull McbsEditor getMcbsEditor()
      Returns the primary MVC controller McbsEditor instance that represents the entire editor GUI.
    • createWrapperScreen

      @NotNull protected final @NotNull com.thecsdev.commonmc.api.client.gui.screen.TScreenWrapper<?> createWrapperScreen()
      Overrides:
      createWrapperScreen in class com.thecsdev.commonmc.api.client.gui.screen.TScreen
    • 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
    • openCallback

      protected final void openCallback()
      Overrides:
      openCallback in class com.thecsdev.commonmc.api.client.gui.screen.TScreen
    • statsReceivedCallback

      public final void statsReceivedCallback()
      Specified by:
      statsReceivedCallback in interface com.thecsdev.commonmc.api.client.gui.screen.IStatsListener
    • initCallback

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