createResult

fun createResult(name: Text, desc: Text? = null, prefix: Text? = null): Translatable.Result

Creates a Full without caching it.

Return

The created result

Author

fzzyhmstrs

Since

0.6.8, returns ResultProvider 0.7.0

Parameters

name

Text the title of the element, such as "Particle Count"

desc

Text, nullable. the tooltip description. Null means no description is present.

prefix

Text, nullable. the inline prefix text of a config entry. Null means no prefix.