Package io.github.bakedlibs.dough.skins
Class PlayerHead
java.lang.Object
io.github.bakedlibs.dough.skins.PlayerHead
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemStackgetItemStack(PlayerSkin skin) This Method will simply return the Head of the specified Playerstatic ItemStackgetItemStack(OfflinePlayer player) This Method will simply return the Head of the specified Playerstatic voidsetSkin(Block block, PlayerSkin skin, boolean sendBlockUpdate)
-
Method Details
-
getItemStack
This Method will simply return the Head of the specified Player- Parameters:
player- The Owner of your Head- Returns:
- A new Head Item for the specified Player
-
getItemStack
This Method will simply return the Head of the specified Player- Parameters:
skin- The skin of the head you want.- Returns:
- A new Head Item for the specified Player
-
setSkin
@ParametersAreNonnullByDefault public static void setSkin(Block block, PlayerSkin skin, boolean sendBlockUpdate)
-