All Implemented Interfaces:
TParentElement, ITooltipProvider, IEnableStateProvider, IEnableStateProviderSetter, ITextProvider, ITextProviderSetter

public class TCheckboxWidget extends TButtonWidget
  • Field Details

    • SELECTED_HIGHLIGHTED_TEXTURE

      public static final net.minecraft.util.Identifier SELECTED_HIGHLIGHTED_TEXTURE
    • SELECTED_TEXTURE

      public static final net.minecraft.util.Identifier SELECTED_TEXTURE
    • HIGHLIGHTED_TEXTURE

      public static final net.minecraft.util.Identifier HIGHLIGHTED_TEXTURE
    • TEXTURE

      public static final net.minecraft.util.Identifier TEXTURE
    • checked

      protected boolean checked
    • showText

      protected boolean showText
    • textAlignment

      protected HorizontalAlignment textAlignment
    • checkboxAlignment

      protected HorizontalAlignment checkboxAlignment
    • cX

      protected int cX
    • cY

      protected int cY
    • tX

      protected int tX
    • tY

      protected int tY
  • Constructor Details

    • TCheckboxWidget

      public TCheckboxWidget(int x, int y, int width, int height)
    • TCheckboxWidget

      public TCheckboxWidget(int x, int y, int width, int height, net.minecraft.text.Text text)
    • TCheckboxWidget

      public TCheckboxWidget(int x, int y, int width, int height, net.minecraft.text.Text text, boolean checked)
  • Method Details