Enter Temporary Dimension Action
Enter a temporary dimension
Action entry to make a player enter a temporary dimension.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
dimension | Ref<TemporaryDimensionEntry> | — | The temporary dimension to enter |
checkPermission | Boolean | true | Whether to check permission before entering |
TypeWriter 通用字段(triggers, criteria, modifiers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
How to use it
Link the dimension and trigger the action from a quest, an NPC or an event. With checkPermission on, the player must have the dimension's permission; turn it off when the access is already controlled by your quest logic. The action does nothing, with a message, if the player is already in a temporary dimension.