Variable itemsHandlingFlagsConst

itemsHandlingFlags: {
    all: 7;
    minimal: 0;
    others: 1;
    own: 2;
    starting: 4;
} = ...

Bit flags configuring which items should be sent by the server to this client.

Type declaration

  • Readonlyall: 7

    Shorthand for REMOTE_DIFFERENT_WORLDS, REMOTE_OWN_WORLD, and REMOTE_STARTING_INVENTORY.

  • Readonlyminimal: 0

    Indicates the client only receives items created by cheat commands.

  • Readonlyothers: 1

    Indicates the client get items sent from other worlds.

  • Readonlyown: 2

    Indicates the client get items sent from your own world. Requires REMOTE_DIFFERENT_WORLDS to be set.

  • Readonlystarting: 4

    Indicates the client get your starting inventory sent. Requires REMOTE_DIFFERENT_WORLDS to be set.