close [of] %inv:EXPR% — Blocks

close [of] %inv:EXPR%
Inventory1.0.0

Description

Handles the close event of a Lumen inventory. Provides player, inventory, and title variables.

Allowed Contexts

Root LevelInside Block

Block Variables

player
player
NullableNo

The player who closed the inventory

world
world
NullableNo

The world the player is in

inventory
inventory
NullableNo

The top inventory that was closed

title
string
NullableNo

The title of the inventory view

Examples

close of "main_menu": message player "Menu closed!"

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

close <inv>
close of <inv>

Related (Inventory)