forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 70
Passive Listener Input
JasperLorelai edited this page Jan 24, 2025
·
1 revision
PassiveSpell
trigger: input
Warning
Since 4.0 Beta 17.
Property | Value |
---|---|
Cancellable | false |
Has Entity Target | false |
Has Location Target | false |
The listener activates on player movement input.
String Format Options:
(Unsupported.)
Section Format Options:
Option | Description | Type |
---|---|---|
on-press |
Checks if the keys were pressed. | Input Type List |
on-release |
Checks if the keys were released. | Input Type List |
old-input |
Checks if the old input had the specified keys held. | Input Filter |
new-input |
Checks if the new input has the specified keys held. | Input Filter |
triggers:
- trigger: input
on-press: ["jump", "left"]
on-release: ["sneak", "right"]
old-input: "left | right"
new-input: "!left & !right"