Close Inventory Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.CloseInventorySpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

Closes the 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