Interface SimpleHandlerProtocol<BUF extends FriendlyByteBuf,BASE>
- All Superinterfaces:
BaseProtocol<SimpleHandlerFlow<BUF,
,BASE>, SimpleHandlerProtocol<BUF, BASE>> SimpleConnection<BASE>
- All Known Subinterfaces:
SimpleHandlerFlow<BUF,
BASE>
- All Known Implementing Classes:
SimpleChannel.HandlerFlow
,SimpleChannel.HandlerProtocol
public interface SimpleHandlerProtocol<BUF extends FriendlyByteBuf,BASE>
extends BaseProtocol<SimpleHandlerFlow<BUF,BASE>,SimpleHandlerProtocol<BUF,BASE>>, SimpleConnection<BASE>
Entry point for a
SimpleChannel
protocol that mimics vanilla's
Packet
system where every packet must implement
SimplePacket
and will have their handle(CTX, Context)
method called.-
Method Summary
Methods inherited from interface net.minecraftforge.network.simple.BaseProtocol
bidirectional, bidirectional, clientbound, clientbound, flow, flow, flow, serverbound, serverbound
Methods inherited from interface net.minecraftforge.network.simple.SimpleConnection
any, any, any, any, configuration, configuration, configuration, configuration, login, login, login, login, play, play, play, play, protocol, protocol, protocol, protocol