Class ResolvableProfile
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile
-
Constructor Summary
ConstructorsConstructorDescriptionResolvableProfile(GameProfile profile) ResolvableProfile(GameProfile profile, net.kyori.adventure.key.Key body, net.kyori.adventure.key.Key cape, net.kyori.adventure.key.Key elytra, TextureModel model, boolean dynamic) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleannet.kyori.adventure.key.KeygetBody()net.kyori.adventure.key.KeygetCape()net.kyori.adventure.key.KeygetModel()inthashCode()boolean@NonNull StringtoString()@NonNull ResolvableProfilewithBody(net.kyori.adventure.key.Key body) @NonNull ResolvableProfilewithCape(net.kyori.adventure.key.Key cape) @NonNull ResolvableProfilewithDynamic(boolean dynamic) @NonNull ResolvableProfilewithElytra(net.kyori.adventure.key.Key elytra) @NonNull ResolvableProfilewithModel(TextureModel model) @NonNull ResolvableProfilewithProfile(GameProfile profile)
-
Constructor Details
-
ResolvableProfile
-
ResolvableProfile
public ResolvableProfile(GameProfile profile, net.kyori.adventure.key.Key body, net.kyori.adventure.key.Key cape, net.kyori.adventure.key.Key elytra, TextureModel model, boolean dynamic)
-
-
Method Details
-
getProfile
-
getBody
public net.kyori.adventure.key.Key getBody() -
getCape
public net.kyori.adventure.key.Key getCape() -
getElytra
public 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).
-