Help to Right Click Air

Discussion in 'Development' started by Emirhan Akpınar, Nov 1, 2018.

  1. Emirhan Akpınar

    Emirhan Akpınar Spider

    Messages:
    10
    GitHub:
    EmirhanWSD
    Hi. I make egg launcher. But it doesnt successive create egg entity. It creates egg entity when i touch block. How can i detect if player right click air. I looked but i didnt see any action and any code. Thanks for helps.
     
  2. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    570
    PlayerItemUseEvent

    Do not use dev-builds please.
     
  3. Emirhan Akpınar

    Emirhan Akpınar Spider

    Messages:
    10
    GitHub:
    EmirhanWSD
    Thank bro. I will try. Is this right click air? Are you sure?
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    570
  5. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    634
    GitHub:
    dktapps
    > don't use dev builds
    > proceeds to tell user to use something that only exists in dev builds
     
  6. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    570
    Since in the first message he says that nothing happens, the interact event is not called, which means he uses dev builds. I provided the way to do that with a stable pocketmine version. It is his own choice.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.