net.minecraft.client.realms.gui.screen

class RealmsMainScreen$VisitUrlNotification

extends RealmsMainScreen$Entry

All mapped superinterfaces:

Widget, Element, Navigable, Narratable

com.mojang.realmsclient.RealmsMainScreen$NotificationMessageEntry
com.mojang.realmsclient.RealmsMainScreen$NotificationMessageEntry
net.minecraft.class_4325$class_8202
net.minecraft.client.realms.gui.screen.RealmsMainScreen$VisitUrlNotification

Field summary

Modifier and TypeField
private static final int
SIDE_MARGINS
SIDE_MARGINS
field_43002
field_43002
public static final int
PADDING
PADDING
field_62554
field_62554
public static final int
HEIGHT_WITHOUT_TEXT
HEIGHT_WITHOUT_TEXT
field_62082
field_62082
private final Text
text
text
field_43005
message
private final List<ClickableWidget>
children
children
field_43006
gridChildren
private final RealmsMainScreen$CrossButton
dismissButton
dismissButton
field_43007
dismissButton
private final MultilineTextWidget
textWidget
textWidget
field_43008
textWidget
private final GridWidget
gridLayout
gridLayout
field_43009
grid
private final SimplePositioningWidget
textFrame
textFrame
field_43010
textGrid
private final ButtonWidget
button
button
field_62083
urlButton
private int
lastEntryWidth
lastEntryWidth
field_43011
width

Constructor summary

ModifierConstructor
public (RealmsMainScreen this$0, RealmsMainScreen parent, int lines, Text message, RealmsNotification$VisitUrl url)

Method summary

Modifier and TypeMethod
public boolean
keyPressed(KeyEvent event)
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
private void
updateEntryWidth()
updateEntryWidth()
method_49564()
setWidth()
private void
refreshLayout(int entryWidth)
refreshLayout(int entryWidth)
method_49567(int arg0)
updateWidth(int width)
public static int
textWidth(int rowWidth)
textWidth(int rowWidth)
method_74178(int arg0)
getTextWidth(int width)
public void
extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a)
extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a)
method_25343(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
render(DrawContext arg0, int arg1, int arg2, boolean arg3, float arg4)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public Text
getText()
getText()
method_74177()
getMessage()
public Text
getNarration()
getNarration()
method_37006()
getNarration()