Uses of Enum Class
net.neoforged.neoforge.network.registration.HandlerThread
Packages that use HandlerThread
Package
Description
-
Uses of HandlerThread in net.neoforged.neoforge.client.network.event
Methods in net.neoforged.neoforge.client.network.event with parameters of type HandlerThreadModifier and TypeMethodDescription<T extends CustomPacketPayload>
voidRegisterClientPayloadHandlersEvent.register
(CustomPacketPayload.Type<T> type, HandlerThread thread, IPayloadHandler<T> handler) Registers the providedIPayloadHandler
as the client handler to be invoked on the specified thread for the providedCustomPacketPayload.Type
-
Uses of HandlerThread in net.neoforged.neoforge.client.network.registration
Methods in net.neoforged.neoforge.client.network.registration with parameters of type HandlerThreadModifier and TypeMethodDescriptionstatic <T extends CustomPacketPayload>
voidClientNetworkRegistry.register
(CustomPacketPayload.Type<T> type, HandlerThread thread, IPayloadHandler<T> handler) -
Uses of HandlerThread in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration declared as HandlerThreadMethods in net.neoforged.neoforge.network.registration that return HandlerThreadModifier and TypeMethodDescriptionstatic HandlerThread
Returns the enum constant of this class with the specified name.static HandlerThread[]
HandlerThread.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.neoforged.neoforge.network.registration with parameters of type HandlerThreadModifier and TypeMethodDescriptionPayloadRegistrar.executesOn
(HandlerThread thread) Creates a copy of this registrar with a different default handling thread.