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, @Nullable 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.Key@Nullable TextureModelgetModel()inthashCode()booleantoString()withBody(@Nullable net.kyori.adventure.key.Key body) withCape(@Nullable net.kyori.adventure.key.Key cape) withDynamic(boolean dynamic) withElytra(@Nullable net.kyori.adventure.key.Key elytra) withModel(@Nullable TextureModel model) withProfile(GameProfile profile)
-
Constructor Details
-
ResolvableProfile
-
ResolvableProfile
public ResolvableProfile(GameProfile profile, @Nullable net.kyori.adventure.key.Key body, @Nullable net.kyori.adventure.key.Key cape, @Nullable net.kyori.adventure.key.Key elytra, @Nullable TextureModel model, boolean dynamic)
-
-
Method Details
-
getProfile
-
getBody
public @Nullable net.kyori.adventure.key.Key getBody() -
getCape
public @Nullable net.kyori.adventure.key.Key getCape() -
getElytra
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
- 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).
-