Package-level declarations

Types

Link copied to clipboard
@ExperimentalSerializationApi
@ApiStatus.Internal
object WanderiaNetLib

Functions

Link copied to clipboard
@ExperimentalSerializationApi
fun <T : SerializedPayload<T>> PayloadRegistrar.netlibPayload(config: SerializedPayloadConfiguration<T>, handler: IPayloadHandler<T>): PayloadRegistrar

Used to register SerializedPayloads with NeoForge's networking during net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent