net.minecraft.network.protocol

public interface Packet<T extends PacketListener>

aac
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_55846()
getPacketId()
void
a(T arg0)
handle(T arg0)
method_11054(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(zw<B, T> arg0, zu<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)