8114ceaf68
Merge branch 'master' into api3/network
2017-03-18 16:29:38 +00:00
92193fd27b
Use entity IDs in EntityDamageBy*EntityEvents, fixed memory leaks related to PvP/PvE/PvM ( #418 )
2017-03-13 10:30:31 +00:00
c7fdbea0f0
Merge branch 'master' into api3/network
2017-03-08 20:35:41 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
4ee8d14584
Added API for transferring players to other servers ( #355 )
...
* Added API method `Player->transfer()` and PlayerTransferEvent
2017-03-04 18:22:31 +00:00
c21197ef17
Removed entanglement between chunks and providers. WARNING: BREAKING API CHANGES.
...
- All entity and tile constructors now require a \pocketmine\level\Level instead of a \pocketmine\level\format\Chunk.
- Chunk->getProvider() and Chunk->setProvider() have been removed.
- Chunk::__construct() has had the $provider parameter removed.
- Chunk->unload() has had the unused $save parameter removed.
- ChunkEvents now take a Level parameter instead of going through the Chunk
API bump to 3.0.0-ALPHA4
2017-02-21 17:08:45 +00:00
0c35c16727
Fix some doc comments
2017-02-06 14:50:05 +00:00
661f17b6e0
Anti-cheat fixes, settings and API ( #287 )
...
* Added options to disable movement checks and anti-instabreak and API methods to control this
* Fixed anti-flight false positives
* Fix flight toggle kick cannot be disabled
* Added PlayerIllegalMoveEvent
2017-01-25 09:40:48 +00:00
9c36e0cd1c
Added crafting data packet cache, reduces on-join lag spikes, close #248 ( #269 )
2017-01-23 11:03:46 +00:00
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
598e7aac8f
More PhpStorm inspections, import cleanup
2017-01-04 14:55:11 +00:00
2930cf80b4
Merge branch 'master' into mcpe-1.0
2016-12-16 10:29:58 +00:00
175dd0efa6
PhpStorm inspections
...
Fixed some minor bugs and dropped some obsolete code
pocketmine\level\generator namespace is ignored in this commit
2016-12-14 21:49:35 +00:00
adabd7ef65
Merge branch 'master' into mcpe-1.0
2016-12-06 12:04:42 +00:00
5d16ecc003
Entity Effect Events ( #141 )
...
Add EntityEffectEvent class that the EntityEffectAddEvent and
EntityEffectRemoveEvent classes extend. Add event calls to Effect class.
2016-12-06 11:59:49 +00:00
4c49db6036
New generic in-memory chunk format, fixed 0.17.0.1 chunk loading
...
Terrible performance, needs profiling. TODO: fix this.
2016-11-27 21:57:59 +00:00
7eb9530346
Fix CraftItemEvent not return inputs
2016-11-21 17:43:04 +00:00
9242f89221
Add PlayerToggleFlightEvent
2016-10-27 10:55:01 +01:00
58ff381557
PhpStorm automated formatting ( #11 )
...
* PhpStorm reformatting
* Tuned PhpStorm reformatting
* Improved ItemIds and BlockIds formatting
* Tuned more PhpStorm reformatting
* Improved string concatenation
2016-10-03 19:05:48 +08:00
e913b16804
Fixed some lines indented with 4 spaces rather than tabs
2016-10-03 00:58:34 +08:00
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
98d129f1f4
Fix bad copy-paste job, blame @shoghicp
2016-10-01 14:54:50 +01:00
d59fd42fc6
Fixed EntityEatItemEvent::setResidue() declaration
2016-02-22 18:34:11 +08:00
a2641f923d
Merge branch master
2016-02-22 14:32:48 +08:00
a6cd526e60
PHP7 to master
2016-02-21 12:47:30 +01:00
fe2957c315
Fixed imports
2016-02-18 01:43:42 +08:00
21c2e2d429
Closes #3832
2016-02-18 00:08:44 +08:00
e79976bdac
Added events
2016-02-11 22:07:04 +08:00
52e8781d36
Implemented hunger-related regen and damage
2016-02-11 01:53:51 +08:00
d538a254ee
Resolves #3918
2016-02-09 18:25:16 +08:00
a2734f6dc0
Merged master into php7 to support 0.13.1
2016-01-22 17:36:45 +01:00
9ca8c06f82
Merge branch 'patch-6' of https://github.com/MagicDroidX/PocketMine-MP into MagicDroidX-patch-6
2015-12-20 00:39:19 +01:00
4d5da41cd0
Fix autoSave in PlayerQuitEvent
2015-10-31 13:22:45 +08:00
f560d07c97
Merge remote-tracking branch 'origin/mcpe-0.12' into php7
2015-09-27 14:31:28 +02:00
6273875a22
Added Player to CraftItemEvent
2015-09-19 23:08:57 +02:00
3ffdb8e552
Removed @deprecated classes, methods and properties, added some type hints
2015-09-12 17:10:11 +02:00
16ff2d99b0
Merge remote-tracking branch 'origin/master' into mcpe-0.12
2015-09-11 17:34:11 +02:00
cb222601fd
Haters gonna hate, also fix misleading interface default parameter
2015-09-11 16:50:57 +02:00
fdf10b60dc
Added PlayerToggleSneakEVent and PlayerToggleSprintEvent
2015-08-08 13:10:59 +02:00
d026e2ecf0
Implemented new crafting mechanism
2015-08-07 21:26:12 +02:00
c4bdbc5443
Report players as EntityPlayer all the time
2015-06-06 23:09:43 +02:00
62a8f58bb0
Improved block and chunk cache, fixed PlayerQuitEvent player save
2015-06-06 20:28:37 +02:00
f21ed39c1c
Improved timing reports
2015-06-06 19:07:12 +02:00
96f67bdadf
Added auto save to PlayerQuitEvent
2015-06-06 17:56:36 +02:00
9e4d88a852
New extended packet timings
2015-06-06 16:58:49 +02:00
d542dfc2ce
Split player into more methods, added extra timings
2015-06-05 00:19:45 +02:00
71490f60f2
Fixed other invisibility issues
2015-06-04 16:51:48 +02:00
9e14435dbb
Moved network ids to constants, improved some entity methods, more performance
2015-05-30 23:59:24 +02:00
9768bf4f8a
Added BlockBreakEvent::getDrops() and BlockBreakEvent::setDrops(Item[] $drops)
2015-05-30 18:26:47 +02:00
51062940c5
Implemented QueryRegenerateEvent as base for other interfaces
2015-05-26 01:17:34 +02:00