Class RaidDropsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.raids.RaidDropsEvent
public class RaidDropsEvent
extends net.minecraftforge.eventbus.api.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionRaidDropsEvent
(RaidData raid, RaidData.RaidPlayer player, RaidGovernor governor, Pokemon possibleCatch, ArrayList<net.minecraft.world.item.ItemStack> drops, boolean canCatch) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDrop
(net.minecraft.world.item.ItemStack stack) boolean
canCatch()
void
ArrayList<net.minecraft.world.item.ItemStack>
getDrops()
getRaid()
void
setCanCatch
(boolean canCatch) void
void
setPossibleCatch
(Pokemon possibleCatch) Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
RaidDropsEvent
public RaidDropsEvent(RaidData raid, RaidData.RaidPlayer player, RaidGovernor governor, Pokemon possibleCatch, ArrayList<net.minecraft.world.item.ItemStack> drops, boolean canCatch)
-
-
Method Details
-
getRaid
-
getGovernor
-
getPlayer
-
getPossibleCatch
-
getDrops
-
setDrops
-
addDrop
public void addDrop(net.minecraft.world.item.ItemStack stack) -
clearDrops
public void clearDrops() -
setPossibleCatch
-
canCatch
public boolean canCatch() -
setCanCatch
public void setCanCatch(boolean canCatch)
-