Dylan K. Taylor
55598ba703
Moaaaar resource packets
2017-03-08 20:29:13 +00:00
Dylan K. Taylor
425686755b
Added basic resource-pack response handling, fixed sounds, broadcast sounds received from client
...
There are still a lot of sounds which do not work, these are supposed to be sent by the server and will be fixed at a later date.
2017-03-08 20:29:04 +00:00
Dylan K. Taylor
e008a3cd5e
Added handling for unknown packets
2017-03-08 20:29:03 +00:00
Dylan K. Taylor
5aed0fb0d5
Remove redundant TODO comment
2017-03-08 20:29:02 +00:00
Dylan K. Taylor
d0faf3df91
Added S2C and C2S handshake packet classes and stub handlers
...
TODO: implement encryption
Add boilerplate reset() for C2S packet encode
This crap really needs fixing
2017-03-08 20:28:52 +00:00
Dylan K. Taylor
ea0f291cb5
Added class method DataPacket->canBeBatched()
2017-03-08 20:28:40 +00:00
Dylan K. Taylor
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
Dylan K. Taylor
477cb77002
Exploded Player->handleDataPacket() into 70+ methods
2017-03-08 20:28:20 +00:00
Dylan K. Taylor
15f098074a
Fixed batched packets being encoded twice
2017-03-03 17:33:30 +00:00
Dylan K. Taylor
8bf3b6bbea
Added ShowCreditsPacket
2017-03-02 11:04:51 +00:00
Dylan K. Taylor
eb13cec5d0
Added new packets
2017-03-02 11:04:51 +00:00
Dylan K. Taylor
0cd1e82c52
Fixed encode/decode of ResourcePacksInfoPacket and ResourcePackClientResponsePacket
2017-03-02 11:04:50 +00:00
Dylan K. Taylor
dc7b5b14d5
Fixed wrong encoding of ResourcePacksInfoPacket
2017-02-24 12:38:02 +00:00
Dylan K. Taylor
f98a964cdc
Fixed and silenced some inspections
2017-02-23 15:17:28 +00:00
Dylan K. Taylor
99995579d7
Added WorldBuilder flag to AdventureSettingsPacket
2017-02-23 12:20:36 +00:00
Dylan K. Taylor
834dc343b0
Updated ItemFrameDropItemPacket for >=1.0.3, fix decode errors
...
Sorry, this DOES NOT FIX creative, blame Mojang. https://bugs.mojang.com/browse/MCPE-20070
2017-02-18 15:09:44 +00:00
Dylan K. Taylor
8a3c30ee7e
Moved entity metadata methods out of Binary
2017-02-13 14:05:16 +00:00
Dylan K. Taylor
b89a17ffe2
Added missing attributes encoding to AddEntityPacket
2017-02-12 10:35:35 +00:00
Dylan K. Taylor
f5e39ea9ad
Merge branch 'mcpe-1.0.3.0'
2017-02-09 16:36:47 +00:00
Dylan K. Taylor
c4d0fdb436
Added clientData field so plugins can access extra data
2017-02-08 21:25:02 +00:00
Dylan K. Taylor
2a4fb93a92
Updated RakLib, use reliability constants instead of literal values
2017-02-07 11:34:25 +00:00
Dylan K. Taylor
06dd410340
Merge branch 'master' into mcpe-1.0.3.0
2017-02-01 18:15:08 +00:00
Dylan K. Taylor
cf83143bbd
Silence unread buffer assertion on incompatible protocol
2017-02-01 18:13:50 +00:00
Dylan K. Taylor
28baae8154
Fix RakLib crashing without logging any useful crash information
2017-02-01 17:59:13 +00:00
Dylan K. Taylor
7701555005
added default port 19132
2017-02-01 15:23:16 +00:00
Dylan K. Taylor
38937fc4cc
Added TransferPacket
...
TYSM MOJANG
2017-02-01 12:59:01 +00:00
Dylan K. Taylor
bf6e8db941
Autogenerated data for 1.0.3.0
2017-02-01 10:11:55 +00:00
Dylan K. Taylor
17102058ca
Unknown in PlayerFallPacket is fallDistance
2017-01-28 22:03:28 +00:00
Dylan K. Taylor
0535acf211
Update some LevelEvents
2017-01-27 18:21:11 +00:00
Dylan K. Taylor
77456702e9
Remove some old protocol leftovers
2017-01-24 12:08:25 +00:00
Dylan K. Taylor
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
Dylan K. Taylor
ad0553fbf8
Bump to API 3.0.0-ALPHA2 - READ DESCRIPTION!
...
Refactored level\format\generic\GenericChunk -> level\format\Chunk.
Re-added support for async chunk sending
Refactored most Level IO into new namespaces for more organisation
Removed LevelDB loader completely (will be re-added at a later date)
2017-01-06 17:13:45 +00:00
Dylan K. Taylor
598e7aac8f
More PhpStorm inspections, import cleanup
2017-01-04 14:55:11 +00:00
Dylan K. Taylor
1cb96d24ce
Some fixes, thanks PhpStorm
2017-01-04 11:29:24 +00:00
Dylan K. Taylor
18ebc64ea0
Rename LevelSoundEventPacket field and add defaults
2016-12-28 23:07:56 +00:00
Dylan K. Taylor
4f4bdea104
Fix trailing slashes in MOTD breaks server list, close #153 ( #154 )
...
Fixes #4083
2016-12-28 23:07:56 +00:00
Dylan K. Taylor
5443b10257
Use -1 for anydamage and empty string for null NBT, closes #146
2016-12-21 14:45:34 +00:00
Dylan K. Taylor
4b21e35d6e
Fix head rotation issues, thank @jojoe77777
2016-12-20 09:38:47 +00:00
Dylan K. Taylor
d9eb767420
Merge branch 'master' into mcpe-1.0
2016-12-19 18:38:13 +00:00
Dylan K. Taylor
a8694dcbf7
Relocated MINECRAFT_VERSION and MINECRAFT_VERSION_NETWORK to ProtocolInfo and deprecated the originals
2016-12-19 13:16:29 +00:00
Dylan K. Taylor
146f5a567f
Add cases for some unhandled Player Actions and add unknown field to ContainerSetSlotPacket
2016-12-13 11:43:37 +00:00
Dylan K. Taylor
99e8bcf26b
Auto-generated sound constants from 1.0.0.2
2016-12-10 15:10:14 +00:00
Dylan K. Taylor
6224f0cdf6
Protocol bump for 1.0.0.2
2016-12-10 12:22:28 +00:00
Dylan K. Taylor
cc9736314e
Protocol update for 1.0.0.1
...
Added PlayerFallPacket
2016-12-08 12:34:31 +00:00
Dylan K. Taylor
6a8976c534
New PlayerActionPacket constants
2016-12-03 22:12:52 +00:00
Dylan K. Taylor
28c3a882f8
Add new field to UseItemPacket
2016-12-02 18:43:35 +00:00
Dylan K. Taylor
fb74d93e00
Protocol changes for 1.0.0.0
2016-12-02 13:20:52 +00:00
Dylan K. Taylor
60260a294b
Remove chunk order fields
2016-11-27 21:57:59 +00:00
Dylan K. Taylor
18c0567944
Autogenerated data for 0.17.0.1 (not functional yet)
2016-11-27 21:57:59 +00:00
Kripth
208884422d
Added whisper
2016-11-20 20:03:56 +08:00