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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.cryptomorin.xseries.profiles.objects.transformer.ProfileTransformer
ProfileTransformer.IncludeOriginalValue, ProfileTransformer.MakeNotStackable, ProfileTransformer.RemoveMetadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the results of this transformation can be cached or not.com.mojang.authlib.GameProfiletransform(Profileable profileable, com.mojang.authlib.GameProfile profile) Transforms the given profile by the defined operations.
-
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:ProfileTransformerTransforms the given profile by the defined operations. The operations are applied on the same instance of the profile.- Specified by:
transformin interfaceProfileTransformer- Parameters:
profileable- the profileable which the firstprofileoriginated 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:ProfileTransformerWhether the results of this transformation can be cached or not.- Specified by:
canBeCachedin interfaceProfileTransformer
-