类 EditGameRulesScreen

    • 字段详细资料

      • ruleSaver

        private final Consumer<Optional<GameRules>> ruleSaver
        Mappings:
        Namespace Name Mixin selector
        official a Lecu;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

        private EditGameRulesScreen.RuleListWidget ruleListWidget
        Mappings:
        Namespace Name Mixin selector
        official b Lecu;b:Lecu$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

        private final Set<EditGameRulesScreen.AbstractRuleWidget> invalidRuleWidgets
        Mappings:
        Namespace Name Mixin selector
        official c Lecu;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

        private ButtonWidget doneButton
        Mappings:
        Namespace Name Mixin selector
        official p Lecu;p:Ldvw;
        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

        @Nullable
        private @Nullable List<OrderedText> tooltip
        Mappings:
        Namespace Name Mixin selector
        official q Lecu;q: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

        private final GameRules gameRules
        Mappings:
        Namespace Name Mixin selector
        official r Lecu;r:Lbvn;
        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;
    • 构造器详细资料

      • EditGameRulesScreen

        public EditGameRulesScreen​(GameRules gameRules,
                                   Consumer<Optional<GameRules>> ruleSaveConsumer)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lecu;<init>(Lbvn;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
    • 方法详细资料

      • init

        protected void init()
        Called when a screen should be initialized.

        This method is called when this screen is opened or resized.

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • removed

        public void removed()
        覆盖:
        removed 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official e Ldzg;e()V
        intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
        named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      • onClose

        public void onClose()
        覆盖:
        onClose 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official aA_ Ldzg;aA_()V
        intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
        named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;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
      • setTooltipDescription

        private void setTooltipDescription​(@Nullable
                                           @Nullable List<OrderedText> description)
        Mappings:
        Namespace Name Mixin selector
        official b Lecu;b(Ljava/util/List;)V
        intermediary method_27624 Lnet/minecraft/class_5235;method_27624(Ljava/util/List;)V
        named setTooltipDescription Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;setTooltipDescription(Ljava/util/List;)V
      • updateDoneButton

        private void updateDoneButton()
        Mappings:
        Namespace Name Mixin selector
        official h Lecu;h()V
        intermediary method_27632 Lnet/minecraft/class_5235;method_27632()V
        named updateDoneButton Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen;updateDoneButton()V
      • markInvalid

        private void markInvalid​(EditGameRulesScreen.AbstractRuleWidget ruleWidget)
        Mappings:
        Namespace Name Mixin selector
        official a Lecu;a(Lecu$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

        private void markValid​(EditGameRulesScreen.AbstractRuleWidget ruleWidget)
        Mappings:
        Namespace Name Mixin selector
        official b Lecu;b(Lecu$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