EntityEventPacket USE_ITEM

Discussion in 'Development' started by SPINCY, Apr 24, 2022.


    SPINCY Creeper

    $pk = new EntityEventPacket();
    $pk->entityRuntimeId = Item::BOW;
    $pk->event = EntityEventPacket::USE_ITEM;
    $this->getServer()->broadcastPacket($player->getLevel()->getPlayers(), $pk);

    From the WIN10, when you press the right button, it works and from the phone it does not respond at all, what could be the problem? That there is a request from the WIN10 and phone to RIGHT_CLICK_AIR

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.