Skip to content

API reference Obsidian.API.Inventory.DataComponents

ProfileDataComponent record

public sealed record ProfileDataComponent : DataComponent, IEquatable<ProfileDataComponent>

In Obsidian.API.

Constructors

public ProfileDataComponent();

Properties

public string BodyTexture { get; init; }public string CapeTexture { get; init; }public string ElytraTexture { get; init; }public Guid? Id { get; init; }public override string Identifier { get; }public bool IsComplete { get; init; }

Model

public int? Model { get; init; }

Optional skin model flag from PlayerModelType.STREAM_CODEC: 1 for slim, 0 for wide.

public ImmutableArray<SkinProperty> Properties { get; init; }public override DataComponentType Type { get; }public string Username { get; init; }

Methods

public bool Equals(ProfileDataComponent other);public override int GetHashCode();public override void Write(INetStreamWriter writer);

On this page