Interface INpcEvent.TargetEvent

  • All Superinterfaces:
    ICustomNPCsEvent, INpcEvent
    Enclosing interface:
    INpcEvent

    public static interface INpcEvent.TargetEvent
    extends INpcEvent
    Fired when the NPC acquires a new target. Cancelable.
    Hook Name:
    target
    • Method Detail

      • setTarget

        void setTarget​(IEntityLivingBase entity)
        Parameters:
        entity - the new target to set.