@minecraft
    Preparing search index...

    Class VirtualContainerCloseAfterEventBeta

    Contains information about a player's virtual container screen that closed, including the contents of the container at that moment.

    Index
    container: VirtualContainer

    The container whose screen closed.

    items: ItemStack[]

    The contents of every slot of the container when the screen closed. Empty slots are undefined. Storage items such as bundles hold their contents as they were at that moment.

    player: Player

    The player whose screen closed. When the reason is PlayerLeft the player is no longer valid.

    Why the screen closed.