Interface IMinecraftPacketTransformationsRegistry
Namespace: Void.Minecraft.Network.Registries.Transformations
Assembly: Void.Minecraft.dll
public interface IMinecraftPacketTransformationsRegistryExtension Methods
Properties
IsEmpty
bool IsEmpty { get; }Property Value
PacketTypes
IEnumerable<Type> PacketTypes { get; }Property Value
Methods
Add(IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type>, ProtocolVersion)
IMinecraftPacketTransformationsRegistry Add(IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type> mappings, ProtocolVersion protocolVersion)Parameters
mappings IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type>
protocolVersion ProtocolVersion
Returns
IMinecraftPacketTransformationsRegistry
Clear()
void Clear()Clear(Direction)
void Clear(Direction direction)Parameters
direction Direction
Contains<T>(TransformationType)
bool Contains<T>(TransformationType type) where T : IMinecraftPacketParameters
type TransformationType
Returns
Type Parameters
T
Contains(IMinecraftMessage, TransformationType)
bool Contains(IMinecraftMessage message, TransformationType type)Parameters
message IMinecraftMessage
type TransformationType
Returns
Contains(Type, TransformationType)
bool Contains(Type packetType, TransformationType transformationType)Parameters
packetType Type
transformationType TransformationType
Returns
Replace(IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type>, ProtocolVersion)
IMinecraftPacketTransformationsRegistry Replace(IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type> mappings, ProtocolVersion protocolVersion)Parameters
mappings IReadOnlyDictionary<IEnumerable<MinecraftPacketTransformationMapping>, Type>
protocolVersion ProtocolVersion
Returns
IMinecraftPacketTransformationsRegistry
TryGetFor(Type, TransformationType, out MinecraftPacketTransformation[])
bool TryGetFor(Type packetType, TransformationType type, out MinecraftPacketTransformation[] transformation)Parameters
packetType Type
type TransformationType
transformation MinecraftPacketTransformation[]