4518 Commits

Author SHA1 Message Date
Shoghi Cervantes
3ffdb8e552 Removed @deprecated classes, methods and properties, added some type hints 2015-09-12 17:10:11 +02:00
Shoghi Cervantes
29a5012c02 Merge remote-tracking branch 'origin/mcpe-0.12' into php7 2015-09-12 01:03:09 +02:00
Shoghi Cervantes
a1a1327415 Removed signed parameter in BinaryStream->getShort() in favor of getSignedShort() 2015-09-12 00:57:09 +02:00
Shoghi Cervantes
16ff2d99b0 Merge remote-tracking branch 'origin/master' into mcpe-0.12 2015-09-11 17:34:11 +02:00
Shoghi Cervantes
cb222601fd Haters gonna hate, also fix misleading interface default parameter 2015-09-11 16:50:57 +02:00
Shoghi Cervantes
922e9d93d5 Moved exception handler to a big try catch 2015-09-11 09:09:45 +02:00
Shoghi Cervantes
e137ac4c56 Base PHP7 work to make it "run" - READ NEXT LINES!
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php

To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!

----- THIS VERSION IS NOT SUPPORTED -----

This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.

Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
Shoghi Cervantes
8f24306d65 Merge remote-tracking branch 'origin/master' into mcpe-0.12 2015-09-05 18:22:28 +02:00
Shoghi Cervantes
59a775f82c Merge pull request #3448 from willowmaster66/willowmaster66-patch-4
First item in the hotbar is not loaded correctly
2015-09-05 18:19:45 +02:00
Sjoerd
5baa87e9fe First item in the hotbar is not loaded correctly
When you logon the first hotbar item contains the first item of the inventory, but it should contain the previously selected item.
2015-09-04 23:40:19 +02:00
Shoghi Cervantes
bdf5c46793 Merge branch 'master' into mcpe-0.12 2015-08-31 17:51:07 +02:00
Shoghi Cervantes
4bd14e7424 Revert commit that removed useful parameter for plugins that made backwards-incompatible changes
Revert "@PEMapModder Removed redundant parameters for Living::knockBack. Closes #3427."

