Skip to content

VersionInfo ​

final class · pocketmine\VersionInfo · source

Constants ​

BASE_VERSION ​

php
public const BASE_VERSION = "5.46.1"

BUILD_CHANNEL ​

php
public const BUILD_CHANNEL = "stable"

GITHUB_URL ​

php
public const GITHUB_URL = "https://gitlab.com/VanillaPocketMine/VanillaMine"

The project page (VanillaMine on GitLab; the name is kept for plugins that use it).

IS_DEVELOPMENT_BUILD ​

php
public const IS_DEVELOPMENT_BUILD = true

NAME ​

php
public const NAME = "PocketMine-MP"

TAG_WORLD_DATA_VERSION ​

php
public const TAG_WORLD_DATA_VERSION = "PMMPDataVersion"

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

WORLD_DATA_VERSION ​

php
public const 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.

Methods ​

BUILD_NUMBER() ​

php
public static function BUILD_NUMBER() : int

GIT_HASH() ​

php
public static function GIT_HASH() : string

VERSION() ​

php
public static function VERSION() : \pocketmine\utils\VersionString

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.