Package net.minecraftforge.network
package net.minecraftforge.network
-
ClassDescriptionChannel<MSG>Builder for constructing impl channels using a builder style API.An event-bus like object on which
CustomPayloadEvent
s are posted.TODO: Gathered PayloadsIContainerFactory<T extends AbstractContainerMenu>NetworkDirection<B extends FriendlyByteBuf>This is essentially the shared common class forSimpleChannel
andEventNetworkChannel
.NetworkProtocol<B extends FriendlyByteBuf>Tracks channels created byChannelBuilder
.Means to distribute packets in various waysA Distributor curried with a specific value instance, for actual dispatchPayloadChannel.Builder.HandlerFlow<BUF extends FriendlyByteBuf,CTX, BASE extends CustomPacketPayload & SimplePacket<CTX>> PayloadChannel.Builder.HandlerProtocol<BUF extends FriendlyByteBuf,CTX, BASE extends CustomPacketPayload & SimplePacket<CTX>> PayloadChannel.Builder.ProtocolFactory<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload> Represents additional data sent by FML when a server is pinged.SimpleChannel.Message<MSG,BUF extends FriendlyByteBuf> SimpleChannel.MessageBuilder<MSG,BUF extends FriendlyByteBuf>