Class PokeStopEvent.Drops
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeStopEvent
com.pixelmonmod.pixelmon.api.events.PokeStopEvent.Drops
- Direct Known Subclasses:
PokeStopEvent.Drops.Post
,PokeStopEvent.Drops.Pre
- Enclosing class:
- PokeStopEvent
Event that fires when loot is given from a PokeStop.
Cancel to prevent giving of the drops.
Drops mutable via getter.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
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
ConstructorDescriptionDrops
(net.minecraft.server.level.ServerPlayer player, PokeStopTileEntity pokestop, List<net.minecraft.world.item.ItemStack> drops) -
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
-
Drops
public Drops(net.minecraft.server.level.ServerPlayer player, PokeStopTileEntity pokestop, List<net.minecraft.world.item.ItemStack> drops)
-
-
Method Details
-
getDrops
-
setDrops
-