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 Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry
getTextAsString
-
Field Details
-
statsTab
-
tooltip
@Nullable protected @Nullable net.minecraft.client.gui.tooltip.Tooltip tooltip
-
-
Constructor Details
-
StatsTabEntry
- Throws:
NullPointerException
-
-
Method Details
-
getStatsTab
-
getText
public final net.minecraft.text.Text getText()- Specified by:
getText
in interfaceio.github.thecsdev.tcdcommons.api.util.interfaces.ITextProvider
-
getOnSelect
- Specified by:
getOnSelect
in interfaceio.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 interfaceio.github.thecsdev.tcdcommons.api.client.gui.widget.TSelectWidget.Entry
-