Package com.technicjelle.BMUtils
Class BMSkin
java.lang.Object
com.technicjelle.BMUtils.BMSkin
Utility functions for BlueMap skins and playerheads
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPlayerHeadIconAddress
(@NotNull BlueMapAPI blueMapAPI, @NotNull UUID playerUUID, @NotNull BlueMapMap blueMapMap) Gets the URL to a player head icon for a specific map.
If the icon doesn't exist yet, it will be created.
-
Method Details
-
getPlayerHeadIconAddress
public static String getPlayerHeadIconAddress(@NotNull @NotNull BlueMapAPI blueMapAPI, @NotNull @NotNull UUID playerUUID, @NotNull @NotNull BlueMapMap blueMapMap) Gets the URL to a player head icon for a specific map.
If the icon doesn't exist yet, it will be created.- Parameters:
blueMapAPI
- The BlueMapAPI instanceplayerUUID
- The player to get the head ofblueMapMap
- The map to get the head for (each map has its own playerheads folder)- Returns:
- The URL to the player head, relative to BlueMap's web root,
or a Steve head if the head couldn't be found
-