Style
Importing the class
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 at the very top of the file.
Static Methods
Return Type: Style
Methods
Return Type: Style
Parameter | Type |
---|---|
Parameter format | Type ChatFormatting |
Return Type: Style
Parameter | Type |
---|---|
Parameter formattings | Type ChatFormatting[] |
Return Type: Style
Parameter | Type |
---|---|
Parameter format | Type ChatFormatting |
Return Type: TextColor?
Return Type: ResourceLocation
Return Type: string?
Return Type: boolean
Return Type: boolean
Return Type: boolean
Return Type: boolean
Return Type: boolean
Return Type: boolean
Return Type: Style
Return Type: Style
Return Type: Style
Return Type: Style
Return Type: Style
Return Type: Style
Parameter | Type |
---|---|
Parameter value | Type bool? |
Return Type: Style
Parameter | Type |
---|---|
Parameter color | Type int |
Return Type: Style
Parameter | Type |
---|---|
Parameter formatting | Type ChatFormatting? |
Return Type: Style
Parameter | Type |
---|---|
Parameter fontId | Type ResourceLocation? |
Return Type: Style
Parameter | Type |
---|---|
Parameter content | Type string? |
Return Type: Style
Parameter | Type |
---|---|
Parameter value | Type bool? |
Return Type: Style
Parameter | Type |
---|---|
Parameter value | Type bool? |
Return Type: Style
Parameter | Type |
---|---|
Parameter value | Type bool? |
Return Type: Style
Parameter | Type |
---|---|
Parameter value | Type bool? |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name bold | Type boolean | Has Getter true | Has Setter false |
Name color | Type TextColor? | Has Getter true | Has Setter false |
Name empty | Type boolean | Has Getter true | Has Setter false |
Name font | Type ResourceLocation | Has Getter true | Has Setter false |
Name insertion | Type string? | Has Getter true | Has Setter false |
Name italic | Type boolean | Has Getter true | Has Setter false |
Name obfucated | Type boolean | Has Getter true | Has Setter false |
Name strikethrough | Type boolean | Has Getter true | Has Setter false |
Name underlined | Type boolean | Has Getter true | Has Setter false |