Class ListButton

    • Field Detail

      • width

        public final int width
      • height

        public final int height
      • xOffset

        public final int xOffset
      • yOffset

        public final int yOffset
    • Constructor Detail

      • ListButton

        public ListButton​(int p_i51779_1_,
                          int p_i51779_2_,
                          int p_i51779_3_,
                          int p_i51779_4_)
    • Method Detail

      • drawForRowAt

        public void drawForRowAt​(MatrixStack p_237726_1_,
                                 int p_237726_2_,
                                 int p_237726_3_,
                                 int p_237726_4_,
                                 int p_237726_5_)
      • draw

        protected abstract void draw​(MatrixStack p_230435_1_,
                                     int p_230435_2_,
                                     int p_230435_3_,
                                     boolean p_230435_4_)
      • getRight

        public int getRight()
      • getBottom

        public int getBottom()
      • onClick

        public abstract void onClick​(int p_225121_1_)
      • drawButtonsInRow

        public static void drawButtonsInRow​(MatrixStack p_237727_0_,
                                            java.util.List<ListButton> p_237727_1_,
                                            RealmsObjectSelectionList<?> p_237727_2_,
                                            int p_237727_3_,
                                            int p_237727_4_,
                                            int p_237727_5_,
                                            int p_237727_6_)