Class PaperUtils

java.lang.Object
me.lokka30.levelledmobs.util.PaperUtils

public class PaperUtils extends Object
Provides function for APIs that are used in Paper but not present in Spigot
Since:
3.3.0
  • Constructor Details

    • PaperUtils

      public PaperUtils()
  • Method Details

    • sendHyperlink

      public static void sendHyperlink(@NotNull @NotNull org.bukkit.command.CommandSender sender, String message, String url)
    • updateItemMetaLore

      public static void updateItemMetaLore(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable @Nullable List<String> lore)
    • updateItemDisplayName

      public static void updateItemDisplayName(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable @Nullable String displayName)
    • getPlayerDisplayName

      @NotNull public static @NotNull String getPlayerDisplayName(@Nullable @Nullable org.bukkit.entity.Player player)