net.minecraft.client.gui.screen.multiplayer

public class CodeOfConductScreen

extends WarningScreen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.multiplayer.CodeOfConductScreen
net.minecraft.class_11777
net.minecraft.client.gui.screen.multiplayer.CodeOfConductScreen

Field summary

Modifier and TypeField
private static final Text
TITLE
field_62173
TITLE_TEXT
private static final Text
CHECK
field_62174
CHECK_TEXT
private final ServerInfo
serverData
field_62175
serverInfo
private final String
codeOfConductText
field_62176
rawCodeOfConduct
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer
resultConsumer
field_62177
callback
private final Screen
parent
field_62585
field_62585

Constructor summary

ModifierConstructor
private (ServerInfo serverInfo, Screen parent, Text contents, String codeOfConductText, it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer)
public (ServerInfo serverInfo, Screen parent, String codeOfConductText, it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer)

Method summary

Modifier and TypeMethod
protected LayoutWidget
addFooterButtons()
method_57750()
getLayout()
private void
onResult(boolean accepted)
method_73434(boolean arg0)
onAnswer(boolean acknowledged)
public boolean
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
public void
tick()
method_25393()
tick()
private void
lambda$addFooterButtons$1(Button arg0)
method_73432(class_4185 arg0)
method_73432(ButtonWidget button)
private void
lambda$addFooterButtons$0(Button arg0)
method_73433(class_4185 arg0)
method_73433(ButtonWidget button)