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

Chest open or close

Discussion in 'Development' started by Barry_Bradley, Aug 18, 2019.

  1. Barry_Bradley

    Barry_Bradley Spider

    Messages:
    13
    How to find out if there is an animation for opening a chest. If there is no animation, then create a discovery
    PHP:
    $packet = new BlockEventPacket();
              
    $packet->$event->getBlock()->getX();
              
    $packet->$event->getBlock()->getY();
              
    $packet->$event->getBlock()->getZ();
              
    $packet->eventType 1;
              
    $packet->eventData 2;
              
    $player->dataPacket($packet);
     
  2. Barry_Bradley

    Barry_Bradley Spider

    Messages:
    13
    How to find out if a chest is open?
     
  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.