Package net.neoforged.neoforge.network.handling


@ParametersAreNonnullByDefault package net.neoforged.neoforge.network.handling
  • Class
    Description
    DirectionalPayloadHandler<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
    Helper class that merges two unidirectional handlers into a single bidirectional handler.
    Common context interface for payload handlers.
    IPayloadHandler<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
    Callback for handling custom packets.
    MainThreadPayloadHandler<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
    Helper class that always executes the wrapped handler on the main thread.