Class McbsSivGoalEditScreen
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.AbstractMcbsGoalEditScreen<McbsSivGoal>
com.thecsdev.betterstats.client.gui.screen.McbsSivGoalEditScreen
- 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>
@Internal
@Environment(CLIENT)
public final class McbsSivGoalEditScreen
extends AbstractMcbsGoalEditScreen<McbsSivGoal>
Goal editing screen for
McbsSivGoal.-
Field Summary
Fields inherited from class com.thecsdev.commonmc.api.client.gui.TElement
eInitialized -
Constructor Summary
ConstructorsConstructorDescriptionMcbsSivGoalEditScreen(@Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull McbsEditorFileTab editorTab, @NonNull McbsSivGoal goal) Constructs an instance of this screen. -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidinitGoalEditorGui(@NotNull com.thecsdev.commonmc.api.client.gui.TElement body) Initializes GUI interface for editing theAbstractMcbsGoalEditScreen.getPreviewGoal(), to a givenTElementthat acts as the baseline "body".Methods inherited from class AbstractMcbsGoalEditScreen
applyChanges, getEditorTab, getGoal, getGoalID, getLastScreen, getPreviewGoal, initCallback, isAllowingInGameHud, refreshPreviewMethods 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, 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
-
McbsSivGoalEditScreen
public McbsSivGoalEditScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull @NotNull McbsEditorFileTab editorTab, @NonNull McbsSivGoal goal) throws NoSuchElementException, IllegalStateException Constructs an instance of this screen.- Parameters:
lastScreen- TheScreenthat came before this one.editorTab- TheMcbsEditorFileTabwhere theMcbsGoalis from.goal- TheMcbsGoalcontained within theMcbsEditorFileTab.- Throws:
NoSuchElementException- IfMcbsEditorFileTabdoes not contain theMcbsGoal.IllegalStateException- IfMcbsGoal.clone()fails to clone the goal.
-
-
Method Details
-
initGoalEditorGui
protected final void initGoalEditorGui(@NotNull @NotNull com.thecsdev.commonmc.api.client.gui.TElement body) Description copied from class:AbstractMcbsGoalEditScreenInitializes GUI interface for editing theAbstractMcbsGoalEditScreen.getPreviewGoal(), to a givenTElementthat acts as the baseline "body".- Specified by:
initGoalEditorGuiin classAbstractMcbsGoalEditScreen<McbsSivGoal>- Parameters:
body- TheTElementwhere the editing iterface is to be placed.
-