Class BMSkin

java.lang.Object
com.technicjelle.BMUtils.BMSkin

public class BMSkin extends Object
Utility functions for BlueMap skins and playerheads
  • 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 instance
      playerUUID - The player to get the head of
      blueMapMap - 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