Class PokeStopEvent.CooldownCheck.PreCalculate

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeStopEvent
com.pixelmonmod.pixelmon.api.events.PokeStopEvent.CooldownCheck
com.pixelmonmod.pixelmon.api.events.PokeStopEvent.CooldownCheck.PreCalculate
Enclosing class:
PokeStopEvent.CooldownCheck

public static class PokeStopEvent.CooldownCheck.PreCalculate extends PokeStopEvent.CooldownCheck
Pre-Calculate is used for changing the amount of time a pokestop goes on cooldown for the given player that used it.
  • Constructor Details

    • PreCalculate

      public PreCalculate(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop, long cooldownHours)
  • Method Details

    • getCooldownHours

      public long getCooldownHours()
    • setCooldownHours

      public void setCooldownHours(long cooldownHours)