Companion

Properties

Link copied to clipboard
@get:JvmName(name = "getTranslatorForAddon")
val PylonAddon.translator: PylonTranslator

Functions

Link copied to clipboard
@JvmName(name = "translateItem")
fun ItemStack.translate(locale: Locale, arguments: List<PylonArgument> = emptyList())

Modifies the ItemStack to translate its name and lore into the specified locale.

Link copied to clipboard
fun wrapText(text: String, limit: Int): List<String>