reduce some doc comments to single line

This commit is contained in:
Dylan K. Taylor 2020-03-10 12:36:19 +00:00
parent 344c980cff
commit 456d9a722a
4 changed files with 8 additions and 24 deletions

View File

@ -36,14 +36,10 @@ class ExperienceOrb extends Entity{
public const TAG_VALUE_PC = "Value"; //short
public const TAG_VALUE_PE = "experience value"; //int (WTF?)
/**
* Max distance an orb will follow a player across.
*/
/** Max distance an orb will follow a player across. */
public const MAX_TARGET_DISTANCE = 8.0;
/**
* Split sizes used for dropping experience orbs.
*/
/** Split sizes used for dropping experience orbs. */
public const ORB_SPLIT_SIZES = [2477, 1237, 617, 307, 149, 73, 37, 17, 7, 3, 1]; //This is indexed biggest to smallest so that we can return as soon as we found the biggest value.
/**

View File

@ -28,13 +28,9 @@ use pocketmine\Player;
class CreativeInventoryAction extends InventoryAction{
/**
* Player put an item into the creative window to destroy it.
*/
/** Player put an item into the creative window to destroy it. */
public const TYPE_DELETE_ITEM = 0;
/**
* Player took an item from the creative window.
*/
/** Player took an item from the creative window. */
public const TYPE_CREATE_ITEM = 1;
/** @var int */

View File

@ -75,9 +75,7 @@ class AvailableCommandsPacket extends DataPacket{
*/
public const ARG_FLAG_ENUM = 0x200000;
/**
* This is used for /xp <level: int>L. It can only be applied to integer parameters.
*/
/** This is used for /xp <level: int>L. It can only be applied to integer parameters. */
public const ARG_FLAG_POSTFIX = 0x1000000;
public const HARDCODED_ENUM_NAMES = [

View File

@ -36,17 +36,11 @@ interface ProtocolInfo{
* This file is generated automatically, do not edit it manually.
*/
/**
* Actual Minecraft: PE protocol version
*/
/** Actual Minecraft: PE protocol version */
public const CURRENT_PROTOCOL = 389;
/**
* Current Minecraft PE version reported by the server. This is usually the earliest currently supported version.
*/
/** Current Minecraft PE version reported by the server. This is usually the earliest currently supported version. */
public const MINECRAFT_VERSION = 'v1.14.0';
/**
* Version number sent to clients in ping responses.
*/
/** Version number sent to clients in ping responses. */
public const MINECRAFT_VERSION_NETWORK = '1.14.0';
public const LOGIN_PACKET = 0x01;