Class LivingEntityUseItemEvent.Start
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Start
- All Implemented Interfaces:
 net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
 - LivingEntityUseItemEvent
 
public static class LivingEntityUseItemEvent.Start
extends LivingEntityUseItemEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired when a player starts 'using' an item, typically when they hold right mouse.
 Examples:
 Drawing a bow
 Eating Food
 Drinking Potions/Milk
 Guarding with a sword
 Cancel the event, or set the duration or <= 0 to prevent it from processing.
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
LivingEntityUseItemEvent.Finish, LivingEntityUseItemEvent.Start, LivingEntityUseItemEvent.Stop, LivingEntityUseItemEvent.TickNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingTickEvent, LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.SizeNested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
getDuration, getItem, setDurationMethods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntityMethods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled 
- 
Constructor Details
- 
Start
 
 -