public interface IStorageManager
Modifier and Type | Method and Description |
---|---|
void |
clearAll() |
java.lang.Iterable<PokemonStorage> |
getAllCachedStorages() |
default PlayerPartyStorage |
getParty(net.minecraft.entity.player.EntityPlayerMP player) |
PlayerPartyStorage |
getParty(java.util.UUID uuid) |
default PCStorage |
getPC(net.minecraft.entity.player.EntityPlayerMP player,
TileEntityPC pc) |
default PCStorage |
getPCForPlayer(net.minecraft.entity.player.EntityPlayerMP player) |
PCStorage |
getPCForPlayer(java.util.UUID playerUUID) |
default Pokemon |
getPokemon(net.minecraft.entity.player.EntityPlayerMP player,
StoragePosition position) |
IStorageSaveAdapter |
getSaveAdapter() |
IStorageSaveScheduler |
getSaveScheduler() |
default PokemonStorage |
getStorage(net.minecraft.entity.player.EntityPlayerMP player,
StoragePosition position) |
default void |
initializePCForPlayer(net.minecraft.entity.player.EntityPlayerMP player,
PCStorage pc) |
void |
onStorageSaved(PokemonStorage storage) |
IStorageSaveScheduler getSaveScheduler()
IStorageSaveAdapter getSaveAdapter()
PCStorage getPCForPlayer(java.util.UUID playerUUID)
PlayerPartyStorage getParty(java.util.UUID uuid)
java.lang.Iterable<PokemonStorage> getAllCachedStorages()
void onStorageSaved(PokemonStorage storage)
void clearAll()
default PCStorage getPC(net.minecraft.entity.player.EntityPlayerMP player, TileEntityPC pc)
default PCStorage getPCForPlayer(net.minecraft.entity.player.EntityPlayerMP player)
default PlayerPartyStorage getParty(net.minecraft.entity.player.EntityPlayerMP player)
default PokemonStorage getStorage(net.minecraft.entity.player.EntityPlayerMP player, StoragePosition position)
default Pokemon getPokemon(net.minecraft.entity.player.EntityPlayerMP player, StoragePosition position)
default void initializePCForPlayer(net.minecraft.entity.player.EntityPlayerMP player, PCStorage pc)