Package com.pixelmonmod.pixelmon.api.storage
package com.pixelmonmod.pixelmon.api.storage
-
ClassDescriptionLoadingData<T>Constants for NBT keys used by Pixelmon.Might switch to positions rather than pokémon.The default
StorageManager
for Pixelmon.An interface for listening to key presses from a player
You can register this using thePlayerPartyStorage.registerKeyListener(PlayerKeyListener)
method.Keeps track of player stats.The storage manager is the class that needs to be implemented for handling the load and saving of the player's party and PC
It's recommended that you use the methods that returnCompletableFuture
as these will not lock the main thread if the player's storage is still loading when you attempt to access it.Static factory for managing pixelmon storageInterface for the persistence adapter ofPokemonStorage
s.Interface responsible for scheduling storage saving using the appropriateStorageSaveAdapter
.StorageType<T extends PokemonStorage>A convenient collection of data that is not saved in player party storage but is housed there, in memory, for usability.