mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 22:44:32 +00:00
22 lines
427 B
Java
22 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;
|
|
}
|
|
}
|