Interface IMinecraftPacketTransformationsSystemRegistry
Namespace: Void.Minecraft.Network.Registries.Transformations
Assembly: Void.Minecraft.dll
Provides the system-owned packet transformation registry and its lifecycle metadata.
public interface IMinecraftPacketTransformationsSystemRegistryProperties
All
Gets the underlying upgrade and downgrade transformation registry.
IMinecraftPacketTransformationsRegistry All { get; }Property Value
IMinecraftPacketTransformationsRegistry
IsEmpty
Gets whether the underlying transformation registry is empty.
bool IsEmpty { get; }Property Value
ManagedBy
Gets or sets the plugin responsible for system registry lifecycle.
IPlugin? ManagedBy { get; set; }Property Value
ProtocolVersion
Gets or sets the protocol version for which transformations are configured.
ProtocolVersion? ProtocolVersion { get; set; }Property Value
Methods
Clear()
Removes all system upgrade and downgrade pipelines while preserving metadata.
void Clear()Contains<T>(TransformationType)
Determines whether a transformation exists for a packet type.
bool Contains<T>(TransformationType type) where T : IMinecraftPacketParameters
type TransformationType
The transformation direction to query.
Returns
true when a matching transformation exists; otherwise, false.
Type Parameters
T
The packet type to query.
Contains(IMinecraftMessage, TransformationType)
Determines whether the system registry contains a transformation of the specified type for the runtime type of a message.
bool Contains(IMinecraftMessage message, TransformationType type)Parameters
message IMinecraftMessage
The message whose runtime type is used to locate a registered transformation.
type TransformationType
The direction of transformation to locate.
Returns
true if a matching transformation is registered; otherwise, false.
Contains(Type, TransformationType)
Determines whether a transformation exists for a runtime packet type.
bool Contains(Type packetType, TransformationType transformationType)Parameters
packetType Type
The type to query.
transformationType TransformationType
The transformation direction to query.
Returns
true when a matching transformation exists; otherwise, false.
Reset()
Clears all pipelines and sets protocol and manager metadata to null.
void Reset()