net.minecraft.client.gui.screens.worldselection

public class EditGameRulesScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fyz
net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen
net.minecraft.class_5235
net.minecraft.client.gui.screen.world.EditGameRulesScreen

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
aT_()
init()
method_25426()
init()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
aP_()
onClose()
method_25419()
close()
private void
l()
updateDoneButton()
method_27632()
updateDoneButton()
void
a(fyz$f arg0)
markInvalid(EditGameRulesScreen$RuleEntry arg0)
method_27620(class_5235$class_5240 arg0)
markInvalid(EditGameRulesScreen$AbstractRuleWidget ruleWidget)
void
b(fyz$f arg0)
clearInvalid(EditGameRulesScreen$RuleEntry arg0)
method_27626(class_5235$class_5240 arg0)
markValid(EditGameRulesScreen$AbstractRuleWidget ruleWidget)