enumstableSource
@API(status = STABLE)
public enum SkinModel

The player model a skin is rendered with

Implemented interfaces
Constable, Comparable<SkinModel>, Serializable

Enum constants

CLASSICThe wide/Steve arm model.
SLIMThe slim/Alex arm model.

Methods

public static SkinModel fromString(String model)
Parameters
modelString
Returns
SkinModel
public static SkinModel getDefault(UUID uuid)
Determines the default player model Minecraft assigns to a player that has no skin set, based on their UUID.
This mirrors vanilla's own skin selection (uuid.hashCode() & 1) and is used to pick a model for offline-mode players.
Parameters
uuidUUIDThe player's dashed UUID
Returns
SkinModelThe default SkinModel for the given UUID

Used by

Methods of other types that accept or return SkinModel.