User Tools

Site Tools


Sidebar

← Go back to the homepage

Fabric Tutorials

Setup

These pages will help you setup a productive development environment and semi-automated releases.

Basics

These pages are essential must-reads when modding with Fabric, and modding Minecraft in general, if you are new to modding, it is recommended you read the following.

Items

Blocks and Block Entities

Data Generation

World Generation

Commands

These pages will guide you through Mojang's Brigadier library which allows you to create commands with complex arguments and actions.

Events

These pages will guide you through using the many events included in Fabric API, and how to create your own events for you or other mods to use.

Entities

Fluids

Mixins & ASM

These pages will guide you through the usage of SpongePowered's Mixin library, which is a highly complex topic. We recommend you read these pages thoroughly.

Miscellaneous

Yarn

Contribute to Fabric

tutorial:global_data

Global World Data

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.txt · Last modified: 2022/07/12 10:28 (external edit)