-
Notifications
You must be signed in to change notification settings - Fork 1
sequentialpicknumber
Daedalus1400 edited this page May 18, 2017
·
3 revisions
The sequentialpick generic picks sequentially from a specified list, looping when it gets to the end. This page details usage for numbers.
Added in release version 0.4.0
Must be "sequentialpick".
Accepts an array of numbers.
The following example applies nausea to the player for 100 ticks the first time the action executes, then 200 the second time, and then 300 the third time:
{"type": "potioneffect", "effect": "nausea", "duration": {"type": "sequentialpick", "value": [100, 200, 300]}}