public class RaidDropsEvent
extends net.minecraftforge.eventbus.api.Event
Constructor and Description |
---|
RaidDropsEvent(RaidData raid,
RaidData.RaidPlayer player,
RaidGovernor governor,
Pokemon possibleCatch,
java.util.ArrayList<net.minecraft.item.ItemStack> drops,
boolean canCatch) |
Modifier and Type | Method and Description |
---|---|
void |
addDrop(net.minecraft.item.ItemStack stack) |
boolean |
canCatch() |
void |
clearDrops() |
java.util.ArrayList<net.minecraft.item.ItemStack> |
getDrops() |
RaidGovernor |
getGovernor() |
RaidData.RaidPlayer |
getPlayer() |
Pokemon |
getPossibleCatch() |
RaidData |
getRaid() |
void |
setCanCatch(boolean canCatch) |
void |
setDrops(java.util.ArrayList<net.minecraft.item.ItemStack> drops) |
void |
setPossibleCatch(Pokemon possibleCatch) |
public RaidDropsEvent(RaidData raid, RaidData.RaidPlayer player, RaidGovernor governor, Pokemon possibleCatch, java.util.ArrayList<net.minecraft.item.ItemStack> drops, boolean canCatch)
public RaidData getRaid()
public RaidGovernor getGovernor()
public RaidData.RaidPlayer getPlayer()
public Pokemon getPossibleCatch()
public java.util.ArrayList<net.minecraft.item.ItemStack> getDrops()
public void setDrops(java.util.ArrayList<net.minecraft.item.ItemStack> drops)
public void addDrop(net.minecraft.item.ItemStack stack)
public void clearDrops()
public void setPossibleCatch(Pokemon possibleCatch)
public boolean canCatch()
public void setCanCatch(boolean canCatch)