Companion

Companion with codec and factory for world-level persistence.

Properties

Link copied to clipboard
const val EQUIPMENT_SLOT_COUNT: Int = 6

Number of persistent equipment slots for Jeeves loadout.

Link copied to clipboard
const val STORAGE_SLOT_COUNT: Int = 27

Number of persistent storage slots for Jeeves carried items.

Functions

Link copied to clipboard
fun get(level: ServerLevel): JeevesCompanionStorage

Gets the companion storage for this world, creating it if needed.