From c5527db4248604cb6ed5154e8d9632c8ab583ea2 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 21 May 2017 13:58:01 +0100 Subject: [PATCH] Be more clear about ProtocolInfo being automatically generated and add notice to not bother submitting PRs for changing version numbers (#931) --- .../network/mcpe/protocol/ProtocolInfo.php | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php b/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php index e789512ff..2a829ddb5 100644 --- a/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php +++ b/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php @@ -16,23 +16,35 @@ * @author PocketMine Team * @link http://www.pocketmine.net/ * - * This file is generated automatically, do not edit it manually. * */ -/** - * Minecraft: PE multiplayer protocol implementation - */ namespace pocketmine\network\mcpe\protocol; - +/** + * Version numbers and packet IDs for the current Minecraft PE protocol + */ interface ProtocolInfo{ + /** + * NOTE TO DEVELOPERS + * Do not waste your time or ours submitting pull requests changing game and/or protocol version numbers. + * Pull requests changing game and/or protocol version numbers will be closed. + * + * This file is generated automatically, do not edit it manually. + */ + /** * Actual Minecraft: PE protocol version */ const CURRENT_PROTOCOL = 107; + /** + * Current Minecraft PE version reported by the server. This is usually the earliest currently supported version. + */ const MINECRAFT_VERSION = 'v1.0.7.0'; + /** + * Version number sent to clients in ping responses. + */ const MINECRAFT_VERSION_NETWORK = '1.0.7.0'; const LOGIN_PACKET = 0x01;