@API(status = STABLE)
public enum SkinModelThe 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
SkinModel fromString(String)SkinModel getDefault(UUID)Determines the default player model Minecraft assigns to a player that has no
skin set, based on their UUID.fromString(String)
staticSource
public static SkinModel fromString(String model)getDefault(UUID)
staticSource
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 (
This mirrors vanilla's own skin selection (
uuid.hashCode() & 1) and is used to pick a model
for offline-mode players.| Parameters | ||
|---|---|---|
uuid | UUID | The player's dashed UUID |
| Returns | ||
SkinModel | The default SkinModel for the given UUID | |
Used by
Methods of other types that accept or return SkinModel.