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
ConstructorsConstructorDescriptionBetterStatsScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen) BetterStatsScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull McbsEditor mcbsEditor) -
Method Summary
Modifier and TypeMethodDescriptionprotected final @NotNull com.thecsdev.commonmc.api.client.gui.screen.TScreenWrapper<?> final @Nullable net.minecraft.client.gui.screens.Screenfinal @NotNull McbsEditorReturns the primary MVC controllerMcbsEditorinstance that represents the entire editor GUI.protected final voidfinal booleanprotected final voidfinal voidMethods inherited from class com.thecsdev.commonmc.api.client.gui.screen.TScreenPlus
inputCallbackMethods inherited from class com.thecsdev.commonmc.api.client.gui.screen.TScreen
close, closeCallback, focusedElementProperty, getAsScreen, getClient, hoveredElementProperty, isOpen, isPauseScreen, sendInput, titlePropertyMethods 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, visiblePropertyMethods 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
-
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
Returns the primary MVC controllerMcbsEditorinstance that represents the entire editor GUI. -
createWrapperScreen
@NotNull protected final @NotNull com.thecsdev.commonmc.api.client.gui.screen.TScreenWrapper<?> createWrapperScreen()- Overrides:
createWrapperScreenin classcom.thecsdev.commonmc.api.client.gui.screen.TScreen
-
getLastScreen
@Nullable public final @Nullable net.minecraft.client.gui.screens.Screen getLastScreen()- Specified by:
getLastScreenin interfacecom.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider
-
isAllowingInGameHud
public final boolean isAllowingInGameHud()- Overrides:
isAllowingInGameHudin classcom.thecsdev.commonmc.api.client.gui.screen.TScreen
-
openCallback
protected final void openCallback()- Overrides:
openCallbackin classcom.thecsdev.commonmc.api.client.gui.screen.TScreen
-
statsReceivedCallback
public final void statsReceivedCallback()- Specified by:
statsReceivedCallbackin interfacecom.thecsdev.commonmc.api.client.gui.screen.IStatsListener
-
initCallback
protected final void initCallback()- Specified by:
initCallbackin classcom.thecsdev.commonmc.api.client.gui.screen.TScreen
-