Package org.geysermc.geyser.text
Class DummyLegacyHoverEventSerializer
java.lang.Object
org.geysermc.geyser.text.DummyLegacyHoverEventSerializer
- All Implemented Interfaces:
net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
public final class DummyLegacyHoverEventSerializer
extends Object
implements net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.event.HoverEvent.ShowEntitydeserializeShowEntity(@NotNull net.kyori.adventure.text.Component input, net.kyori.adventure.util.Codec.Decoder<net.kyori.adventure.text.Component,String,? extends RuntimeException> componentDecoder)@NotNull net.kyori.adventure.text.event.HoverEvent.ShowItemdeserializeShowItem(@NotNull net.kyori.adventure.text.Component input)@NotNull net.kyori.adventure.text.ComponentserializeShowEntity(@NotNull net.kyori.adventure.text.event.HoverEvent.ShowEntity input, net.kyori.adventure.util.Codec.Encoder<net.kyori.adventure.text.Component,String,? extends RuntimeException> componentEncoder)@NotNull net.kyori.adventure.text.ComponentserializeShowItem(@NotNull net.kyori.adventure.text.event.HoverEvent.ShowItem input)
-
Constructor Details
-
DummyLegacyHoverEventSerializer
public DummyLegacyHoverEventSerializer()
-
-
Method Details
-
deserializeShowItem
public @NotNull net.kyori.adventure.text.event.HoverEvent.ShowItem deserializeShowItem(@NotNull @NotNull net.kyori.adventure.text.Component input)- Specified by:
deserializeShowItemin interfacenet.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
deserializeShowEntity
public @NotNull net.kyori.adventure.text.event.HoverEvent.ShowEntity deserializeShowEntity(@NotNull @NotNull net.kyori.adventure.text.Component input, net.kyori.adventure.util.Codec.Decoder<net.kyori.adventure.text.Component,String,? extends RuntimeException> componentDecoder)- Specified by:
deserializeShowEntityin interfacenet.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
serializeShowItem
@NotNull public @NotNull net.kyori.adventure.text.Component serializeShowItem(@NotNull net.kyori.adventure.text.event.HoverEvent.ShowItem input)- Specified by:
serializeShowItemin interfacenet.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-
serializeShowEntity
@NotNull public @NotNull net.kyori.adventure.text.Component serializeShowEntity(@NotNull net.kyori.adventure.text.event.HoverEvent.ShowEntity input, net.kyori.adventure.util.Codec.Encoder<net.kyori.adventure.text.Component,String,? extends RuntimeException> componentEncoder)- Specified by:
serializeShowEntityin interfacenet.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer
-