Class InteractionChainStartEvent

java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.modules.interaction.event.InteractionChainStartEvent
All Implemented Interfaces:
ICancellableEcsEvent

public class InteractionChainStartEvent extends CancellableEcsEvent
Fired on an entity when one of its interaction chains starts, whether the chain is client-initiated (e.g. a Primary weapon swing) or server-started, and whether or not it later hits anything. The event fires synchronously, before the chain's first tick, so listeners can prime the chain's context before any of its interactions run.
  • Constructor Details

    • InteractionChainStartEvent

      public InteractionChainStartEvent(@Nonnull InteractionChain chain)
  • Method Details