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
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
ConstructorDescriptionGetDrops
(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile, net.minecraft.world.item.ItemStack[] drops) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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)
-