2012-08-06 22:07:53 +00:00
|
|
|
package net.minecraftforge.event.entity.player;
|
2012-08-05 10:20:07 +00:00
|
|
|
|
2012-12-13 05:58:35 +00:00
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2012-08-07 08:24:06 +00:00
|
|
|
import net.minecraftforge.event.Cancelable;
|
2012-08-05 10:20:07 +00:00
|
|
|
|
2012-08-07 08:24:06 +00:00
|
|
|
@Cancelable
|
2012-08-05 10:20:07 +00:00
|
|
|
public class ArrowNockEvent extends PlayerEvent
|
|
|
|
{
|
2012-08-06 22:07:53 +00:00
|
|
|
public ItemStack result;
|
2012-08-05 10:20:07 +00:00
|
|
|
|
|
|
|
public ArrowNockEvent(EntityPlayer player, ItemStack result)
|
|
|
|
{
|
|
|
|
super(player);
|
|
|
|
this.result = result;
|
|
|
|
}
|
|
|
|
}
|