You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pyrofab edited this page Jul 23, 2020
·
7 revisions
This module allows mods to attach components to World objects. World components can be automatically synchronized by implementing SyncedComponent, most commonly through the WorldSyncedComponent helper interface.
Vanilla Alternative: PersistentState
+ No dependency required+ Slightly easier to setup (no registration)- Only exists on `ServerWorld` - cannot be synchronized, requires casting to use- Must extend the `PersistentState` abstract class