Class CheckboxButton

    • Field Detail

      • selected

        private boolean selected
      • showLabel

        private final boolean showLabel
    • Constructor Detail

      • CheckboxButton

        public CheckboxButton​(int p_i232257_1_,
                              int p_i232257_2_,
                              int p_i232257_3_,
                              int p_i232257_4_,
                              ITextComponent p_i232257_5_,
                              boolean p_i232257_6_)
      • CheckboxButton

        public CheckboxButton​(int p_i232258_1_,
                              int p_i232258_2_,
                              int p_i232258_3_,
                              int p_i232258_4_,
                              ITextComponent p_i232258_5_,
                              boolean p_i232258_6_,
                              boolean p_i232258_7_)
    • Method Detail

      • selected

        public boolean selected()
      • renderButton

        public void renderButton​(MatrixStack p_230431_1_,
                                 int p_230431_2_,
                                 int p_230431_3_,
                                 float p_230431_4_)
        Overrides:
        renderButton in class Widget