Class LivingEntityUseItemEvent.Tick

All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
LivingEntityUseItemEvent

public static class LivingEntityUseItemEvent.Tick extends LivingEntityUseItemEvent implements net.neoforged.bus.api.ICancellableEvent
Fired every tick that a player is 'using' an item, see LivingEntityUseItemEvent.Start for info. Cancel the event, or set the duration to <= 0 to cause the player to stop using the item.
  • Constructor Details