Arrow Nock Event
To use this event use the following import:
groovy
import net.minecraftforge.event.entity.player.ArrowNockEvent
Sub-Classes
This event extends the following events and can use all their methods and fields:
PlayerEvent, LivingEvent, EntityEvent
Methods
groovy
net.minecraft.util.EnumHand getHand()
groovy
net.minecraft.world.World getWorld()
groovy
boolean hasAmmo()
groovy
void setAction(net.minecraft.util.ActionResult arg0)
groovy
net.minecraft.item.ItemStack getBow()
groovy
net.minecraft.util.ActionResult getAction()