createScopedResult
fun createScopedResult(scope: String, name: Text, desc: Text? = null, prefix: Text? = null): Translatable.Result
Creates a Full, caches it, and passes the newly created result through.
Return
The created result after caching
Author
fzzyhmstrs
Since
0.6.8, returns ResultProvider 0.7.0
Parameters
scope
String representation of the object needing translation
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.