java.lang.Object
com.github.stefvanschie.inventoryframework.util.SkullUtil

public final class SkullUtil extends Object
A utility class for working with skulls
Since:
0.5.0
  • Method Details

    • getSkull

      @NotNull public static @NotNull ItemStack getSkull(@NotNull @NotNull String id)
      Gets a skull from the specified id. The id is the value from the textures.minecraft.net website after the last '/' character.
      Parameters:
      id - the skull id
      Returns:
      the skull item
      Since:
      0.5.0
    • setSkull

      public static void setSkull(@NotNull @NotNull ItemMeta meta, @NotNull @NotNull String id)
      Sets the skull of an existing ItemMeta from the specified id. The id is the value from the textures.minecraft.net website after the last '/' character.
      Parameters:
      meta - the meta to change
      id - the skull id