Skip to content

Interface IMinecraftPacketIdSystemRegistry

Namespace: Void.Minecraft.Network.Registries.PacketId
Assembly: Void.Minecraft.dll

Defines an interface for managing and accessing Minecraft packet ID registries for different protocol versions and operations.

public interface IMinecraftPacketIdSystemRegistry

Remarks

This interface has split and registries unlike .

Properties

IsEmpty

bool IsEmpty { get; }

Property Value

bool

ManagedBy

IPlugin? ManagedBy { get; set; }

Property Value

IPlugin?

ProtocolVersion

ProtocolVersion? ProtocolVersion { get; set; }

Property Value

ProtocolVersion?

Read

IMinecraftPacketIdRegistry Read { get; set; }

Property Value

IMinecraftPacketIdRegistry

Write

IMinecraftPacketIdRegistry Write { get; set; }

Property Value

IMinecraftPacketIdRegistry

Methods

AddPackets(Operation, IReadOnlyDictionary<MinecraftPacketIdMapping[], Type>)

void AddPackets(Operation operation, IReadOnlyDictionary<MinecraftPacketIdMapping[], Type> mappings)

Parameters

operation Operation

mappings IReadOnlyDictionary<MinecraftPacketIdMapping[], Type>

Contains<T>()

bool Contains<T>() where T : IMinecraftMessage

Returns

bool

Type Parameters

T

Contains(Type)

bool Contains(Type type)

Parameters

type Type

Returns

bool

Contains(IMinecraftMessage)

bool Contains(IMinecraftMessage packet)

Parameters

packet IMinecraftMessage

Returns

bool

ReplacePackets(Operation, IReadOnlyDictionary<MinecraftPacketIdMapping[], Type>)

void ReplacePackets(Operation operation, IReadOnlyDictionary<MinecraftPacketIdMapping[], Type> mappings)

Parameters

operation Operation

mappings IReadOnlyDictionary<MinecraftPacketIdMapping[], Type>

Reset()

void Reset()