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
Pre-Calculate is used for changing the amount of time a pokestop goes on cooldown for the given player that used it.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokeStopEvent.CooldownCheck
PokeStopEvent.CooldownCheck.Post, PokeStopEvent.CooldownCheck.PostCalculate, PokeStopEvent.CooldownCheck.Pre, PokeStopEvent.CooldownCheck.PreCalculate
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokeStopEvent
PokeStopEvent.CooldownCheck, PokeStopEvent.Drops, PokeStopEvent.Use
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PokeStopEvent
player, pokestop
-
Constructor Summary
ConstructorDescriptionPreCalculate
(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop, long cooldownHours) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PokeStopEvent
getPlayer, getPokestop
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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)
-