1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Help to Right Click Air

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

  1. Emirhan Akpınar

    Emirhan Akpınar Slime

    Messages:
    90
    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:
    667
    PlayerItemUseEvent

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

    Emirhan Akpınar Slime

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

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
  5. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    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:
    667
    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.
     
  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.