Class Skulls
java.lang.Object
me.agent.vgui.api.item.Skulls
Shortcuts for building player heads.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemBuilderAnItemBuilderpre-configured as a textured player head.static com.github.retrooper.packetevents.protocol.item.ItemStackA player head showing the skin of the given (premium) player name.static com.github.retrooper.packetevents.protocol.item.ItemStacktexturedHead(String base64Texture) A player head with the given base64 texture value.static StringtextureFromUrl(String skinUrl) Builds the base64 texture value for a bare skin URL, e.g.
-
Method Details
-
texturedHead
public static com.github.retrooper.packetevents.protocol.item.ItemStack texturedHead(String base64Texture) A player head with the given base64 texture value. -
builder
AnItemBuilderpre-configured as a textured player head. -
ownedHead
public static com.github.retrooper.packetevents.protocol.item.ItemStack ownedHead(String playerName) A player head showing the skin of the given (premium) player name. -
textureFromUrl
-