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:"PlayerDead"
Remarks
The player is dead. Try again after they respawn.
PlayerNotReady
PlayerNotReady:"PlayerNotReady"
Remarks
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:"PlayerSleeping"
Remarks
The player is sleeping. Try again after they wake up.
PlayerSpectating
PlayerSpectating:"PlayerSpectating"
Remarks
The player is in spectator mode.
PreviousScreenClosing
PreviousScreenClosing:"PreviousScreenClosing"
Remarks
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.
Reasons that the VirtualContainerOpenError was thrown.