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