Class JSONComponentConstants
- java.lang.Object
-
- net.kyori.adventure.text.serializer.json.JSONComponentConstants
-
@Internal public final class JSONComponentConstants extends java.lang.Object
Constants to aid in the creation and testing of JSON component serializers.- Since:
- 4.14.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLICK_EVENT
static java.lang.String
CLICK_EVENT_ACTION
static java.lang.String
CLICK_EVENT_VALUE
static java.lang.String
COLOR
static java.lang.String
EXTRA
static java.lang.String
FONT
static java.lang.String
HOVER_EVENT
static java.lang.String
HOVER_EVENT_ACTION
static java.lang.String
HOVER_EVENT_CONTENTS
static java.lang.String
HOVER_EVENT_VALUE
Deprecated.static java.lang.String
INSERTION
static java.lang.String
KEYBIND
static java.lang.String
NBT
static java.lang.String
NBT_BLOCK
static java.lang.String
NBT_ENTITY
static java.lang.String
NBT_INTERPRET
static java.lang.String
NBT_STORAGE
static java.lang.String
SCORE
static java.lang.String
SCORE_NAME
static java.lang.String
SCORE_OBJECTIVE
static java.lang.String
SCORE_VALUE
Deprecated.static java.lang.String
SELECTOR
static java.lang.String
SEPARATOR
static java.lang.String
SHOW_ENTITY_ID
static java.lang.String
SHOW_ENTITY_NAME
static java.lang.String
SHOW_ENTITY_TYPE
static java.lang.String
SHOW_ITEM_COMPONENTS
static java.lang.String
SHOW_ITEM_COUNT
static java.lang.String
SHOW_ITEM_ID
static java.lang.String
SHOW_ITEM_TAG
Deprecated.static java.lang.String
TEXT
static java.lang.String
TRANSLATE
static java.lang.String
TRANSLATE_FALLBACK
static java.lang.String
TRANSLATE_WITH
-
-
-
Field Detail
-
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
-
TRANSLATE
public static final java.lang.String TRANSLATE
- See Also:
- Constant Field Values
-
TRANSLATE_FALLBACK
public static final java.lang.String TRANSLATE_FALLBACK
- See Also:
- Constant Field Values
-
TRANSLATE_WITH
public static final java.lang.String TRANSLATE_WITH
- See Also:
- Constant Field Values
-
SCORE
public static final java.lang.String SCORE
- See Also:
- Constant Field Values
-
SCORE_NAME
public static final java.lang.String SCORE_NAME
- See Also:
- Constant Field Values
-
SCORE_OBJECTIVE
public static final java.lang.String SCORE_OBJECTIVE
- See Also:
- Constant Field Values
-
SCORE_VALUE
@Deprecated public static final java.lang.String SCORE_VALUE
Deprecated.- See Also:
- Constant Field Values
-
SELECTOR
public static final java.lang.String SELECTOR
- See Also:
- Constant Field Values
-
KEYBIND
public static final java.lang.String KEYBIND
- See Also:
- Constant Field Values
-
EXTRA
public static final java.lang.String EXTRA
- See Also:
- Constant Field Values
-
NBT
public static final java.lang.String NBT
- See Also:
- Constant Field Values
-
NBT_INTERPRET
public static final java.lang.String NBT_INTERPRET
- See Also:
- Constant Field Values
-
NBT_BLOCK
public static final java.lang.String NBT_BLOCK
- See Also:
- Constant Field Values
-
NBT_ENTITY
public static final java.lang.String NBT_ENTITY
- See Also:
- Constant Field Values
-
NBT_STORAGE
public static final java.lang.String NBT_STORAGE
- See Also:
- Constant Field Values
-
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
FONT
public static final java.lang.String FONT
- See Also:
- Constant Field Values
-
COLOR
public static final java.lang.String COLOR
- See Also:
- Constant Field Values
-
INSERTION
public static final java.lang.String INSERTION
- See Also:
- Constant Field Values
-
CLICK_EVENT
public static final java.lang.String CLICK_EVENT
- See Also:
- Constant Field Values
-
CLICK_EVENT_ACTION
public static final java.lang.String CLICK_EVENT_ACTION
- See Also:
- Constant Field Values
-
CLICK_EVENT_VALUE
public static final java.lang.String CLICK_EVENT_VALUE
- See Also:
- Constant Field Values
-
HOVER_EVENT
public static final java.lang.String HOVER_EVENT
- See Also:
- Constant Field Values
-
HOVER_EVENT_ACTION
public static final java.lang.String HOVER_EVENT_ACTION
- See Also:
- Constant Field Values
-
HOVER_EVENT_CONTENTS
public static final java.lang.String HOVER_EVENT_CONTENTS
- See Also:
- Constant Field Values
-
HOVER_EVENT_VALUE
@Deprecated public static final java.lang.String HOVER_EVENT_VALUE
Deprecated.- See Also:
- Constant Field Values
-
SHOW_ENTITY_TYPE
public static final java.lang.String SHOW_ENTITY_TYPE
- See Also:
- Constant Field Values
-
SHOW_ENTITY_ID
public static final java.lang.String SHOW_ENTITY_ID
- See Also:
- Constant Field Values
-
SHOW_ENTITY_NAME
public static final java.lang.String SHOW_ENTITY_NAME
- See Also:
- Constant Field Values
-
SHOW_ITEM_ID
public static final java.lang.String SHOW_ITEM_ID
- See Also:
- Constant Field Values
-
SHOW_ITEM_COUNT
public static final java.lang.String SHOW_ITEM_COUNT
- See Also:
- Constant Field Values
-
SHOW_ITEM_TAG
@Deprecated public static final java.lang.String SHOW_ITEM_TAG
Deprecated.- See Also:
- Constant Field Values
-
SHOW_ITEM_COMPONENTS
public static final java.lang.String SHOW_ITEM_COMPONENTS
- See Also:
- Constant Field Values
-
-