Index
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
.
C
- colorDownsamplingGson() - Static method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Gets a component serializer for gson serialization and deserialization.
D
- deserializeFromTree(JsonElement) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Deserialize a component from input of type
JsonElement
. - deserializeShowEntity(Component, Codec.Decoder<Component, String, ? extends RuntimeException>) - Method in interface net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
Convert a legacy hover event
show_entity
value to its modern format. - deserializeShowItem(Component) - Method in interface net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
Convert a legacy hover event
show_item
value to its modern format. - downsampleColors() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Sets that the serializer should downsample hex colors to named colors.
E
- emitLegacyHoverEvent() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Output a legacy hover event
value
in addition to the moderncontents
.
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. - gsonLegacy() - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
-
Provides a legacy
GsonComponentSerializer
.
L
- legacyHoverEventSerializer(LegacyHoverEventSerializer) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder
-
Sets a serializer that will be used to interpret legacy hover event
value
payloads. - LegacyHoverEventSerializer - Interface in net.kyori.adventure.text.serializer.gson
-
Adapter to convert between modern and legacy hover event formats.
N
- net.kyori.adventure.text.serializer.gson - package net.kyori.adventure.text.serializer.gson
-
Gson based serialization and deserialization.
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.
- serializeShowEntity(HoverEvent.ShowEntity, Codec.Encoder<Component, String, ? extends RuntimeException>) - Method in interface net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
Convert a modern hover event
show_entity
value to its legacy format. - serializeShowItem(HoverEvent.ShowItem) - Method in interface net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
Convert a modern hover event
show_item
value to its legacy format. - serializeToTree(Component) - Method in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
-
Deserialize a component to output of type
JsonElement
.
All Classes|All Packages