Class PokeLootEvent.GetDrops

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
com.pixelmonmod.pixelmon.api.events.PokeLootEvent.GetDrops
Enclosing class:
PokeLootEvent

public static class PokeLootEvent.GetDrops extends PokeLootEvent
Event that fires when a Poke Loot in the process of being claimed chooses its drops. Array of drops is mutable via getter/setter.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokeLootEvent

    PokeLootEvent.Claim, PokeLootEvent.Drop, PokeLootEvent.GetDrops

    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.PokeLootEvent

    chest, player
  • Constructor Summary

    Constructors
    Constructor
    Description
    GetDrops(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile, net.minecraft.world.item.ItemStack[] drops)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack[]
     
    void
    setDrops(net.minecraft.world.item.ItemStack... drops)
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GetDrops

      public GetDrops(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile, net.minecraft.world.item.ItemStack[] drops)
  • Method Details

    • getDrops

      public net.minecraft.world.item.ItemStack[] getDrops()
    • setDrops

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