类 ConfirmLinkScreen
java.lang.Object
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
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final Component
private final boolean
private final String
private static final Component
从类继承的字段 net.minecraft.client.gui.screens.ConfirmScreen
callback, noButton, yesButton
从类继承的字段 net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, String pUrl, boolean pTrusted) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, String pUrl, boolean pTrusted) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, String pUrl, Component pNoButton, boolean pTrusted) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, String pUrl, Component pNoButton, boolean pTrusted) -
方法概要
修饰符和类型方法说明protected void
addButtons
(int pY) static Button.OnPress
confirmLink
(String pUrl, Screen pLastScreen, boolean pTrusted) static void
confirmLinkNow
(String pUrl, Screen pLastScreen, boolean pTrusted) protected static MutableComponent
confirmMessage
(boolean pTrusted) protected static MutableComponent
confirmMessage
(boolean pTrusted, String pExtraInfo) void
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) 从类继承的方法 net.minecraft.client.gui.screens.ConfirmScreen
addExitButton, getNarrationMessage, init, keyPressed, setDelay, shouldCloseOnEsc, tick
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
COPY_BUTTON_TEXT
-
WARNING_TEXT
-
url
-
showWarning
private final boolean showWarning
-
-
构造器详细资料
-
ConfirmLinkScreen
public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, String pUrl, boolean pTrusted) -
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
-
方法详细资料
-
confirmMessage
-
confirmMessage
-
addButtons
protected void addButtons(int pY) - 覆盖:
addButtons
在类中ConfirmScreen
-
copyToClipboard
public void copyToClipboard() -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中ConfirmScreen
-
confirmLinkNow
-
confirmLink
-