Class ProfileTransformer.MakeNotStackable

java.lang.Object
com.cryptomorin.xseries.profiles.objects.transformer.ProfileTransformer.MakeNotStackable
All Implemented Interfaces:
ProfileTransformer
Enclosing interface:
ProfileTransformer

public static final class ProfileTransformer.MakeNotStackable extends Object implements ProfileTransformer
  • Constructor Details

    • MakeNotStackable

      public MakeNotStackable()
  • Method Details

    • transform

      public com.mojang.authlib.GameProfile transform(Profileable profileable, com.mojang.authlib.GameProfile profile)
      Description copied from interface: ProfileTransformer
      Transforms the given profile by the defined operations. The operations are applied on the same instance of the profile.
      Specified by:
      transform in interface ProfileTransformer
      Parameters:
      profileable - the profileable which the first profile originated from.
      profile - the profile to apply the operations on.
      Returns:
      may return the same or a new instance.
    • canBeCached

      public boolean canBeCached()
      Description copied from interface: ProfileTransformer
      Whether the results of this transformation can be cached or not.
      Specified by:
      canBeCached in interface ProfileTransformer