Package net.minecraft.client.gui.screens
Class ConfirmLinkScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.ConfirmScreen
net.minecraft.client.gui.screens.ConfirmLinkScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private final boolean
private final String
private static final Component
Fields inherited from class net.minecraft.client.gui.screens.ConfirmScreen
callback, noButton, yesButton
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95631_, String p_95632_, boolean p_95633_) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_238329_, Component p_238330_, String p_238331_, boolean p_238332_) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_239991_, Component p_239992_, String p_239993_, Component p_239994_, boolean p_239995_) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_240191_, Component p_240192_, Component p_240193_, String p_240194_, Component p_240195_, boolean p_240196_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addButtons
(int p_169243_) protected static MutableComponent
confirmMessage
(boolean p_240014_) protected static MutableComponent
confirmMessage
(boolean p_239180_, String p_239181_) void
void
Methods inherited from class net.minecraft.client.gui.screens.ConfirmScreen
addExitButton, getNarrationMessage, init, keyPressed, setDelay, shouldCloseOnEsc, tick
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
COPY_BUTTON_TEXT
-
WARNING_TEXT
-
url
-
showWarning
private final boolean showWarning
-
-
Constructor Details
-
ConfirmLinkScreen
public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95631_, String p_95632_, boolean p_95633_) -
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
-
Method Details
-
confirmMessage
-
confirmMessage
-
addButtons
protected void addButtons(int p_169243_) - Overrides:
addButtons
in classConfirmScreen
-
copyToClipboard
public void copyToClipboard() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classConfirmScreen
-