Class LegacyComponentSerializerProviderImpl

java.lang.Object
be.seeseemelk.mockbukkit.adventure.LegacyComponentSerializerProviderImpl
All Implemented Interfaces:
net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.Provider

public class LegacyComponentSerializerProviderImpl extends Object implements net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.Provider
Mock implementation of LegacyComponentSerializer.Provider based on io.papermc.paper.adventure.providers.LegacyComponentSerializerProviderImpl.
  • Constructor Details

    • LegacyComponentSerializerProviderImpl

      public LegacyComponentSerializerProviderImpl()
  • Method Details

    • legacyAmpersand

      @NotNull public @NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer legacyAmpersand()
      Specified by:
      legacyAmpersand in interface net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.Provider
    • legacySection

      @NotNull public @NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer legacySection()
      Specified by:
      legacySection in interface net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.Provider
    • legacy

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