@Environment(value=CLIENT) public class ConfirmChatLinkScreen extends ConfirmScreen
| Modifier and Type | Field and Description |
|---|---|
private String |
copy |
private boolean |
drawWarning |
private String |
link |
private String |
warning |
callback, noTranslated, yesTranslatedbuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_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() |
void |
render(int mouseX,
int mouseY,
float delta) |
disableButtons, getNarrationMessage, keyPressed, shouldCloseOnEsc, tickaddButton, addChild, children, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate final String warning
private final String 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()
init in class ConfirmScreenpublic void copyToClipboard()
public void render(int mouseX,
int mouseY,
float delta)
render in interface Drawablerender in class ConfirmScreen