Class TransientData

java.lang.Object
com.pixelmonmod.pixelmon.api.storage.TransientData

public class TransientData extends Object
A convenient collection of data that is not saved in player party storage but is housed there, in memory, for usability.
  • 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 highestLevel
      The cached highest pokemonLevel in the party. This is maintained by PlayerTrackingSpawners.
    • lowestLevel

      public int lowestLevel
      The cached lowest pokemonLevel in the party. This is maintained by PlayerTrackingSpawners.
    • averageLevel

      public int averageLevel
      The cached mean pokemonLevel of the party. This is maintained by PlayerTrackingSpawners.
    • thrownPokeball

      public OccupiedPokeBallEntity thrownPokeball
      Keeps track of the Poké Ball being thrown.
    • captureCombo

      public CaptureCombo captureCombo
    • onceBattleDone

      public final ArrayList<Consumer<Optional<BattleController>>> onceBattleDone
    • resourceQueries

      public final HashMap<UUID,Consumer<Boolean>> resourceQueries
    • keyListener

      public net.minecraft.util.Tuple<Object,Method> 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)