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
ConstructorsConstructorDescriptionBetterStatsConfigScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen) -
Method Summary
Modifier and TypeMethodDescriptionfinal @Nullable net.minecraft.client.gui.screens.Screenprotected final voidstatic final voidinitConfigGui(@NotNull com.thecsdev.commonmc.api.client.gui.panel.TPanelElement panel) Initializes a configuration GUI for this mod.final booleanfinal voidrenderCallback(@NotNull com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics pencil) Methods 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, createWrapperScreen, focusedElementProperty, getAsScreen, getClient, hoveredElementProperty, isOpen, isPauseScreen, openCallback, 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, 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
-
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:
getLastScreenin interfacecom.thecsdev.commonmc.api.client.gui.screen.ILastScreenProvider
-
isAllowingInGameHud
public final boolean isAllowingInGameHud()- Overrides:
isAllowingInGameHudin classcom.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:
renderCallbackin interfacecom.thecsdev.common.scene.INodeRenderable<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics>- Overrides:
renderCallbackin classcom.thecsdev.commonmc.api.client.gui.TElement
-
initCallback
protected final void initCallback()- Specified by:
initCallbackin classcom.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- TheTPanelElementonto which the GUI is initialized.- Throws:
NullPointerException- If the argument isnull.
-