net.minecraft.client.gui.screens.worldselection

public class EditGameRulesScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

frv
net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen
net.minecraft.class_5235
net.minecraft.client.gui.screen.world.EditGameRulesScreen
net.minecraft.src.C_3745_

Field summary

Modifier and TypeField
private static final Component
a
TITLE
field_49558
TITLE
f_316287_
private static final int
b
SPACING
field_49559
field_49559
f_315007_
final HeaderAndFooterLayout
c
layout
field_49560
layout
f_316237_
private final Consumer<Optional<GameRules>>
d
exitCallback
field_24293
ruleSaver
f_101044_
private final Set<EditGameRulesScreen$RuleEntry>
r
invalidEntries
field_24295
invalidRuleWidgets
f_101046_
private final GameRules
s
gameRules
field_24298
gameRules
f_101049_
private EditGameRulesScreen$RuleList
u
ruleList
field_49903
ruleListWidget
f_313989_
private Button
v
doneButton
field_24296
doneButton
f_101047_

Constructor summary

ModifierConstructor
public (GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer)

Method summary

Modifier and TypeMethod
protected void
aM_()
init()
method_25426()
init()
m_7856_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
public void
d()
onClose()
method_25419()
close()
m_7379_()
private void
m()
updateDoneButton()
method_27632()
updateDoneButton()
m_101094_()
void
a(frv$f arg0)
markInvalid(EditGameRulesScreen$RuleEntry arg0)
method_27620(class_5235$class_5240 arg0)
markInvalid(EditGameRulesScreen$AbstractRuleWidget ruleWidget)
m_101060_(C_3745_$C_3752_ arg0)
void
b(frv$f arg0)
clearInvalid(EditGameRulesScreen$RuleEntry arg0)
method_27626(class_5235$class_5240 arg0)
markValid(EditGameRulesScreen$AbstractRuleWidget ruleWidget)
m_101074_(C_3745_$C_3752_ arg0)