Modify Player Spawn
Modifies the spawn point of the player holding the power.
Type ID: kaya:modify/player/spawn
Format
| Field | Type | Default | Description |
|---|---|---|---|
dimension |
Identifier | The ID of the dimension to look for a new spawn point. | |
biome |
Identifier or Tag | optional | The ID or the tag of a biome to look for a new spawn point. |
structure |
Identifier or Tag | optional | The ID or the tag of the structure to look for a spawn point. |
priority |
Integer | 0 |
Determines the order of which powers of this type will be checked. |
About priorities
The instances of this type will be sorted in its reversed natural order meaning that instances that have a higher priority value will be checked first if it has found a spawn point before those that have lower priority values.
Example
{
"type": "kaya:modify/player/spawn",
"dimension": "minecraft:overworld",
"biome": "#c:is_aquatic"
}
This example will make the player holding the power have a spawn point that is on a biome included in the #c:is_aquatic biome tag.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |