Package net.minecraft.network
Interface ProtocolInfo<T extends PacketListener>
- All Known Implementing Classes:
ProtocolInfoBuilder.Implementation
public interface ProtocolInfo<T extends PacketListener>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescription@Nullable BundlerInfoStreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> codec()flow()id()
-
Method Details
-
id
ConnectionProtocol id() -
flow
PacketFlow flow() -
codec
StreamCodec<io.netty.buffer.ByteBuf,Packet<? super T>> codec() -
bundlerInfo
@Nullable BundlerInfo bundlerInfo()
-