github pmmp/PocketMine-MP api/3.0.0-ALPHA5
PocketMine-MP 1.6.2dev-57 "Unleashed" with API 3.0.0-ALPHA5

latest releases: 5.21.1, 5.21.0, 5.20.1...
pre-release7 years ago

For Minecraft PE 1.0.7.0
Many bug fixes, changes to network API (work still in progress!), improved chunk sending, added resource packs support

DISCLAIMER: THIS IS AN ALPHA SNAPSHOT. THIS BUILD IS NOT FEATURE-COMPLETE AND IS LIKELY TO BE HIGHLY UNSTABLE. WE ARE NOT RESPONSIBLE FOR NUCLEAR WAR, EXPLOSIONS OR CORRUPTION OF DATA RESULTING FROM USE OF THIS BUILD.

This build has breaking API changes, so the API has been bumped to 3.0.0-ALPHA5. These changes are NOT yet complete.

Notable changes

Core

  • World format implementations using Regions will now be more thoroughly checked for validity before the core attempts to use them. (#393)
  • Fixed a crash that would prevent a world from being at all usable if a Human was created with an invalid skin.
  • Fixed chunk object memory leak when chunks are replaced by the generator.
  • Tile and Entity NBT trees are now destroyed when their close() methods are called to combat memory leaks.
  • Fixed tile and entity object memory leaks and crashes when replacing chunks
  • Chunk->addTile(Tile) and Chunk->addEntity(Entity) will now throw exceptions if something attempts to add a closed tile or entity to them.
  • Fixed squid health attribute errors
  • Fixed server crash when taking damage after dying when the Health Boost effect was applied before death.
  • Fixed crashes when using xdebug and breaking very tall cacti or sugarcane (recursive block updates)
  • Fixed some packets being sent with reliability level 0, may improve connections randomly being dropped
  • Fixed memory leak related to persistent entities when lots of players join and quit a server in the same area
  • Fixed possible item NBT duplication where items were holding references to the same NBT trees when cloned.
  • Fixed usage always being reported even when disabled in pocketmine.yml
  • Fixed stack traces in the logger sometimes missing the top stack frame.
  • Fixed Entity object memory leak in EntityDamageByEntityEvent
  • Fixed Player object memory leak when players subscribed to the administrative broadcast permission quit the server
  • Non-generated chunks will no longer be saved to disk, fixes big dirty holes in some maps due to chunks being saved before being generated
  • Rewritten the chunk sending algorithm, much better chunk sending (will now actually reach the horizon)
  • Fixed a major memory leak when a W10 player set a very high render distance due to the server not enforcing radius limits. This has been corrected,. A player's render distance will now be set to the minimum of the spawn radius, the player's radius, or the server default render distance.
  • The settings chunk-sending.max-chunks has been removed from pocketmine.yml in favour of a more vanilla view-distance setting in server.properties (values match MCPE render distance settings) and chunk-sending.spawn-threshold has been replaced with chunk-sending.spawn-radius (again, same values as MCPE).
  • Fixed CPU waste of batched packets sometimes being encoded twice.
  • Auto-updater checks are now done with an AsyncTask to prevent slowdown on server start.
  • Added debug output for lots of network- and protocol-related things.

API

  • Massive refactor of the network namespace. All packets have moved from network\protocol to network\mcpe\protocol, and Info has been renamed to ProtocolInfo. This is to make space for future changes. Note that these changes are far from complete and more will follow.
  • Added API methods to Player to allow transferring them to other servers, and to allow sending titles.
  • Added Entity API for setting entity scale.
  • Added support for commands with spaces in their names for future command implementation.
  • Item->deepEquals() has been deprecated and its functionality added to Item->equals().
  • Added the Color class to the utils namespace. This was primarily added for use when reversing the encoding of the ClientboundMapItemDataPacket.
  • Player->hasPermission() will now throw an exception if the player has been closed.
  • Commands no longer all have the same hints if you modify one command's data.
  • API methods Player::isValidSkin() and Player::isValidName() have been added.
  • The API for Utils internet access has been improved, added BulkCurlTask for batch-executing cURL operations. See #834 for details.

Gameplay

  • Fixed sounds not working after 1.0.4
  • Added resource packs support. This support is currently very basic and will be improved in the future. Currently only resource packs in the .zip format are supported. See the resource packs configuration for details (will be created in the resource_packs/ directory after you run the server).
  • Hunger now works!
  • Implemented Absorption effect
  • Fixed bows can't be fired after starting or stopping sprint.
  • Fixed solid blocks filtering their own light, fixes light saving for lit furnace, pumpkins and glowing obsidian.
  • Fixed unlit furnaces glowing in the dark.
  • Fixed lighting issues due to light changes in subchunks which were not being saved to disk.
  • Block light is now correctly updated when removing obstructions.
  • Fixed potion bubbles not working.
  • Added support for copying tile NBT onto items by ctrl+middle-clicking on Windows 10 Edition.
  • Fixed blocks sometimes glitching and reappearing when broken due to timing issues.
  • Fixed slowness being removed when trying to sprint
  • Fixed lots of issues with the hotbar, armor equipment and item equipment in creative (and caused some creative transaction bugs)
  • Fixed Cake recipe not showing up due to having multiple result items
  • Fence-gates now work properly
  • Spectator-mode players cannot break blocks anymore if the AdventureSettings flags were not set correctly.
  • Fixed some issues with entity spawn rotation due to a silly mistake in AddEntityPacket.

Don't miss a new PocketMine-MP release

NewReleases is sending notifications on new releases.