Class SkullUtil
java.lang.Object
dev.triumphteam.gui.components.util.SkullUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPlayerSkull(@NotNull org.bukkit.inventory.ItemStack item) Checks if anItemStackis a player skullstatic org.bukkit.inventory.ItemStackskull()Create a player skull
-
Constructor Details
-
SkullUtil
public SkullUtil()
-
-
Method Details
-
skull
public static org.bukkit.inventory.ItemStack skull()Create a player skull- Returns:
- player skull
-
isPlayerSkull
public static boolean isPlayerSkull(@NotNull @NotNull org.bukkit.inventory.ItemStack item) Checks if anItemStackis a player skull- Parameters:
item- item to check- Returns:
- whether the item is a player skull
-