net.minecraft.network.protocol

public interface Packet<T extends PacketListener>

zw
net.minecraft.network.protocol.Packet
net.minecraft.class_2596
net.minecraft.network.packet.Packet
net.minecraft.src.C_5028_
net.minecraft.network.protocol.Packet

Method summary

Modifier and TypeMethod
PacketType<? extends Packet<T>>
a()
type()
method_55846()
getPacketId()
m_5779_()
void
a(T arg0)
handle(T arg0)
method_11054(T arg0)
apply(T listener)
m_5797_(T arg0)
default boolean
c()
isSkippable()
method_11051()
isWritingErrorSkippable()
m_6588_()
default boolean
d()
isTerminal()
method_55943()
transitionsNetworkState()
m_319635_()
static <B extends io.netty.buffer.ByteBuf, T extends Packet<?>> StreamCodec<B, T>
a(zq<B, T> arg0, zo<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)
m_319422_(C_313262_<B, T> p_334100_, C_313681_<B, T> p_335492_)