Creator
class Creator(val scope: String, val texts: Translatable.Result, val entry: BiFunction<DynamicListWidget, Int, out DynamicListWidget.Entry>)
Wrapper of information needed to create a new GUI entry.
Author
fzzyhmstrs
Since
0.6.0
Parameters
scope
The scope of the entry. Obtained from the CreatorContext during creation
texts
Translatable.Result. Translation result for the entry. Obtained from the CreatorContext during creation
entry
BiFunction<DynamicListWidget, Int, out DynamicListWidget.Entry> the entry builder function. This should create new entries on every call.
Constructors
Link copied to clipboard
constructor(scope: String, texts: Translatable.Result, entry: BiFunction<DynamicListWidget, Int, out DynamicListWidget.Entry>)