IStyle
Link to istyle
Dieses Paket importieren
Link to dieses-paket-importieren
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
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter parent | ZenSetter parent | Type IStyle |
ZenGetter bold | ZenSetter bold | Type bool |
ZenGetter italic | ZenSetter italic | Type bool |
ZenGetter underline | ZenSetter underline | Type bool |
ZenGetter strikethrough | ZenSetter strikethrough | Type bool |
ZenGetter obfuscated | ZenSetter obfuscated | Type bool |
ZenGetter einfügen | ZenSetter einfügen | Type bool |
ZenGetter color | ZenSetter color | Type string |
ZenMethods
Link to zenmethods
- 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.