User Tools

Site Tools


tutorial:global_data

This is an old revision of the document!


Global World Data is data that is stored and synced between all clients such as Pillager raid information or Boss infomation.

Mojang uses PersistentStates to store global world data - PersistentStates are saved per dimension, not globally as in the entire server/save.

Cardinal Componenets, a library designed to allow developers to store data in any class and sync between clients and servers, can simplify this workflow. More infomation on Cardinal Components can be found here: https://github.com/OnyxStudios/Cardinal-Components-API

[TBD] Add infomation on how data is synced.

tutorial/global_data.1657621703.txt.gz · Last modified: 2022/07/12 10:28 by mineblock11