Class TrainerPartyStorage
java.lang.Object
com.pixelmonmod.pixelmon.api.storage.PokemonStorage
com.pixelmonmod.pixelmon.api.storage.PartyStorage
com.pixelmonmod.pixelmon.api.storage.TrainerPartyStorage
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.storage.PartyStorage
cachePosition, MAX_PARTY, party, PARTY_BOX_INDEX, tempParty, tempPartyColor
Fields inherited from class com.pixelmonmod.pixelmon.api.storage.PokemonStorage
hasChanged, shouldSendUpdates, storageType, trackingPlayers, uuid
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendCacheToPlayer
(net.minecraft.server.level.ServerPlayer player) Sends the Pokemon to the client for editingMethods inherited from class com.pixelmonmod.pixelmon.api.storage.PartyStorage
clear, copyToTemporaryMode, countAblePokemon, decode, encode, enterTemporaryMode, enterTemporaryMode, findFirst, findFirstPokemon, get, get, get, getAll, getAllPositions, getAndSendOutFirstAblePokemon, getAverageLevel, getFirstAblePokemon, getFirstBattleReadyPokemon, getFirstEmptyPosition, getHighestLevel, getLowestLevel, getOriginalParty, getPosition, getSlot, getSlot, getTeam, getTeam, getTempPartyColor, heal, inTemporaryMode, isOldGen, iterator, maxSize, readFromNBT, set, set, setInTemporaryMode, setInTemporaryModeClient, setOriginal, setOriginal, setTempPartyColor, swap, swap, writeToNBT
Methods inherited from class com.pixelmonmod.pixelmon.api.storage.PokemonStorage
add, addAndGetPosition, canTransfer, clone, countAll, countEggs, countEmpty, countPokemon, find, findAll, findAll, findAllPositions, findAllPositions, findOne, findOne, getCurryData, getOwner, getShouldSave, getStorageType, getUniqueId, hasSpace, initialize, isTracking, notifyListeners, open, retrieveAll, setHasChanged, setNeedsSaving, shouldSendUpdates, shouldSendUpdates, toString, track, trackingPlayers, transfer, untrack, updateSingleCurryData, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
trainer
-
-
Constructor Details
-
TrainerPartyStorage
-
TrainerPartyStorage
-
-
Method Details
-
getTrainer
-
sendCacheToPlayer
public void sendCacheToPlayer(net.minecraft.server.level.ServerPlayer player) Description copied from class:PartyStorage
Sends the Pokemon to the client for editing- Overrides:
sendCacheToPlayer
in classPartyStorage
- Parameters:
player
- The player to send the Pokemon to
-