Dylan K. Taylor
9c25ec3afd
Some protocol changes for 1.1.0.0
2017-04-01 19:20:30 +01:00
Dylan K. Taylor
e47c7ea55f
A bunch of really dirty hacks to get 1.1.0.0 working
...
Mojang: once again, what the hell have you done.
2017-04-01 19:18:15 +01:00
Dylan K. Taylor
f75cc93160
HOW did nobody notice this?!
2017-04-01 14:08:02 +01:00
Dylan K. Taylor
07f32765ba
Merge branch 'api3/network_mcpe-1.0.5' into api3/network
2017-03-26 18:52:30 +01:00
Dylan K. Taylor
788bd6fc20
Fixed resource packs/login sequence fail, added basic safety restrictions for packet sending before clients are logged in
...
close #452
2017-03-26 14:42:23 +01:00
Dylan K. Taylor
bb79684480
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-25 21:31:48 +00:00
Dylan K. Taylor
2fb92c1c62
Fixed wrong constant value for EntityEventPacket::RESPAWN
2017-03-22 16:10:42 +00:00
Dylan K. Taylor
6ba4a8fe5c
Moved batch packet handling into BatchPacket->handle(), fixed data packet receive timings to include MCPE packet decode time
2017-03-20 10:26:53 +00:00
Dylan K. Taylor
36cda5de61
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-19 21:54:14 +00:00
Dylan K. Taylor
9c350dbe47
Fixed DataPacketReceiveEvent, fixed packet receive timings, gave Player->handleDataPacket() a new use
2017-03-19 21:50:09 +00:00
Dylan K. Taylor
c344caaf78
Refactor InventoryNetworkIds as WindowTypes
2017-03-13 11:39:54 +00:00
Dylan K. Taylor
9e341f74d8
Added new window types and found some UpdateTradePacket fields
2017-03-13 11:27:44 +00:00
Dylan K. Taylor
e7dbda922a
Rename some CommandBlockUpdatePacket fields
2017-03-13 10:44:40 +00:00
Dylan K. Taylor
90abc28c29
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-12 12:30:56 +00:00
Dylan K. Taylor
6c5dbd7359
Merge branch 'master' into api3/network
2017-03-12 12:22:11 +00:00
Dylan K. Taylor
6f1b12b021
Added new 1.0.5 packets
2017-03-11 19:58:32 +00:00
Dylan K. Taylor
004880548c
Autogenerated data for 1.0.5.0
2017-03-11 12:13:55 +00:00
Dylan K. Taylor
d41bdfc31c
Added resource packs support
2017-03-10 21:10:46 +00:00
Dylan K. Taylor
132e04fdbb
Hotbar/inventory bugfixes ( #399 )
...
- Fixed most issues with item equipment in creative
- Added save and restore of currently-held item
- Reset hotbar on death, added API method PlayerInventory->resetHotbar()
- Creative players now have more leeway to get items, alleviates issues with item equipment in desktop GUI
- Fixed creative players wearing armour
- Found unknown field in ContainerSetSlotPacket
- Removed outdated/redundant constants
- Use a case statement in ContainerSetSlotPacket handler, added handling for 0x7a hotbar slot link update
2017-03-09 20:31:55 +00:00
Dylan K. Taylor
1f2b584400
Merge branch 'master' into api3/network
2017-03-09 18:31:10 +00:00
Dylan K. Taylor
d31e92bbe7
Remove beta tag, bump client version to 1.0.4.11
2017-03-09 18:30:51 +00:00
Dylan K. Taylor
08cd944e5d
Merge branch 'master' into api3/network
2017-03-09 18:12:37 +00:00
Dylan K. Taylor
dbb579aa73
Updated LevelSoundEvent constants
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
bc0598c0f1
Autogenerated data for 1.0.4.1
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
f87b745771
New entity metadata and found some UpdateTradePacket fields
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
8d43faf16e
Added Inventory network IDs interface
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
f00e7ccb54
Forgot preprocessor header include
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
7b5e5832cb
Added UpdateTradePacket
2017-03-09 17:55:25 +00:00
Dylan K. Taylor
dd6abff712
Autogenerated data for 1.0.4.0
2017-03-09 17:55:25 +00:00
Dylan K. Taylor
94d78ca554
Added missing returns
2017-03-08 20:38:11 +00:00
Dylan K. Taylor
9311b4f248
Remove unneeded comments
2017-03-08 20:29:24 +00:00
Dylan K. Taylor
295d9bc80b
Cleaned up muddled varint/varlong mess, added separate methods for entity unique and runtime ids, moved some MCPE-protocol-specific methods out of BinaryStream
2017-03-08 20:29:24 +00:00
Dylan K. Taylor
adb7df212c
Let the parent caller catch this so we get encapsulated packet hexdumps
2017-03-08 20:29:22 +00:00
Dylan K. Taylor
9e92a350e3
ClientboundMapItemDataPacket
2017-03-08 20:29:15 +00:00
Dylan K. Taylor
005c2419e9
Fixed batched packets being encoded twice
2017-03-08 20:29:14 +00:00
Dylan K. Taylor
9b47aed0ab
Added MapInfoRequestPacket
2017-03-08 20:29:13 +00:00
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