Class ProfileContainer.ItemMetaProfileContainer

java.lang.Object
com.cryptomorin.xseries.profiles.objects.ProfileContainer<org.bukkit.inventory.meta.ItemMeta>
com.cryptomorin.xseries.profiles.objects.ProfileContainer.ItemMetaProfileContainer
All Implemented Interfaces:
Profileable
Enclosing class:
ProfileContainer<T>

public static final class ProfileContainer.ItemMetaProfileContainer extends ProfileContainer<org.bukkit.inventory.meta.ItemMeta>
  • Constructor Details

    • ItemMetaProfileContainer

      public ItemMetaProfileContainer(org.bukkit.inventory.meta.SkullMeta meta)
  • Method Details

    • setProfile

      public void setProfile(com.mojang.authlib.GameProfile profile)
      Specified by:
      setProfile in class ProfileContainer<org.bukkit.inventory.meta.ItemMeta>
    • getObject

      public org.bukkit.inventory.meta.ItemMeta getObject()
      Specified by:
      getObject in class ProfileContainer<org.bukkit.inventory.meta.ItemMeta>
    • getProfile

      public com.mojang.authlib.GameProfile getProfile()
      Description copied from interface: Profileable
      This method should not be used directly unless you know what you're doing.

      The texture which might be cached. If any errors occur, the check may be re-evaluated. The cached values might also be re-evaluated due to expiration.

      Returns:
      the original profile (not cloned if possible) for an instance that's always guaranteed to be a copy you can use Profileable.getDisposableProfile() instead. Null if no profile is set (only happens for ProfileContainer).