Skip to content

CloseInventorySpell

JasperLorelai edited this page Jul 19, 2026 · 2 revisions

Source Code

spell-class: ".targeted.CloseInventorySpell"
Value Supported
entity true
location false
entity_from_location false

Description:

Closes the player target's inventory or menu.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Default
delay Delay in server ticks after which to close the inventory. 0

Clone this wiki locally