Импорт пакета

Link to импорт-пакета

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.text.IStyle;

ZenGetters and ZenSetters

Link to zengetters-and-zensetters

ZenGetterZenSetterТип
ZenGetter
parent
ZenSetter
parent
Тип
IStyle
ZenGetter
bold
ZenSetter
bold
Тип
bool
ZenGetter
italic
ZenSetter
italic
Тип
bool
ZenGetter
underline
ZenSetter
underline
Тип
bool
ZenGetter
strikethrough
ZenSetter
strikethrough
Тип
bool
ZenGetter
obfuscated
ZenSetter
obfuscated
Тип
bool
ZenGetter
вставка
ZenSetter
вставка
Тип
bool
ZenGetter
color
ZenSetter
color
Тип
string
  • IStyle createShallowCopy();

Creates a shallow copy of this style. Changes to this instance's values will not be reflected in the copy, but changes to the parent style's values WILL be reflected in both this instance and the copy, wherever either does not override a value.

  • IStyle createDeepCopy();

Creates a deep copy of this style. No changes to this instance or its parent style will be reflected in the copy.