Class MinestomGsonComponentSerializerProvider

java.lang.Object
net.minestom.server.adventure.provider.MinestomGsonComponentSerializerProvider
All Implemented Interfaces:
net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider

public final class MinestomGsonComponentSerializerProvider extends Object implements net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
  • Constructor Details

    • MinestomGsonComponentSerializerProvider

      public MinestomGsonComponentSerializerProvider()
  • Method Details

    • gson

      @NotNull public @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer gson()
      Specified by:
      gson in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
    • gsonLegacy

      @NotNull public @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer gsonLegacy()
      Specified by:
      gsonLegacy in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider
    • builder

      @NotNull public @NotNull Consumer<net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Builder> builder()
      Specified by:
      builder in interface net.kyori.adventure.text.serializer.gson.GsonComponentSerializer.Provider