@Environment(value=CLIENT) public class ConfirmChatLinkScreen extends ConfirmScreen
| Modifier and Type | Field and Description |
|---|---|
private Text |
copy |
private boolean |
drawWarning |
private String |
link |
private Text |
warning |
callback, noTranslated, yesTranslatedbuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ConfirmChatLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
String link,
boolean trusted) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyToClipboard() |
protected void |
init()
Called when a screen should be initialized.
|
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
disableButtons, getNarrationMessage, keyPressed, shouldCloseOnEsc, tickaddButton, addChild, children, filesDragged, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate final Text warning
private final Text copy
private final String link
private final boolean drawWarning
public ConfirmChatLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
String link,
boolean trusted)
protected void init()
This method is called when this screen is opened or resized.
init in class ConfirmScreenpublic void copyToClipboard()
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
render in interface Drawablerender in class ConfirmScreen