I can open a chest head using: PHP: /* getVector is returns vector that i needed *//* $p instanceof Player */$pack1 = new BlockEventPacket();$pack1->x = $this->getVector(self::TYPE_CHEST1)->getFloorX();$pack1->y = $this->getVector(self::TYPE_CHEST1)->getFloorY();$pack1->z = $this->getVector(self::TYPE_CHEST1)->getFloorZ();$pack1->eventType = 1;$pack1->eventData = 2;$p->dataPacket($pack1); but how to close chest head? i'm incrementing eventType and eventData up to 30 but it doesnt closing anyway. and is there a list of datas or types from mojang or something? where developers like @dktapps can take info about mcbe
well, thank everyone for helping find solution by myself: PHP: /* getVector is returns vector that i needed *//* $p instanceof Player */$pack1 = new BlockEventPacket();$pack1->x = $this->getVector(self::TYPE_CHEST1)->getFloorX();$pack1->y = $this->getVector(self::TYPE_CHEST1)->getFloorY();$pack1->z = $this->getVector(self::TYPE_CHEST1)->getFloorZ();$pack1->eventType = 1;$pack1->eventData = 0;$p->dataPacket($pack1);