-
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 sequentiall 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, then 200, and then 300:
{"type": "potioneffect", "effect": "nausea", "duration": {"type": "sequentialpick", "value": [100, 200, 300]}}