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