Skip to content

Class MinecraftPacketTransformationsExtensions

Namespace: Void.Minecraft.Network.Registries.Transformations.Extensions
Assembly: Void.Minecraft.dll

public static class MinecraftPacketTransformationsExtensions

Inheritance

objectMinecraftPacketTransformationsExtensions

Inherited Members

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

Methods

RegisterTransformations<T>(IMinecraftPacketTransformationsRegistry, ProtocolVersion, params IEnumerable<MinecraftPacketTransformationMapping>)

public static void RegisterTransformations<T>(this IMinecraftPacketTransformationsRegistry registry, ProtocolVersion protocolVersion, params IEnumerable<MinecraftPacketTransformationMapping> mappings) where T : IMinecraftPacket

Parameters

registry IMinecraftPacketTransformationsRegistry

protocolVersion ProtocolVersion

mappings IEnumerable<MinecraftPacketTransformationMapping>

Type Parameters

T