net.minecraft.network.protocol

public interface Packet<T extends PacketListener>

yw
net.minecraft.network.protocol.Packet
net.minecraft.class_2596
net.minecraft.network.packet.Packet
net.minecraft.network.protocol.Packet

Method summary

Modifier and TypeMethod
PacketType<? extends Packet<T>>
a()
type()
method_65080()
getPacketType()
void
a(T arg0)
handle(T arg0)
method_65081(T arg0)
apply(T listener)
default boolean
c()
isSkippable()
method_11051()
isWritingErrorSkippable()
default boolean
d()
isTerminal()
method_55943()
transitionsNetworkState()
static <B extends io.netty.buffer.ByteBuf, T extends Packet<?>> StreamCodec<B, T>
a(yq<B, T> arg0, yo<B, T> arg1)
codec(StreamMemberEncoder<B, T> arg0, StreamDecoder<B, T> arg1)
method_56443(class_9143<B, T> arg0, class_9141<B, T> arg1)
createCodec(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder)