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

public abstract static class PokeStopEvent.Drops extends PokeStopEvent
Event that fires when loot is given from a PokeStop. Cancel to prevent giving of the drops. Drops mutable via getter.
  • Constructor Details

    • Drops

      public Drops(net.minecraft.server.level.ServerPlayer player, PokeStopTileEntity pokestop, List<net.minecraft.world.item.ItemStack> drops)
  • Method Details

    • getDrops

      public List<net.minecraft.world.item.ItemStack> getDrops()
    • setDrops

      public void setDrops(List<net.minecraft.world.item.ItemStack> drops)