diff --git a/tools/generate-entity-ids.php b/tools/generate-entity-ids.php index 3dbfcf0e..c977e50e 100644 --- a/tools/generate-entity-ids.php +++ b/tools/generate-entity-ids.php @@ -28,6 +28,7 @@ if(count($argv) !== 2){ fwrite(STDERR, "Required arguments: path to entity ID mapping file\n"); + fwrite(STDERR, "Hint: Input file is a JSON file like entity_id_map.json in pmmp/BedrockData\n"); exit(1); } @@ -67,10 +68,8 @@ namespace pocketmine\network\mcpe\protocol\types\entity; /** - * This file is directly generated from the entity definitions provided by the client. The entities listed in this file - * are expected to always have the same IDs. - * * This file is automatically generated; do NOT edit it by hand. + * Regenerate it by running tools/generate-entity-ids.php */ final class EntityIds{ diff --git a/tools/generate-level-sound-ids.php b/tools/generate-level-sound-ids.php index c58b3685..bb22c438 100644 --- a/tools/generate-level-sound-ids.php +++ b/tools/generate-level-sound-ids.php @@ -29,6 +29,7 @@ if(count($argv) !== 2){ fwrite(STDERR, "Required arguments: path to level sound event ID mapping file\n"); + fwrite(STDERR, "Hint: Input file is a JSON file like level_sound_id_map.json in pmmp/BedrockData\n"); exit(1); } @@ -152,9 +153,8 @@ namespace pocketmine\network\mcpe\protocol\types; /** - * This file is generated from level_sound_id_map.json in BedrockData. - * * This file is automatically generated; do NOT edit it by hand. + * Regenerate it by running tools/generate-level-sound-ids.php */ final class LevelSoundEvent{ private function __construct(){