public class PCBoxSearch extends PCBox
boxNumber, cachePosition, hasChangedClientSide, name, pc, pokemon, POKEMON_PER_BOX, wallpaper
hasChanged, shouldSendUpdates, uuid
Constructor and Description |
---|
PCBoxSearch(PCStorageSearch pc,
int boxNumber) |
Modifier and Type | Method and Description |
---|---|
StoragePosition |
getFirstEmptyPosition() |
java.lang.String |
getWallpaper() |
void |
set(StoragePosition position,
Pokemon pokemon)
This prevents the super method from changing the Pokemon's StoragePosition, which is needed by the GuiPC to retrieve the original position.
|
get, get, getAll, getFile, getName, getPlayersToUpdate, getPosition, getShouldSendUpdates, getSlot, readFromNBT, sendChangesToServer, sendContents, set, setName, setWallpaper, swap, swap, writeToNBT
add, canTransfer, countAll, countEggs, countPokemon, doWithoutSendingUpdates, find, findAll, findAll, findOne, findOne, getCurryData, getShouldSave, hasSpace, notifyListener, notifyListeners, retrieveAll, setHasChanged, setNeedsSaving, toString, transfer, updateSingleCurryData, validate
public PCBoxSearch(PCStorageSearch pc, int boxNumber)
public java.lang.String getWallpaper()
getWallpaper
in class PCBox
public void set(StoragePosition position, Pokemon pokemon)
@Nullable public StoragePosition getFirstEmptyPosition()
getFirstEmptyPosition
in class PCBox