Package net.neoforged.neoforge.network.registration
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.network.registration
-
ClassDescriptionConfigurationPayloadHandler<T extends CustomPacketPayload>An internal implementation of
IDirectionAwarePayloadHandlerBuilder
forIConfigurationPayloadHandler
.Internal builder for a configuration payload handler.ConfigurationRegistration<T extends CustomPacketPayload>A record that holds the information needed to describe a registered configuration payload, its reader and handler.Defines a builder for a direction aware payload handler.Defines a registrar for custom payloads that can be sent over the network.Registration for a custom packet payload.The internal implementation ofIPayloadRegistrar
for modded packets.ModdedPlayPayloadRegistration<T extends CustomPacketPayload>Registration for a custom packet payload.Represents a complete negotiated network payload type, which is stored on the client and server.Represents a complete negotiated network, which is stored on the client and server.Defines the registry for all modded network packets.AnISynchronizedWorkHandler
that can be used to schedule tasks on the main thread of the server or client.PayloadHandlerBuilder<T extends CustomPacketPayload>The internal implementation ofIDirectionAwarePayloadHandlerBuilder
, for use byIPayloadRegistrar.common(ResourceLocation, FriendlyByteBuf.Reader, Consumer)
PlayPayloadHandler<T extends CustomPacketPayload>An internal implementation ofIDirectionAwarePayloadHandlerBuilder
forIPlayPayloadHandler
.PlayPayloadHandler.Builder<T extends CustomPacketPayload>A builder forPlayPayloadHandler
.PlayRegistration<T extends CustomPacketPayload>A record that holds the information needed to describe a registered play payload, its reader and handler.Defines an exception that can be thrown at runtime, if a modder has registered a payload incorrectly.Defines possible reasons for a payload registration to fail.Internal interface used to format the error message for a given reason.