CommonComponents

Link to commoncomponents

Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.text.CommonComponents;

Static Properties

Link to static-properties

NameTypeHas GetterHas Setter
Name
CONNECT_FAILED
Type
Component
Has Getter
true
Has Setter
false
Name
ELLIPSIS
Type
Component
Has Getter
true
Has Setter
false
Name
EMPTY
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_ACKNOWLEDGE
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_BACK
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_CANCEL
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_CONTINUE
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_COPY_LINK_TO_CLIPBOARD
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_DISCONNECT
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_DONE
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_NO
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_OK
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_OPEN_IN_BROWSER
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_PROCEED
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_TO_TITLE
Type
Component
Has Getter
true
Has Setter
false
Name
GUI_YES
Type
Component
Has Getter
true
Has Setter
false
Name
NARRATION_SEPARATOR
Type
Component
Has Getter
true
Has Setter
false
Name
NEW_LINE
Type
Component
Has Getter
true
Has Setter
false
Name
OPTION_OFF
Type
Component
Has Getter
true
Has Setter
false
Name
OPTION_ON
Type
Component
Has Getter
true
Has Setter
false
Name
SPACE
Type
Component
Has Getter
true
Has Setter
false