Widget Entry
constructor(parentElement: DynamicListWidget, scope: String, texts: Translatable.Result, height: Int, widget: T)
Parameters
T
the widget type; must be all of Selectable, Element, Drawable, and Widget
parent Element
DynamicListWidget parent instance. This will almost always be automatically provided via the BiFunction builder system the list widget uses.
scope
String scope representation of this entry in the list. Might be as simple as "0", "1" etc. string version of the entry index.
texts
Translatable.Result translation result to pass into the base entry. This is used for searching and so on. An empty result can be provided if these features aren't used.
height
Integer height of the entry.
widget
T the widget to wrap.