Skip to content

Class LiteralContent

Namespace: Void.Minecraft.Components.Text.Properties.Content
Assembly: Void.Minecraft.dll

public record LiteralContent : IContent, IEquatable<LiteralContent>

Inheritance

objectLiteralContent

Implements

IContent, IEquatable<LiteralContent>

Inherited Members

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

Constructors

LiteralContent(NbtTag)

public LiteralContent(NbtTag Value)

Parameters

Value NbtTag

Properties

Type

public string Type { get; }

Property Value

string

Value

public NbtTag Value { get; init; }

Property Value

NbtTag