This reverts commit 9adcc19154e1a448ff5ff894a9ff804f17b066f1.
2015-08-31 17:48:52 +02:00
Shoghi Cervantes
a18826473b Added enderman teleport sound 2015-08-31 17:48:28 +02:00
PEMapModder
9adcc19154
@PEMapModder Removed redundant parameters for Living::knockBack. Closes #3427. 2015-08-31 22:05:49 +09:30
Michael Yoo
66b86c3685 Merge pull request #3423 from willowmaster66/willowmaster66-patch-1
Block cache not cleared with a call to clearcache
2015-08-31 21:43:03 +09:30
Michael Yoo
7d18b92ea1 Merge pull request #3426 from PEMapModder/patch-7
Remove unused parameter in Level::requestChunk
2015-08-30 02:56:26 +09:30
PEMapModder
0348d181d4 Remove unused parameter in Level::requestChunk 2015-08-29 18:03:40 +08:00
Sjoerd
0b9b1738b3 Block cache not cleared with a call to clearcache
While trying to figure out Github and looking for a different bug I found this small bug in the code. The ClearCache function on Level.php did not correctly clear the blockcache.
2015-08-27 10:44:44 +02:00
Shoghi Cervantes
244cef3b00 . <-- descriptive commit ftw! 2015-08-23 00:25:30 +02:00
Shoghi Cervantes
b47cebb1d5 PHP7 changes 2015-08-23 00:25:30 +02:00
Shoghi Cervantes
7f8b39a63c Renamed NBT tags to have Tag in the name 2015-08-23 00:25:29 +02:00
Shoghi Cervantes
34dc6ea0d6 NOTE! THIS SHOULD BE REVERTED LATER! Removed WeakRef dependency 2015-08-23 00:25:29 +02:00
Shoghi Cervantes
d7d05c20a9 Bumped to API 2.0.0 2015-08-23 00:25:29 +02:00
Shoghi Cervantes
91bda131be Merge pull request #3395 from luca28pet/patch-1
Spelling fix
2015-08-22 23:37:23 +02:00
Luca P.
1a9ec65983 Spelling fix 2015-08-22 15:58:45 +02:00
Shoghi Cervantes
fabb632286 More changes! 2015-08-13 18:02:10 +02:00
Shoghi Cervantes
99df6f8edc Updated language 2015-08-13 09:17:43 +02:00
Shoghi Cervantes
6e2ea63ce1 Merge remote-tracking branch 'origin/master' into mcpe-0.12 2015-08-12 15:00:04 +02:00
Shoghi Cervantes
31ef7721b1 Removed network channels, bumped protocol 2015-08-12 14:59:48 +02:00
Shoghi Cervantes
f1cc8ddde4 Merge pull request #3372 from SuperMarcus/patch-2
Fix wrong id passed to constructer in CookedFish.php
2015-08-11 19:57:33 +02:00
Marcus Zhou
25b9946d9e Fix wrong id passed to constructer in CookedFish.php 2015-08-11 23:06:40 +08:00
Shoghi Cervantes
5a626405e3 Merge pull request #3368 from thebigsmileXD/patch-2
Added sound for opening/closing (FenceGates)
2015-08-11 12:58:34 +02:00
thebigsmileXD
311d8d94dd Added sound for opening/closing (FenceGates)
Added DoorSound on opening/closing FenceGates depending on #3367 @0929hitoshi 's Idea
2015-08-11 12:48:41 +02:00
Shoghi Cervantes
7d0810a5af Merge pull request #3367 from thebigsmileXD/patch-1
Added opening/closing sound
2015-08-11 12:27:18 +02:00
thebigsmileXD
a5efd0bdf8 Added opening sound 2015-08-11 11:52:08 +02:00
Michael Yoo
ff232a9f04 Merge pull request #3332 from PEMapModder/dec
Disallow registration of events without handlerList, fixes #3330
2015-08-11 16:12:59 +09:30
Shoghi Cervantes
8889e687c9 Changed TextPacket 2015-08-10 23:40:14 +02:00
Intyre
0f993f8beb
setDisplayName skin fix 2015-08-10 16:33:27 +02:00
PEMapModder
d5c2702908 Update PluginManager.php 2015-08-10 22:14:11 +08:00
Shoghi Cervantes
62848b914d Fixed String values on NBT parsing 2015-08-10 15:09:23 +02:00
Shoghi Cervantes
0ce343d8ca Fixed escaping values in NBT parser 2015-08-09 13:52:15 +02:00
Shoghi Cervantes
534b988a1c Added basic Nether generator 2015-08-09 00:38:23 +02:00
Shoghi Cervantes
a9ead5567b Improved NBT json parsing, attribute base 2015-08-08 22:39:43 +02:00
Shoghi Cervantes
f5429ef585 Merge remote-tracking branch 'origin/master' into mcpe-0.12 2015-08-08 16:50:37 +02:00
Michael Yoo
d729961bde Merge pull request #3331 from PEMapModder/patch-5
Fixes #3330
2015-08-09 00:12:35 +09:30
Shoghi Cervantes
f093a6498d Added base enchantment adding utilities, /enchant command 2015-08-08 16:03:04 +02:00
Shoghi Cervantes
4dd0469792 Base enchantment class 2015-08-08 14:53:03 +02:00
Shoghi Cervantes
fe196c6404 Added display of names on death 2015-08-08 13:35:57 +02:00
Shoghi Cervantes
fdf10b60dc Added PlayerToggleSneakEVent and PlayerToggleSprintEvent 2015-08-08 13:10:59 +02:00
Shoghi Cervantes
d4163ea01c Added sneaking, sprinting 2015-08-08 13:02:59 +02:00