mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
reduce some doc comments to single line
This commit is contained in:
parent
344c980cff
commit
456d9a722a
@ -36,14 +36,10 @@ class ExperienceOrb extends Entity{
|
|||||||
public const TAG_VALUE_PC = "Value"; //short
|
public const TAG_VALUE_PC = "Value"; //short
|
||||||
public const TAG_VALUE_PE = "experience value"; //int (WTF?)
|
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;
|
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.
|
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.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,13 +28,9 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class CreativeInventoryAction extends InventoryAction{
|
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;
|
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;
|
public const TYPE_CREATE_ITEM = 1;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
|
@ -75,9 +75,7 @@ class AvailableCommandsPacket extends DataPacket{
|
|||||||
*/
|
*/
|
||||||
public const ARG_FLAG_ENUM = 0x200000;
|
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 ARG_FLAG_POSTFIX = 0x1000000;
|
||||||
|
|
||||||
public const HARDCODED_ENUM_NAMES = [
|
public const HARDCODED_ENUM_NAMES = [
|
||||||
|
@ -36,17 +36,11 @@ interface ProtocolInfo{
|
|||||||
* This file is generated automatically, do not edit it manually.
|
* 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;
|
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';
|
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 MINECRAFT_VERSION_NETWORK = '1.14.0';
|
||||||
|
|
||||||
public const LOGIN_PACKET = 0x01;
|
public const LOGIN_PACKET = 0x01;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user