Interface PayloadHandlerProtocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload>
- All Superinterfaces:
BaseProtocol<PayloadHandlerFlow<BUF,
,BASE>, PayloadHandlerProtocol<BUF, BASE>> PayloadConnection<BASE>
- All Known Subinterfaces:
PayloadHandlerFlow<BUF,
BASE>
- All Known Implementing Classes:
PayloadChannel.Builder.HandlerFlow
,PayloadChannel.Builder.HandlerProtocol
public interface PayloadHandlerProtocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload>
extends BaseProtocol<PayloadHandlerFlow<BUF,BASE>,PayloadHandlerProtocol<BUF,BASE>>, PayloadConnection<BASE>
Entry point for a
and will have their
method called.
PayloadChannel
protocol that mimics vanilla's
Packet
system where every packet must implement
invalid reference
SimplePacket
invalid reference
handle(CTX, Context)
-
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.payload.PayloadConnection
any, any, any, any, configuration, configuration, configuration, configuration, login, login, login, login, play, play, play, play, protocol, protocol, protocol, protocol