Dylan K. Taylor
cf538afb84
LevelEventPacket: added two extra IDs
2019-05-31 15:31:03 +01:00
Dylan K. Taylor
05af87e1d4
Strip empty lines at the end of classes
2018-06-11 13:19:23 +01:00
Dylan K. Taylor
8020780fc5
LevelEventPacket: added enderman teleport particle cloud constant
2018-03-09 17:20:35 +00:00
Dylan K. Taylor
dbcc69c2de
LevelEventPacket: added useless constant
2018-03-09 11:35:08 +00:00
Dylan K. Taylor
95d42b9907
Network: Remove legacy Vector3 primitive encode/decode methods
2018-01-20 10:58:39 +00:00
Dylan K. Taylor
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
Dylan K. Taylor
eda2473e78
New LevelEventPacket constants
2017-08-16 12:53:53 +01:00
Dylan K. Taylor
9be1b929a5
Added PhpDoc for packet field types and changed float x,y,z to Vector3
2017-08-13 20:02:07 +01:00
Dylan K. Taylor
7886918140
Cleaned up some bad code in DataPacket, added encode/decodeHeader and made encode/decodePayload protected
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
2726f2a011
Solved packet encode/decode boilerplate code issue
...
Something as simple as forgetting the reset() when encoding would cause lots of problems which could go unnoticed. This should be fully backwards-compatible but needs more tests.
2017-07-07 13:59:09 +01:00
Dylan K. Taylor
1493cde07f
Added pause-game LevelEvent constant
2017-07-05 17:51:53 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
0a4d62b405
Added encode and decode methods for more packets
2017-05-15 15:56:59 +01:00
Dylan K. Taylor
702c129a97
Added basic support back for block-crack animations when breaking blocks
...
TODO: improve this to take stuff like swimming, ladders, enchanted tools into account, fix wrong tool break time calculations for bad tools (pmmp/PocketMine-MP#211 )
2017-05-05 09:40:55 +01:00
Dylan K. Taylor
18f1376c65
Added handling for punch-block player action, added block punch particles
2017-05-04 21:11:47 +01:00
Dylan K. Taylor
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00