SetGameRuleEntry record
Vanilla's ServerboundSetGameRulePacket.Entry.
public sealed record SetGameRuleEntry : INetworkSerializable<SetGameRuleEntry>, IEquatable<SetGameRuleEntry>
In Obsidian.API.
Constructors
public SetGameRuleEntry();Properties
public required string GameRuleKey { get; init; }public required string Value { get; init; }Methods
public static SetGameRuleEntry Read(INetStreamReader reader);public static void Write(SetGameRuleEntry value, INetStreamWriter writer);