endstone.lang

Classes

NameDescription
Language

Represents the interface for translating text into different languages.

Translatable

Represents an object with a text representation that can be translated by the Minecraft client.

classLanguage

Language()

Represents the interface for translating text into different languages.

Attributes

NameTypeDescription
localestr

Gets the current locale.

attrlocaleproperty

locale: str

Gets the current locale.

classTranslatable

Translatable(text: str, params: list[str] | None = None)

Represents an object with a text representation that can be translated by the Minecraft client.

Attributes

NameTypeDescription
paramslist[str]

Get the translation parameters.

textstr

Get the text to be translated.

attrparamsproperty

params: list[str]

Get the translation parameters.

attrtextproperty

text: str

Get the text to be translated.

On this page