Class TransientData
java.lang.Object
com.pixelmonmod.pixelmon.api.storage.TransientData
A convenient collection of data that is not saved in player party storage but is housed there, in memory, for usability.
-
Field Summary
Modifier and TypeFieldDescriptionint
The cached mean pokemonLevel of the party.int
int
The cached highest pokemonLevel in the party.int
int
int
int
int
int
int
The cached lowest pokemonLevel in the party.int
final ArrayList<Consumer<Optional<BattleController>>>
int
int
Keeps track of the Poké Ball being thrown. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBlackFluteActive
(long time) boolean
isWhiteFluteActive
(long time) void
useBlackFlute
(long time) void
useWhiteFlute
(long time)
-
Field Details
-
eggTick
public int eggTick -
lastEggX
public int lastEggX -
lastEggZ
public int lastEggZ -
passiveHealTick
public int passiveHealTick -
lastPassiveHealX
public int lastPassiveHealX -
lastPassiveHealZ
public int lastPassiveHealZ -
lureTick
public int lureTick -
passivePoisonTick
public int passivePoisonTick -
lastPassivePoisonHealX
public int lastPassivePoisonHealX -
lastPassivePoisonHealZ
public int lastPassivePoisonHealZ -
highestLevel
public int highestLevelThe cached highest pokemonLevel in the party. This is maintained byPlayerTrackingSpawner
s. -
lowestLevel
public int lowestLevelThe cached lowest pokemonLevel in the party. This is maintained byPlayerTrackingSpawner
s. -
averageLevel
public int averageLevelThe cached mean pokemonLevel of the party. This is maintained byPlayerTrackingSpawner
s. -
thrownPokeball
Keeps track of the Poké Ball being thrown. -
captureCombo
-
onceBattleDone
-
resourceQueries
-
keyListener
-
-
Constructor Details
-
TransientData
public TransientData()
-
-
Method Details
-
isBlackFluteActive
public boolean isBlackFluteActive(long time) -
isWhiteFluteActive
public boolean isWhiteFluteActive(long time) -
useBlackFlute
public void useBlackFlute(long time) -
useWhiteFlute
public void useWhiteFlute(long time)
-