Skip to content

Class ShowItem

Namespace: Void.Minecraft.Components.Text.Events.Actions.Hover
Assembly: Void.Minecraft.dll

public record ShowItem : IHoverEventAction, IEquatable<ShowItem>

Inheritance

objectShowItem

Implements

IHoverEventAction, IEquatable<ShowItem>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ShowItem(string, int?, NbtCompound?)

public ShowItem(string Id, int? Count = null, NbtCompound? ItemComponents = null)

Parameters

Id string

Count int?

ItemComponents NbtCompound?

Properties

ActionName

public string ActionName { get; }

Property Value

string

Count

public int? Count { get; init; }

Property Value

int?

Id

public string Id { get; init; }

Property Value

string

ItemComponents

public NbtCompound? ItemComponents { get; init; }

Property Value

NbtCompound?