Class PaperAdventure

java.lang.Object
org.geysermc.geyser.platform.spigot.PaperAdventure

public final class PaperAdventure extends Object
Utility class for converting our shaded Adventure into the Adventure bundled in Paper.

Code mostly taken from here and the MinecraftReflection class.

  • Method Details

    • toNativeComponent

      public static @Nullable Object toNativeComponent(net.kyori.adventure.text.Component component)
    • sendMessage

      public static void sendMessage(org.bukkit.command.CommandSender sender, net.kyori.adventure.text.Component component)
    • canSendMessageUsingComponent

      public static boolean canSendMessageUsingComponent()