World & Block Systems
This system is used to interact with the world, including blocks, locations, regions and performance-safe block operations.
When to use
- You want to modify blocks
- You want to check certain block states
- You need to work with locations or regions
Topics
- [[Region|Core-API/World-&-Block-Systems/Region]]
- [[DelayedBlockWorker|Core-API/World-&-Block-Systems/DelayedBlockWorker]]
- [[BlockLocation|Core-API/World-&-Block-Systems/BlockLocation]]
- [[BlockUtil|Core-API/World-&-Block-Systems/BlockUtil]]
- [[WrapperChunk|Core-API/World-&-Block-Systems/WrapperChunk]]
- [[WrapperLocation|Core-API/World-&-Block-Systems/WrapperLocation]]
- [[LocationUtil|Core-API/World-&-Block-Systems/LocationUtil]]
Common pitfalls
- Modifying too many blocks at once → server lag
- Running heavy operations on the main thread
- Not using performance-safe systems