Living Entity Use Item Event
To use this event use the following import:
groovy
import net.minecraftforge.event.entity.living.LivingEntityUseItemEvent
Sub-Classes
This event extends the following events and can use all their methods and fields:
LivingEvent, EntityEvent
Methods
groovy
int getDuration()
groovy
net.minecraft.item.ItemStack getItem()
groovy
void setDuration(int arg0)