Class PokeLootEvent.Drop
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
com.pixelmonmod.pixelmon.api.events.PokeLootEvent.Drop
- Enclosing class:
- PokeLootEvent
Event that fires when loot is given from a Poke Loot.
Cancel to prevent giving of the drop.
-
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
ConstructorDescriptionDrop
(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile, net.minecraft.world.item.ItemStack drop) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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)
-