PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\VersionInfo Class Reference
+ Collaboration diagram for pocketmine\VersionInfo:

Static Public Member Functions

static BUILD_NUMBER ()
 
static GIT_HASH ()
 
static VERSION ()
 

Public Attributes

const BASE_VERSION = "5.15.1"
 
const BUILD_CHANNEL = "stable"
 
const IS_DEVELOPMENT_BUILD = true
 
const NAME = "PocketMine-MP"
 
const TAG_WORLD_DATA_VERSION = "PMMPDataVersion"
 
const WORLD_DATA_VERSION = 1
 

Detailed Description

Definition at line 32 of file VersionInfo.php.

Member Function Documentation

◆ BUILD_NUMBER()

static pocketmine\VersionInfo::BUILD_NUMBER ( )
static

Definition at line 82 of file VersionInfo.php.

◆ GIT_HASH()

static pocketmine\VersionInfo::GIT_HASH ( )
static

Definition at line 59 of file VersionInfo.php.

◆ VERSION()

static pocketmine\VersionInfo::VERSION ( )
static

Definition at line 100 of file VersionInfo.php.

Member Data Documentation

◆ BASE_VERSION

const pocketmine\VersionInfo::BASE_VERSION = "5.15.1"

Definition at line 34 of file VersionInfo.php.

◆ BUILD_CHANNEL

const pocketmine\VersionInfo::BUILD_CHANNEL = "stable"

Definition at line 36 of file VersionInfo.php.

◆ IS_DEVELOPMENT_BUILD

const pocketmine\VersionInfo::IS_DEVELOPMENT_BUILD = true

Definition at line 35 of file VersionInfo.php.

◆ NAME

const pocketmine\VersionInfo::NAME = "PocketMine-MP"

Definition at line 33 of file VersionInfo.php.

◆ TAG_WORLD_DATA_VERSION

const pocketmine\VersionInfo::TAG_WORLD_DATA_VERSION = "PMMPDataVersion"

Name of the NBT tag used to store the world data version.

Definition at line 51 of file VersionInfo.php.

◆ WORLD_DATA_VERSION

const pocketmine\VersionInfo::WORLD_DATA_VERSION = 1

PocketMine-MP-specific version ID for world data. Used to determine what fixes need to be applied to old world data (e.g. stuff saved wrongly by past versions). This version supplements the Minecraft vanilla world version.

This should be bumped if any non-Mojang BC-breaking change or bug fix is made to world save data of any kind (entities, tiles, blocks, biomes etc.). For example, if PM accidentally saved a block with its facing value swapped, we would bump this, but not if Mojang did the same change.

Definition at line 47 of file VersionInfo.php.


The documentation for this class was generated from the following file: