Class TDropdownWidget.SimpleEntry
java.lang.Object
com.thecsdev.commonmc.api.client.gui.widget.TDropdownWidget.SimpleEntry
- All Implemented Interfaces:
TDropdownWidget.Entry
- Enclosing class:
TDropdownWidget<E extends TDropdownWidget.Entry>
public static final class TDropdownWidget.SimpleEntry
extends Object
implements TDropdownWidget.Entry
Barebones
TDropdownWidget.Entry implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal @NotNull net.minecraft.network.chat.ComponentThe display name of theTDropdownWidget.Entrythat is to be displayed on a givenTDropdownWidget.final inthashCode()
-
Constructor Details
-
SimpleEntry
public SimpleEntry(@NotNull @NotNull net.minecraft.network.chat.Component displayName) throws NullPointerException - Throws:
NullPointerException
-
-
Method Details
-
getDisplayName
@NotNull public final @NotNull net.minecraft.network.chat.Component getDisplayName()Description copied from interface:TDropdownWidget.EntryThe display name of theTDropdownWidget.Entrythat is to be displayed on a givenTDropdownWidget.- Specified by:
getDisplayNamein interfaceTDropdownWidget.Entry
-
hashCode
-
equals
-