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
  • 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:
      setProfile in class ProfileContainer<org.bukkit.entity.Player>
    • getObject

      public org.bukkit.entity.Player getObject()
      Specified by:
      getObject in class ProfileContainer<org.bukkit.entity.Player>
    • getDelegateProfile

      public Profileable getDelegateProfile()
      Description copied from interface: DelegateProfileable
      The profileable object which handles all the operations. It doesn't necessarily have to be a constant object, it can change dynamically.
      Specified by:
      getDelegateProfile in interface DelegateProfileable