Class MannequinProfile.CustomProfile
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MannequinProfile.CustomProfile
- Enclosing class:
- MannequinProfile
-
Constructor Summary
ConstructorsConstructorDescriptionCustomProfile(net.kyori.adventure.key.Key texture, @Nullable net.kyori.adventure.key.Key capeTexture, @Nullable net.kyori.adventure.key.Key elytraTexture, GameProfile.TextureModel model) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable net.kyori.adventure.key.Key@Nullable net.kyori.adventure.key.KeygetModel()net.kyori.adventure.key.KeyinthashCode()@NonNull StringtoString()@NonNull MannequinProfile.CustomProfilewithCapeTexture(@Nullable net.kyori.adventure.key.Key capeTexture) @NonNull MannequinProfile.CustomProfilewithElytraTexture(@Nullable net.kyori.adventure.key.Key elytraTexture) @NonNull MannequinProfile.CustomProfile@NonNull MannequinProfile.CustomProfilewithTexture(net.kyori.adventure.key.Key texture)
-
Constructor Details
-
CustomProfile
public CustomProfile(net.kyori.adventure.key.Key texture, @Nullable net.kyori.adventure.key.Key capeTexture, @Nullable net.kyori.adventure.key.Key elytraTexture, GameProfile.TextureModel model)
-
-
Method Details
-
getTexture
public net.kyori.adventure.key.Key getTexture() -
getCapeTexture
public @Nullable net.kyori.adventure.key.Key getCapeTexture() -
getElytraTexture
public @Nullable net.kyori.adventure.key.Key getElytraTexture() -
getModel
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withTexture
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCapeTexture
public @NonNull MannequinProfile.CustomProfile withCapeTexture(@Nullable net.kyori.adventure.key.Key capeTexture) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withElytraTexture
public @NonNull MannequinProfile.CustomProfile withElytraTexture(@Nullable net.kyori.adventure.key.Key elytraTexture) - 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).
-