API reference Obsidian.API.Inventory.DataComponents
AttributeModifiersDataComponent record
Attribute modifiers and the 1.21.11 per-modifier display override.
public sealed record AttributeModifiersDataComponent : SimpleDataComponent<ImmutableArray<AttributeModifier>>, IEquatable<AttributeModifiersDataComponent>
In Obsidian.API.
Constructors
AttributeModifiersDataComponent()
public AttributeModifiersDataComponent();Attribute modifiers and the 1.21.11 per-modifier display override.
Properties
public ImmutableArray<(int, ChatMessage)> Displays { get; init; }Methods
public bool Equals(AttributeModifiersDataComponent other);public override int GetHashCode();public override void Write(INetStreamWriter writer);