Script API - v26.70.26
    Preparing search index...

    Enumeration VirtualContainerOpenErrorReasonBeta

    Reasons that the VirtualContainerOpenError was thrown.

    Index
    ContainerScreenOpen: "ContainerScreenOpen"

    The player already has a container screen open, such as their inventory, a chest or another virtual container. Try again after they close it.

    PlayerDead: "PlayerDead"

    The player is dead. Try again after they respawn.

    PlayerNotReady: "PlayerNotReady"

    The player is still loading into the world, is changing dimension, or is standing in a portal. Try again on a later tick.

    PlayerSleeping: "PlayerSleeping"

    The player is sleeping. Try again after they wake up.

    PlayerSpectating: "PlayerSpectating"

    The player is in spectator mode.

    PreviousScreenClosing: "PreviousScreenClosing"

    The player's previous container screen is still closing. Open the next container once the virtualContainerClose event for the previous one arrives, or try again on a later tick.