Class ResolvableProfile
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile
-
Constructor Summary
ConstructorsConstructorDescriptionResolvableProfile(GameProfile profile) ResolvableProfile(GameProfile profile, @Nullable net.kyori.adventure.key.Key body, @Nullable net.kyori.adventure.key.Key cape, @Nullable net.kyori.adventure.key.Key elytra, GameProfile.TextureModel model, boolean dynamic) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable net.kyori.adventure.key.KeygetBody()@Nullable net.kyori.adventure.key.KeygetCape()@Nullable net.kyori.adventure.key.KeygetModel()inthashCode()boolean@NonNull StringtoString()@NonNull ResolvableProfilewithBody(@Nullable net.kyori.adventure.key.Key body) @NonNull ResolvableProfilewithCape(@Nullable net.kyori.adventure.key.Key cape) @NonNull ResolvableProfilewithDynamic(boolean dynamic) @NonNull ResolvableProfilewithElytra(@Nullable net.kyori.adventure.key.Key elytra) @NonNull ResolvableProfile@NonNull ResolvableProfilewithProfile(GameProfile profile)
-
Constructor Details
-
ResolvableProfile
-
ResolvableProfile
public ResolvableProfile(GameProfile profile, @Nullable @Nullable net.kyori.adventure.key.Key body, @Nullable @Nullable net.kyori.adventure.key.Key cape, @Nullable @Nullable net.kyori.adventure.key.Key elytra, @Nullable GameProfile.TextureModel model, boolean dynamic)
-
-
Method Details
-
getProfile
-
getBody
@Nullable public @Nullable net.kyori.adventure.key.Key getBody() -
getCape
@Nullable public @Nullable net.kyori.adventure.key.Key getCape() -
getElytra
@Nullable public @Nullable net.kyori.adventure.key.Key getElytra() -
getModel
-
isDynamic
public boolean isDynamic() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withProfile
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBody
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCape
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withElytra
public @NonNull ResolvableProfile withElytra(@Nullable @Nullable net.kyori.adventure.key.Key elytra) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withModel
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDynamic
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-