Class ProfileTransformer.RemoveMetadata

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

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

    • RemoveMetadata

      public RemoveMetadata()
  • Method Details

    • transform

      public com.mojang.authlib.GameProfile transform(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:
      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