Skip to main content

Module player_data

Module player_data 

Source
Expand description

Persistent player data structures.

This module defines the data format for saving and loading player state.

Structs§

PersistentAbilities
Persistent abilities data.
PersistentEnderPearl
A thrown ender pearl persisted with its owning player.
PersistentPlayerData
Persistent player data saved by Steel’s storage backend.
PersistentRootVehicle
A vanilla RootVehicle tree persisted with player data.
PersistentSlot
An inventory slot with its index.

Constants§

PLAYER_DATA_VERSION
Current data version for player saves. Increment when making breaking changes to the format.