Class ProfileContainer.PlayerContainer
java.lang.Object
com.cryptomorin.xseries.profiles.objects.ProfileContainer<org.bukkit.entity.Player>
com.cryptomorin.xseries.profiles.objects.ProfileContainer.PlayerContainer
- All Implemented Interfaces:
DelegateProfileable, Profileable
- Enclosing class:
ProfileContainer<T>
@Internal
public static final class ProfileContainer.PlayerContainer
extends ProfileContainer<org.bukkit.entity.Player>
implements DelegateProfileable
-
Nested Class Summary
Nested classes/interfaces inherited from class ProfileContainer
ProfileContainer.BlockProfileContainer, ProfileContainer.BlockStateProfileContainer, ProfileContainer.ItemMetaProfileContainer, ProfileContainer.ItemStackProfileContainer, ProfileContainer.PlayerContainerNested classes/interfaces inherited from interface Profileable
Profileable.DynamicGameProfileProfileable, Profileable.PlayerProfileable, Profileable.PlayerProfileProfileable, Profileable.RawGameProfileProfileable, Profileable.StringProfileable, Profileable.UsernameProfileable, Profileable.UUIDProfileable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe profileable object which handles all the operations.org.bukkit.entity.PlayervoidsetProfile(@Nullable com.cryptomorin.xseries.profiles.gameprofile.MojangGameProfile profile) Methods inherited from class ProfileContainer
isReady, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DelegateProfileable
getDisposableProfile, getProfile, getProfileValue, isReady, test, transformMethods inherited from interface Profileable
prepare
-
Constructor Details
-
PlayerContainer
public PlayerContainer(org.bukkit.entity.Player player)
-
-
Method Details
-
setProfile
public void setProfile(@Nullable @Nullable com.cryptomorin.xseries.profiles.gameprofile.MojangGameProfile profile) - Specified by:
setProfilein classProfileContainer<org.bukkit.entity.Player>
-
getObject
public org.bukkit.entity.Player getObject()- Specified by:
getObjectin classProfileContainer<org.bukkit.entity.Player>
-
getDelegateProfile
Description copied from interface:DelegateProfileableThe profileable object which handles all the operations. It doesn't necessarily have to be a constant object, it can change dynamically.- Specified by:
getDelegateProfilein interfaceDelegateProfileable
-