Class BooleanOption

    • Field Detail

      • getter

        private final java.util.function.Predicate<GameSettings> getter
      • setter

        private final java.util.function.BiConsumer<GameSettings,​java.lang.Boolean> setter
    • Constructor Detail

      • BooleanOption

        public BooleanOption​(java.lang.String p_i51167_1_,
                             java.util.function.Predicate<GameSettings> p_i51167_2_,
                             java.util.function.BiConsumer<GameSettings,​java.lang.Boolean> p_i51167_3_)
      • BooleanOption

        public BooleanOption​(java.lang.String p_i244779_1_,
                             @Nullable
                             ITextComponent p_i244779_2_,
                             java.util.function.Predicate<GameSettings> p_i244779_3_,
                             java.util.function.BiConsumer<GameSettings,​java.lang.Boolean> p_i244779_4_)