Compatibility
Minecraft: Java Edition
26.1.x
1.21.9–1.21.11
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Published 10 months ago
Readds Spawn Chunks which were removed in 25w31a.
Spawn Chunks are chunks around spawn that are always loaded
19x19 Chunks by default
Commands
/function spawnchunks:admin/set {value:9}
modifies the area of Spawn Chunks specified by the number following value: (Default: 9)
| Value | Chunks Effected |
|---|---|
| -1 | 0x0 |
| 0 | 1x1 |
| 1 | 3x3 |
| 2 | 5x5 |
| 3 | 7x7 |
| 4 | 9x9 |
| ... | ... |
| 15 | 31x31 |
Troubleshooting
- you can run
/forceload query ~ ~to check if the chunk you are currently standing in is being forceloaded (white text means it is, red text means it is not)
if the datapack isn't working:
- try running
/reload - try restarting/rejoining the world
- try re-running
/function spawnchunks:admin/set {value:x}(x being the value of your choice) - if nothing else works:
- run
/function spawnchunks:admin/set {value:-1} - then do
/tp 00000051-0000-005a-0000-002f0000002b @swhile standing on the center of your spawn chunk(this teleports the entity to world spawn if it somehow had gotten somewhere else) - then run
/function spawnchunks:admin/set {value:x}again (x being the value of your choice)
- run
Contact me on Discord for any issues! @hexasan


