Class SelectStatsTabWidget.StatsTabEntry

java.lang.Object
io.github.thecsdev.betterstats.api.client.gui.widget.SelectStatsTabWidget.StatsTabEntry
All Implemented Interfaces:
io.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry, io.github.thecsdev.tcdcommons.api.util.interfaces.ITextProvider
Enclosing class:
SelectStatsTabWidget

public static final class SelectStatsTabWidget.StatsTabEntry extends Object implements io.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry
  • Field Details

    • statsTab

      protected final StatsTab statsTab
    • tooltip

      @Nullable protected @Nullable net.minecraft.client.gui.tooltip.Tooltip tooltip
  • Constructor Details

  • Method Details

    • getStatsTab

      public final StatsTab getStatsTab()
    • getText

      public final net.minecraft.text.Text getText()
      Specified by:
      getText in interface io.github.thecsdev.tcdcommons.api.util.interfaces.ITextProvider
    • getOnSelect

      @Nullable public final @Nullable Runnable getOnSelect()
      Specified by:
      getOnSelect in interface io.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry
    • getTooltip

      @Nullable public final @Nullable net.minecraft.client.gui.tooltip.Tooltip getTooltip()
      Specified by:
      getTooltip in interface io.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry