withDescription

open fun withDescription(description: String)(source)

Wraps the given description into an Untranslatable and passes it to the overload which expects a Translatable -- this is then used as custom description instead of the previously defined description.


abstract fun withDescription(description: Translatable)(source)

Uses the given description as custom description instead of the previously defined description.