Skip to content

API reference Obsidian.API.Networking

PayloadDirection enum

Which way a payload channel carries payloads. A NeoForge mod must declare the same direction for the channel, or the connection is refused.

public enum PayloadDirection

In Obsidian.API.

Values

NameValueDescription
Clientbound 0

Only from the server to the client.

Serverbound 1

Only from the client to the server.

Bidirectional 2

Both ways.

On this page