Class PokeStopEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeStopEvent
- Direct Known Subclasses:
PokeStopEvent.CooldownCheck
,PokeStopEvent.Drops
,PokeStopEvent.Use
public abstract class PokeStopEvent
extends net.minecraftforge.eventbus.api.Event
Superclass event for actions related to PokeStops.
Subclasses: PokeStopEvent.Use
, PokeStopEvent.Drops
PokeStopEvent.CooldownCheck
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
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 happenstatic class
Event that fires when loot is given from a PokeStop.static class
Event that fires when a PokeStop is attempted to be used.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
Modifier and TypeFieldDescriptionprotected final net.minecraft.world.entity.player.Player
protected final PokeStopTileEntity
-
Constructor Summary
ModifierConstructorDescriptionprotected
PokeStopEvent
(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.Player
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokestop
-
player
protected final net.minecraft.world.entity.player.Player player
-
-
Constructor Details
-
PokeStopEvent
protected PokeStopEvent(net.minecraft.world.entity.player.Player player, PokeStopTileEntity pokestop)
-
-
Method Details
-
getPokestop
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer()
-