Class ProfileContainer.BlockProfileContainer

java.lang.Object
com.cryptomorin.xseries.profiles.objects.ProfileContainer<org.bukkit.block.Block>
com.cryptomorin.xseries.profiles.objects.ProfileContainer.BlockProfileContainer
All Implemented Interfaces:
Profileable
Enclosing class:
ProfileContainer<T>

public static final class ProfileContainer.BlockProfileContainer extends ProfileContainer<org.bukkit.block.Block>
  • Constructor Details

    • BlockProfileContainer

      public BlockProfileContainer(org.bukkit.block.Block block)
  • Method Details

    • setProfile

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

      public org.bukkit.block.Block getObject()
      Specified by:
      getObject in class ProfileContainer<org.bukkit.block.Block>
    • 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.