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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.text.event.HoverEvent.ShowEntity
    deserializeShowEntity​(@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.ShowItem
    deserializeShowItem​(@NotNull net.kyori.adventure.text.Component input)
     
    @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)
     
    @NotNull net.kyori.adventure.text.Component
    serializeShowItem​(@NotNull net.kyori.adventure.text.event.HoverEvent.ShowItem input)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      deserializeShowItem in interface net.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:
      deserializeShowEntity in interface net.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:
      serializeShowItem in interface net.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:
      serializeShowEntity in interface net.kyori.adventure.text.serializer.gson.LegacyHoverEventSerializer