B C D E F H I J K L M N O S T V 
All Classes All Packages

B

BOTH - net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Include both modern and legacy hover 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

CLICK_EVENT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
CLICK_EVENT_ACTION - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
CLICK_EVENT_VALUE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
COLOR - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
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.
downsampleColors() - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Deprecated.
for removal since 4.15.0, change the JSONOptions.EMIT_RGB flag instead

E

editOptions(Consumer<OptionState.Builder>) - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Edit the active set of serializer options.
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 - 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 - 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_LEGACY_NBT - 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.
emitLegacyHoverEvent() - Method in interface net.kyori.adventure.text.serializer.json.JSONComponentSerializer.Builder
Deprecated.
for removal since 4.15.0, change the JSONOptions.EMIT_HOVER_EVENT_TYPE flag instead
EXTRA - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 

F

FONT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 

H

HOVER_EVENT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
HOVER_EVENT_ACTION - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
HOVER_EVENT_CONTENTS - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
HOVER_EVENT_VALUE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
Deprecated.

I

INSERTION - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
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.
JSONComponentConstants - Class in net.kyori.adventure.text.serializer.json
Constants to aid in the creation and testing of JSON component serializers.
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.HoverEventValueMode - Enum in net.kyori.adventure.text.serializer.json
Configure how to emit hover event values.
JSONOptions.ShowItemHoverDataMode - Enum in net.kyori.adventure.text.serializer.json
Configure how to emit show_item hovers.

K

KEYBIND - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 

L

LEGACY_ONLY - net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Only emit the pre-1.16 hover event value field.
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.

M

MODERN_ONLY - net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Only emit the 1.16+ modern hover events.

N

NBT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
NBT_BLOCK - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
NBT_ENTITY - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
NBT_INTERPRET - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
NBT_STORAGE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
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.

O

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

S

SCORE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SCORE_NAME - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SCORE_OBJECTIVE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SCORE_VALUE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
Deprecated.
SELECTOR - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SEPARATOR - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
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.
SHOW_ENTITY_ID - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SHOW_ENTITY_NAME - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SHOW_ENTITY_TYPE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SHOW_ITEM_COMPONENTS - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SHOW_ITEM_COUNT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
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.
SHOW_ITEM_ID - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
SHOW_ITEM_TAG - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
Deprecated.

T

TEXT - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
TRANSLATE - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
TRANSLATE_FALLBACK - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 
TRANSLATE_WITH - Static variable in class net.kyori.adventure.text.serializer.json.JSONComponentConstants
 

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.
valueOf(String) - Static method in enum net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.kyori.adventure.text.serializer.json.JSONOptions.HoverEventValueMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kyori.adventure.text.serializer.json.JSONOptions.ShowItemHoverDataMode
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F H I J K L M N O S T V 
All Classes All Packages