Package me.lokka30.levelledmobs.util
Class PaperUtils
java.lang.Object
me.lokka30.levelledmobs.util.PaperUtils
Provides function for APIs that are used in Paper but not present in Spigot
- Since:
- 3.3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull String
getPlayerDisplayName
(@Nullable org.bukkit.entity.Player player) static void
sendHyperlink
(@NotNull org.bukkit.command.CommandSender sender, String message, String url) static void
updateItemDisplayName
(@NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable String displayName) static void
updateItemMetaLore
(@NotNull org.bukkit.inventory.meta.ItemMeta meta, @Nullable List<String> lore)
-
Constructor Details
-
PaperUtils
public PaperUtils()
-
-
Method Details
-
sendHyperlink
-
updateItemMetaLore
-
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)
-