ForgePatch/common/net/minecraftforge/event/entity/player/ArrowLooseEvent.java

24 lines
488 B
Java
Raw Normal View History

package net.minecraftforge.event.entity.player;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.ItemStack;
public class ArrowLooseEvent extends PlayerEvent
{
public final ItemStack bow;
public int charge;
public ArrowLooseEvent(EntityPlayer player, ItemStack bow, int charge)
{
super(player);
this.bow = bow;
this.charge = charge;
}
@Override
public boolean isCancelable()
{
return true;
}
}