Class RegisterPayloadHandlerEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.network.event.RegisterPayloadHandlerEvent
All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent

public class RegisterPayloadHandlerEvent extends net.neoforged.bus.api.Event implements net.neoforged.fml.event.IModBusEvent
Event fired when the NetworkRegistry is being set up.

This event is used to collect all the payload types and their handlers that should be used on the network.