Interface IMixinConnection
public interface IMixinConnection
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.Channel
void
invokeChannelRead0
(io.netty.channel.ChannelHandlerContext context, net.minecraft.network.protocol.Packet<?> packet) void
invokeDoSendPacket
(net.minecraft.network.protocol.Packet<?> packet, @Nullable net.minecraft.network.PacketSendListener sendListener, net.minecraft.network.ConnectionProtocol newProtocol, net.minecraft.network.ConnectionProtocol currentProtocol) static <T extends net.minecraft.network.PacketListener>
voidinvokeGenericsFtw
(net.minecraft.network.protocol.Packet<T> packet, net.minecraft.network.PacketListener listener) net.minecraft.network.ConnectionProtocol
-
Method Details
-
getChannel
io.netty.channel.Channel getChannel() -
invokeGetCurrentProtocol
net.minecraft.network.ConnectionProtocol invokeGetCurrentProtocol() -
invokeDoSendPacket
void invokeDoSendPacket(net.minecraft.network.protocol.Packet<?> packet, @Nullable @Nullable net.minecraft.network.PacketSendListener sendListener, net.minecraft.network.ConnectionProtocol newProtocol, net.minecraft.network.ConnectionProtocol currentProtocol) -
invokeChannelRead0
void invokeChannelRead0(io.netty.channel.ChannelHandlerContext context, net.minecraft.network.protocol.Packet<?> packet) -
invokeGenericsFtw
static <T extends net.minecraft.network.PacketListener> void invokeGenericsFtw(net.minecraft.network.protocol.Packet<T> packet, net.minecraft.network.PacketListener listener)
-