B C D E G I J L N O P S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- build() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Builds the serializer.
- builder() - Static method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Creates a new
GsonComponentSerializer.Builder
. - builder() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
-
Completes the building process of
GsonComponentSerializer.Builder
. - builder() - Method in class net.kyori.adventure.text.serializer.gson.impl.JSONComponentSerializerProviderImpl
C
- colorDownsamplingGson() - Static method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Gets a component serializer for gson serialization and deserialization.
- conversions() - Method in class net.kyori.adventure.text.serializer.gson.impl.GsonDataComponentValueConverterProvider
D
- deserializeFromTree(JsonElement) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Deserialize a component from input of type
JsonElement
. - downsampleColors() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Sets that the serializer should downsample hex colors to named colors.
E
- editOptions(Consumer<OptionState.Builder>) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
- element() - Method in interface net.kyori.adventure.text.serializer.gson.GsonDataComponentValue
-
The contained element, intended for read-only use.
- emitLegacyHoverEvent() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Deprecated.
G
- gson() - Static method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Gets a component serializer for gson serialization and deserialization.
- gson() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
-
Provides a standard
GsonComponentSerializer
. - GsonComponentSerializer - Interface in net.kyori.adventure.text.serializer.gson
-
A gson component serializer.
- GsonComponentSerializer.Builder - Interface in net.kyori.adventure.text.serializer.gson
-
A builder for
GsonComponentSerializer
. - GsonComponentSerializer.Provider - Interface in net.kyori.adventure.text.serializer.gson
-
A
GsonComponentSerializer
service provider. - gsonDataComponentValue(JsonElement) - Static method in interface net.kyori.adventure.text.serializer.gson.GsonDataComponentValue
-
Create a box for item data that can be understood by the gson serializer.
- GsonDataComponentValue - Interface in net.kyori.adventure.text.serializer.gson
-
An
DataComponentValue
implementation that holds a JsonElement. - GsonDataComponentValueConverterProvider - Class in net.kyori.adventure.text.serializer.gson.impl
-
A provider for Gson's implementations of data component value converters.
- GsonDataComponentValueConverterProvider() - Constructor for class net.kyori.adventure.text.serializer.gson.impl.GsonDataComponentValueConverterProvider
- gsonLegacy() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
-
Provides a legacy
GsonComponentSerializer
.
I
- id() - Method in class net.kyori.adventure.text.serializer.gson.impl.GsonDataComponentValueConverterProvider
- instance() - Method in class net.kyori.adventure.text.serializer.gson.impl.JSONComponentSerializerProviderImpl
J
- JSONComponentSerializerProviderImpl - Class in net.kyori.adventure.text.serializer.gson.impl
-
Implementation of the JSON component serializer provider.
- JSONComponentSerializerProviderImpl() - Constructor for class net.kyori.adventure.text.serializer.gson.impl.JSONComponentSerializerProviderImpl
L
- legacyHoverEventSerializer(LegacyHoverEventSerializer) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Deprecated.for removal since 4.14.0, use
GsonComponentSerializer.Builder.legacyHoverEventSerializer(net.kyori.adventure.text.serializer.json.LegacyHoverEventSerializer)
instead - legacyHoverEventSerializer(LegacyHoverEventSerializer) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
- LegacyHoverEventSerializer - Interface in net.kyori.adventure.text.serializer.gson
-
Deprecated.for removal since 4.13.0, implement
LegacyHoverEventSerializer
instead
N
- net.kyori.adventure.text.serializer.gson - package net.kyori.adventure.text.serializer.gson
-
Gson based serialization and deserialization.
- net.kyori.adventure.text.serializer.gson.impl - package net.kyori.adventure.text.serializer.gson.impl
-
Internal classes for the Gson serializer.
O
- options(OptionState) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
P
- populator() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Gets the underlying gson populator.
S
- serializer() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Gets the underlying gson serializer.
- serializeToTree(Component) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Deserialize a component to output of type
JsonElement
.
T
- toString() - Method in class net.kyori.adventure.text.serializer.gson.impl.JSONComponentSerializerProviderImpl
All Classes All Packages