31a908b754
Refactored some of the events to be a better hiarachy.
21 lines
427 B
Java
21 lines
427 B
Java
package net.minecraftforge.event.entity.player;
|
|
|
|
import net.minecraft.src.EntityPlayer;
|
|
import net.minecraft.src.ItemStack;
|
|
|
|
public class ArrowNockEvent extends PlayerEvent
|
|
{
|
|
public ItemStack result;
|
|
|
|
public ArrowNockEvent(EntityPlayer player, ItemStack result)
|
|
{
|
|
super(player);
|
|
this.result = result;
|
|
}
|
|
|
|
@Override
|
|
public boolean isCancelable()
|
|
{
|
|
return true;
|
|
}
|
|
}
|