Package kr.toxicity.model.api.profile
Interface ModelProfile
- All Known Implementing Classes:
ModelProfile.Simple
public interface ModelProfile
Model skin
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordSimple profilestatic interfaceUncompleted profile -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull ModelProfile.UncompletedMakes this profile as uncompleted@NotNull ModelProfileInfoinfo()Gets infostatic @NotNull ModelProfile.UncompletedGets uncompleted profile by offline player's uuidstatic @NotNull ModelProfile.Uncompletedof(@NotNull PlatformOfflinePlayer offlinePlayer) Gets uncompleted profile by offline playerstatic @NotNull ModelProfileof(@NotNull PlatformPlayer player) Gets skin by playerstatic @NotNull ModelProfileof(@NotNull ModelProfileInfo info) Creates profilestatic @NotNull ModelProfileof(@NotNull ModelProfileInfo info, @NotNull ModelProfileSkin skin) Creates profiledefault @Nullable PlatformPlayerplayer()Gets player@NotNull ModelProfileSkinskin()Gets skin
-
Field Details
-
UNKNOWN
Unknown skin
-
-
Method Details
-
of
Creates profile- Parameters:
info- info- Returns:
- profile
-
of
@NotNull static @NotNull ModelProfile of(@NotNull @NotNull ModelProfileInfo info, @NotNull @NotNull ModelProfileSkin skin) Creates profile- Parameters:
info- infoskin- skin- Returns:
- profile
-
of
Gets skin by player- Parameters:
player- player- Returns:
- model profile
-
of
@NotNull static @NotNull ModelProfile.Uncompleted of(@NotNull @NotNull PlatformOfflinePlayer offlinePlayer) Gets uncompleted profile by offline player- Parameters:
offlinePlayer- offline player- Returns:
- uncompleted profile
-
of
Gets uncompleted profile by offline player's uuid- Parameters:
uuid- offline player's uuid- Returns:
- uncompleted profile
-
info
Gets info- Returns:
- info
-
skin
Gets skin- Returns:
- skin
-
asUncompleted
Makes this profile as uncompleted- Returns:
- uncompleted profile
-
player
Gets player- Returns:
- player
-