Class ScoreContent
Namespace: Void.Minecraft.Components.Text.Properties.Content
Assembly: Void.Minecraft.dll
Represents text resolved from a scoreboard value.
public record ScoreContent : IContent, IEquatable<ScoreContent>Inheritance
Implements
IContent, IEquatable<ScoreContent>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ScoreContent(string, string)
Represents text resolved from a scoreboard value.
public ScoreContent(string Name, string Objective)Parameters
Name string
The score holder name or selector.
Objective string
The scoreboard objective name.
Properties
Name
The score holder name or selector.
public string Name { get; init; }Property Value
Objective
The scoreboard objective name.
public string Objective { get; init; }Property Value
Type
Gets the score content discriminator.
public string Type { get; }