Index

A B C D E I J L N O S V 
All Classes and Interfaces|All Packages

A

ALL - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Include all hover event fields, for maximum compatibility.

B

BOTH - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ClickEventValueMode
Include both camel and snake case click event fields, for maximum compatibility.
build() - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Create a finished serializer instance.
builder() - Static method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer
Get a builder to create a customized JSON serializer instance.
builder() - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Provider
Provide a supplier for builder builders of JSONComponentSerializer instances.
byDataVersion() - Static method in class net.kyori.adventure.text.serializer.json.JSONOptions
Get JSON flags delineated by world data version.

C

CAMEL_CASE - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ClickEventValueMode
Only emit the pre-1.21.5 click events using the clickEvent field.
CAMEL_CASE - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Only emit the 1.16+ hover events using the hoverEvent field.
compatibility() - Static method in class net.kyori.adventure.text.serializer.json.JSONOptions
The combination of flags that can be understood by modern clients, as well as as far back as possible.

D

deserializeShowEntity(Component, Codec.Decoder<Component, String, ? extends RuntimeException>) - Method in interface net.kyori.adventure.text.serializer.json.LegacyHoverEventSerializer
Convert a legacy hover event show_entity value to its modern format.
deserializeShowItem(Component) - Method in interface net.kyori.adventure.text.serializer.json.LegacyHoverEventSerializer
Convert a legacy hover event show_item value to its modern format.

E

editOptions(Consumer<OptionState.Builder>) - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Edit the active set of serializer options.
EMIT_ARRAY - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShadowColorEmitMode
Emit a colour as 4-element float array of the RGBA components of the colour.
EMIT_CHANGE_PAGE_CLICK_EVENT_PAGE_AS_STRING - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit the page in a change_page click event as a string.
EMIT_CLICK_EVENT_TYPE - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Control how click event values should be emitted.
EMIT_CLICK_URL_HTTPS - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to prepend https:// to open_url click event URIs without a valid scheme.
EMIT_COMPACT_TEXT_COMPONENT - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit text components with no style and no children as plain text.
EMIT_DATA_COMPONENTS - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Only emit modern data components.
EMIT_DEFAULT_ITEM_HOVER_QUANTITY - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit the default hover event item stack quantity of 1.
EMIT_EITHER - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Emit whichever of legacy or modern data the item has.
EMIT_HOVER_EVENT_TYPE - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Control how hover event values should be emitted.
EMIT_HOVER_SHOW_ENTITY_ID_AS_INT_ARRAY - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit the hover event show entity action's entity UUID as an int array, as understood by 1.20.3+, or as a string as understood by previous versions.
EMIT_HOVER_SHOW_ENTITY_KEY_AS_TYPE_AND_UUID_AS_ID - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit the hover event show entity action's entity type key as a type and UUID as an id, as it was before 1.21.5.
EMIT_INTEGER - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShadowColorEmitMode
Emit as a single packed integer value containing, in order, ARGB bytes.
EMIT_LEGACY_NBT - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Only emit the pre-1.20.5 item nbt.
EMIT_RGB - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to emit RGB text.

I

instance() - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Provider
Provides a standard JSONComponentSerializer.

J

json() - Static method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer
Gets a component serializer for JSON serialization and deserialization.
JSONComponentSerializer - Interface in net.kyori.adventure.text.serializer.json
A JSON component serializer.
JSONComponentSerializer.Builder - Interface in net.kyori.adventure.text.serializer.json
A builder for JSONComponentSerializer instances that delegates to the active serializer.
JSONComponentSerializer.Provider - Interface in net.kyori.adventure.text.serializer.json
A JSONComponentSerializer service provider.
JSONOptions - Class in net.kyori.adventure.text.serializer.json
Options that can apply to JSON serializers.
JSONOptions.ClickEventValueMode - Enum Class in net.kyori.adventure.text.serializer.json
Configure how to emit click event values.
JSONOptions.HoverEventValueMode - Enum Class in net.kyori.adventure.text.serializer.json
Configure how to emit hover event values.
JSONOptions.ShadowColorEmitMode - Enum Class in net.kyori.adventure.text.serializer.json
How text shadow colors should be emitted.
JSONOptions.ShowItemHoverDataMode - Enum Class in net.kyori.adventure.text.serializer.json
Configure how to emit show_item hovers.

L

legacyHoverEventSerializer(LegacyHoverEventSerializer) - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Sets a serializer that will be used to interpret legacy hover event value payloads.
LegacyHoverEventSerializer - Interface in net.kyori.adventure.text.serializer.json
Adapter to convert between modern and legacy hover event formats.

N

net.kyori.adventure.text.serializer.json - module net.kyori.adventure.text.serializer.json
A common abstraction providing an API to serializer components with multiple JSON libraries.
net.kyori.adventure.text.serializer.json - package net.kyori.adventure.text.serializer.json
A common abstraction providing an API to serializer components with multiple JSON libraries.
NONE - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShadowColorEmitMode
Do not emit shadow colours.

O

options(OptionState) - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Set the option state to apply on this serializer.

S

schema() - Static method in class net.kyori.adventure.text.serializer.json.JSONOptions
A schema of available options.
serializeShowEntity(HoverEvent.ShowEntity, Codec.Encoder<Component, String, ? extends RuntimeException>) - Method in interface net.kyori.adventure.text.serializer.json.LegacyHoverEventSerializer
Convert a modern hover event show_entity value to its legacy format.
serializeShowItem(HoverEvent.ShowItem) - Method in interface net.kyori.adventure.text.serializer.json.LegacyHoverEventSerializer
Convert a modern hover event show_item value to its legacy format.
SHADOW_COLOR_MODE - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
How to emit shadow colour data.
SHOW_ITEM_HOVER_DATA_MODE - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
How to emit the item data on show_item hover events.
SNAKE_CASE - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ClickEventValueMode
Only emit the 1.21.5+ click events using the click_event field.
SNAKE_CASE - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Only emit the 1.21.5+ hover events using the hover_event field.

V

VALIDATE_STRICT_EVENTS - Static variable in class net.kyori.adventure.text.serializer.json.JSONOptions
Whether to be strict about accepting invalid hover/click events.
VALUE_FIELD - Enum constant in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Only emit the pre-1.16 hover event value field.
valueOf(String) - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ClickEventValueMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShadowColorEmitMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ClickEventValueMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShadowColorEmitMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E I J L N O S V 
All Classes and Interfaces|All Packages