Class MannequinProfile.CustomProfile

java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MannequinProfile.CustomProfile
Enclosing class:
MannequinProfile

public static class MannequinProfile.CustomProfile extends Object
  • 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

      public GameProfile.TextureModel getModel()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object
    • withTexture

      public @NonNull MannequinProfile.CustomProfile withTexture(net.kyori.adventure.key.Key texture)
      Returns:
      a clone of this object, except with this updated property (returns this if 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 this if 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 this if an identical value is passed).
    • withModel

      public @NonNull MannequinProfile.CustomProfile withModel(GameProfile.TextureModel model)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).