JeevesPlayerStorage

class JeevesPlayerStorage(inventories: MutableMap<UUID, MutableList<ItemStack>>) : SavedData(source)

Persistent per-player storage for Jeeves. Each player gets their own 27-slot inventory that survives entity despawns and server restarts.

Stored as world-level SavedData in the overworld data directory.

Constructors

Link copied to clipboard
constructor(inventories: MutableMap<UUID, MutableList<ItemStack>>)

Types

Link copied to clipboard
object Companion

Companion with codec and factory for world-level persistence.

Properties

Link copied to clipboard
open var isDirty: Boolean

Functions

Link copied to clipboard
fun getOrCreateContainer(playerUuid: UUID): SimpleContainer

Returns the SimpleContainer for the given player, creating one if it doesn't exist.