13declare(strict_types=1);
16 fwrite(STDERR,
"Required args: path to BedrockData" . PHP_EOL);
20passthru(PHP_BINARY .
" " . __DIR__ .
'/generate-protocol-info.php ' . escapeshellarg($argv[1] .
'/protocol_info.json'));
21passthru(PHP_BINARY .
" " . __DIR__ .
'/generate-entity-ids.php ' . escapeshellarg($argv[1] .
'/entity_id_map.json'));
22passthru(PHP_BINARY .
" " . __DIR__ .
'/generate-level-sound-ids.php ' . escapeshellarg($argv[1] .
'/level_sound_id_map.json'));
23passthru(PHP_BINARY .
" " . __DIR__ .
'/generate-command-parameter-types.php ' . escapeshellarg($argv[1] .
'/command_arg_types.json'));