Class PokeLootEvent.Drop

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
com.pixelmonmod.pixelmon.api.events.PokeLootEvent.Drop
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
PokeLootEvent

public static class PokeLootEvent.Drop extends PokeLootEvent implements net.neoforged.bus.api.ICancellableEvent
Event that fires when loot is given from a Poke Loot. Cancel to prevent giving of the drop.
  • Constructor Details

    • Drop

      public Drop(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile, net.minecraft.world.item.ItemStack drop)
  • Method Details

    • getDrop

      public net.minecraft.world.item.ItemStack getDrop()
    • setDrop

      public void setDrop(net.minecraft.world.item.ItemStack drop)