public abstract class PokeStopEvent
extends net.minecraftforge.eventbus.api.Event
Subclasses: PokeStopEvent.Use
, PokeStopEvent.Drops
PokeStopEvent.CooldownCheck
Modifier and Type | Class and Description |
---|---|
static class |
PokeStopEvent.CooldownCheck
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
|
static class |
PokeStopEvent.Drops
Event that fires when loot is given from a PokeStop.
|
static class |
PokeStopEvent.Use
Event that fires when a PokeStop is attempted to be used.
|
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.entity.player.PlayerEntity |
player |
protected PokeStopTileEntity |
pokestop |
Constructor and Description |
---|
PokeStopEvent(net.minecraft.entity.player.PlayerEntity player,
PokeStopTileEntity pokestop) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.PlayerEntity |
getPlayer() |
PokeStopTileEntity |
getPokestop() |
protected final PokeStopTileEntity pokestop
protected final net.minecraft.entity.player.PlayerEntity player
public PokeStopEvent(net.minecraft.entity.player.PlayerEntity player, PokeStopTileEntity pokestop)
public PokeStopTileEntity getPokestop()
public net.minecraft.entity.player.PlayerEntity getPlayer()