Interface TDropdownWidget.Entry
- All Known Subinterfaces:
TFileChooserScreen.PathFilter
- All Known Implementing Classes:
TDropdownWidget.SimpleEntry
- Enclosing class:
TDropdownWidget<E extends TDropdownWidget.Entry>
public static interface TDropdownWidget.Entry
An entry in a given
TDropdownWidget. Contains information on the
entry's display name and what should happen when clicked.-
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraft.network.chat.ComponentThe display name of theTDropdownWidget.Entrythat is to be displayed on a givenTDropdownWidget.
-
Method Details
-
getDisplayName
@NotNull @NotNull net.minecraft.network.chat.Component getDisplayName()The display name of theTDropdownWidget.Entrythat is to be displayed on a givenTDropdownWidget.
-