Class PaperAdventure
java.lang.Object
org.geysermc.geyser.platform.spigot.PaperAdventure
Utility class for converting our shaded Adventure into the Adventure bundled in Paper.
Code mostly taken from here and the MinecraftReflection class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic voidsendMessage(org.bukkit.command.CommandSender sender, net.kyori.adventure.text.Component component) static @Nullable ObjecttoNativeComponent(net.kyori.adventure.text.Component component)
-
Method Details
-
toNativeComponent
-
sendMessage
public static void sendMessage(org.bukkit.command.CommandSender sender, net.kyori.adventure.text.Component component) -
canSendMessageUsingComponent
public static boolean canSendMessageUsingComponent()
-