Class TagEventArgs
Namespace: Void.Minecraft.Nbt
Assembly: Void.Minecraft.dll
Arguments supplied with tag-related events.
public class TagEventArgs : EventArgsInheritance
object ← EventArgs ← TagEventArgs
Inherited Members
EventArgs.Empty, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
TagEventArgs(TagType, Tag)
Creates a new instance of the
public TagEventArgs(TagType type, Tag tag)Parameters
type TagType
A constant describing the basic NBT type of the tag.
tag Tag
The parsed
Exceptions
Thrown when tag is null.
Properties
Tag
Gets the parsed
public Tag Tag { get; }Property Value
Type
Gets a constant describing the basic NBT type of the tag.
public TagType Type { get; }