Skip to content

Passive Listener Inventory Open

JasperLorelai edited this page Jan 24, 2025 · 2 revisions

Source Code

PassiveSpell trigger: inventoryopen

Properties:

Property Value
Cancellable true
Has Entity Target false
Has Location Target false

Description:

The listener activates whenever a player opens an inventory (excluding the player's inventory).

String Format Options:

The argument is optional but may be a comma-separated list of inventory names.

triggers:
    - inventoryopen (inventory names)

Section Format Options:

(Unsupported for now.)

Clone this wiki locally