getPosition())); } public function getNetworkType() : int{ return WindowTypes::CONTAINER; } public function getName() : string{ return "EnderChest"; } public function getDefaultSize() : int{ return 27; } /** * Set the holder's position to that of a tile * * @param EnderChest $enderChest */ public function setHolderPosition(EnderChest $enderChest){ $this->holder->setComponents($enderChest->getX(), $enderChest->getY(), $enderChest->getZ()); $this->holder->setLevel($enderChest->getLevel()); } /** * This override is here for documentation and code completion purposes only. * @return FakeBlockMenu */ public function getHolder(){ return $this->holder; } }