public class PCStorageSearch extends PCStorage
Modifier and Type | Field and Description |
---|---|
int |
searchId |
boxes, lastBox, overflowBoxes, playerName, playerUUID
hasChanged, shouldSendUpdates, uuid
Constructor and Description |
---|
PCStorageSearch(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransfer(StoragePosition from,
StoragePosition to) |
int |
getLastBox() |
void |
query(java.lang.String query) |
void |
rearrangeBoxes(java.util.List<Pokemon> pokemon) |
forEach, get, get, getAll, getBox, getBoxCount, getBoxes, getFile, getFirstEmptyPosition, getPlayersToUpdate, getPosition, getShouldSave, readFromNBT, sendContents, set, set, setHasChanged, setLastBox, setPlayer, swap, swap, writeToNBT
add, countAll, countEggs, countPokemon, doWithoutSendingUpdates, find, findAll, findAll, findOne, findOne, getCurryData, getShouldSendUpdates, hasSpace, notifyListener, notifyListenerAll, notifyListeners, notifyListenersAll, retrieveAll, setNeedsSaving, toString, transfer, updateSingleCurryData, validate
public void query(java.lang.String query)
public void rearrangeBoxes(@Nullable java.util.List<Pokemon> pokemon)
public int getLastBox()
getLastBox
in class PCStorage
public boolean canTransfer(StoragePosition from, StoragePosition to)
canTransfer
in class PokemonStorage