Class PokeStopEvent.CooldownCheck
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeStopEvent
com.pixelmonmod.pixelmon.api.events.PokeStopEvent.CooldownCheck
- Direct Known Subclasses:
PokeStopEvent.CooldownCheck.Post
,PokeStopEvent.CooldownCheck.PostCalculate
,PokeStopEvent.CooldownCheck.Pre
,PokeStopEvent.CooldownCheck.PreCalculate
- Enclosing class:
- PokeStopEvent
Event that fires when a PokeStop is used, and the cooldown is being checked
Use shouldCheckCooldown to override if you want the cooldown check to happen
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Pre-Calculate is used for changing the amount of time a pokestop goes on cooldown for the given player that used it.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
ModifierConstructorDescriptionprotected
CooldownCheck
(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop) -
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
-
CooldownCheck
protected CooldownCheck(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop)
-