Class EditGameRulesScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.EditGameRulesScreen
- All Implemented Interfaces:
- Drawable,- Element,- ParentElement
- Mappings:
- Namespace - Name - official - epm- intermediary - net/minecraft/class_5235- named - net/minecraft/client/gui/screen/world/EditGameRulesScreen
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classclassclassclassclassclassprivate static interfaceNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate final GameRulesprivate final Set<EditGameRulesScreen.AbstractRuleWidget>private @Nullable List<OrderedText>Fields inherited from class net.minecraft.client.gui.screen.Screenclient, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelperGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionEditGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected voidinit()Called when a screen should be initialized.(package private) voidmarkInvalid(EditGameRulesScreen.AbstractRuleWidget ruleWidget) (package private) voidmarkValid(EditGameRulesScreen.AbstractRuleWidget ruleWidget) voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) (package private) voidsetTooltip(@Nullable List<OrderedText> tooltip) private voidMethods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelperdisableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElementchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
- 
Field Details- 
ruleSaver- Mappings:
- Namespace - Name - Mixin selector - official - a- Lepm;a:Ljava/util/function/Consumer;- intermediary - field_24293- Lnet/minecraft/class_5235;field_24293:Ljava/util/function/Consumer;- named - ruleSaver- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;ruleSaver:Ljava/util/function/Consumer;
 
- 
ruleListWidget- Mappings:
- Namespace - Name - Mixin selector - official - b- Lepm;b:Lepm$g;- intermediary - field_24294- Lnet/minecraft/class_5235;field_24294:Lnet/minecraft/class_5235$class_5241;- named - ruleListWidget- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;ruleListWidget:Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$RuleListWidget;
 
- 
invalidRuleWidgets- Mappings:
- Namespace - Name - Mixin selector - official - c- Lepm;c:Ljava/util/Set;- intermediary - field_24295- Lnet/minecraft/class_5235;field_24295:Ljava/util/Set;- named - invalidRuleWidgets- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;invalidRuleWidgets:Ljava/util/Set;
 
- 
doneButton- Mappings:
- Namespace - Name - Mixin selector - official - n- Lepm;n:Lehp;- intermediary - field_24296- Lnet/minecraft/class_5235;field_24296:Lnet/minecraft/class_4185;- named - doneButton- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
tooltip- Mappings:
- Namespace - Name - Mixin selector - official - o- Lepm;o:Ljava/util/List;- intermediary - field_24297- Lnet/minecraft/class_5235;field_24297:Ljava/util/List;- named - tooltip- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;tooltip:Ljava/util/List;
 
- 
gameRules- Mappings:
- Namespace - Name - Mixin selector - official - p- Lepm;p:Lcgt;- intermediary - field_24298- Lnet/minecraft/class_5235;field_24298:Lnet/minecraft/class_1928;- named - gameRules- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;gameRules:Lnet/minecraft/world/GameRules;
 
 
- 
- 
Constructor Details- 
EditGameRulesScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lepm;<init>(Lcgt;Ljava/util/function/Consumer;)V- intermediary - <init>- Lnet/minecraft/class_5235;<init>(Lnet/minecraft/class_1928;Ljava/util/function/Consumer;)V- named - <init>- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;<init>(Lnet/minecraft/world/GameRules;Ljava/util/function/Consumer;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. 
- 
removedpublic void removed()
- 
closepublic void close()
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leio;a(Leaq;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
 
- 
setTooltip- Mappings:
- Namespace - Name - Mixin selector - official - b- Lepm;b(Ljava/util/List;)V- intermediary - method_27624- Lnet/minecraft/class_5235;method_27624(Ljava/util/List;)V- named - setTooltip- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;setTooltip(Ljava/util/List;)V
 
- 
updateDoneButtonprivate void updateDoneButton()- Mappings:
- Namespace - Name - Mixin selector - official - g- Lepm;g()V- intermediary - method_27632- Lnet/minecraft/class_5235;method_27632()V- named - updateDoneButton- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;updateDoneButton()V
 
- 
markInvalid- Mappings:
- Namespace - Name - Mixin selector - official - a- Lepm;a(Lepm$f;)V- intermediary - method_27620- Lnet/minecraft/class_5235;method_27620(Lnet/minecraft/class_5235$class_5240;)V- named - markInvalid- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;markInvalid(Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$AbstractRuleWidget;)V
 
- 
markValid- Mappings:
- Namespace - Name - Mixin selector - official - b- Lepm;b(Lepm$f;)V- intermediary - method_27626- Lnet/minecraft/class_5235;method_27626(Lnet/minecraft/class_5235$class_5240;)V- named - markValid- Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;markValid(Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$AbstractRuleWidget;)V
 
 
-