API reference Obsidian.API.Inventory.DataComponents
ToolDataComponent record
public sealed record ToolDataComponent : DataComponent, IEquatable<ToolDataComponent>
In Obsidian.API.
Properties
public bool CanDestroyBlocksInCreative { get; init; }public required int DamagePerBlock { get; init; }public required float DefaultMiningSpeed { get; init; }public override string Identifier { get; }public required ImmutableArray<ToolRule> Rules { get; init; }public override DataComponentType Type { get; }Methods
public bool Equals(ToolDataComponent other);public override int GetHashCode();public override void Write(INetStreamWriter writer);