Class ProfileContainer<T>

java.lang.Object
com.cryptomorin.xseries.profiles.objects.ProfileContainer<T>
Type Parameters:
T - the bukkit object.
All Implemented Interfaces:
Profileable
Direct Known Subclasses:
ProfileContainer.BlockProfileContainer, ProfileContainer.BlockStateProfileContainer, ProfileContainer.ItemMetaProfileContainer, ProfileContainer.ItemStackProfileContainer

@Internal public abstract class ProfileContainer<T> extends Object implements Profileable
Represenets any object that has a GameProfile which can also be changed.
  • Constructor Details

    • ProfileContainer

      public ProfileContainer()
  • Method Details

    • setProfile

      @NotNull public abstract void setProfile(@Nullable @Nullable com.mojang.authlib.GameProfile profile)
    • getObject

      @NotNull public abstract T getObject()
    • toString

      public final String toString()
      Overrides:
      toString in class Object