Commit graph

1244 commits

Author SHA1 Message Date
Steveice10
6b95b635c7 Changed translation params to a Message array 2014-01-11 15:58:26 -08:00
Steveice10
e0e791d66e fromJsonString -> fromString 2014-01-11 15:53:45 -08:00
Steveice10
23cb077ddb Rewrote most of Message API to be easier to understand and use. 2014-01-11 15:48:12 -08:00
Steven Smith
3a58aa99e0 Update logIn and logOut references in UserAuthentication. 2014-01-11 11:45:11 -08:00
Steven Smith
625c0403dc Update usage of MinecraftProtocol constructor in Test. 2014-01-11 11:43:50 -08:00
Steven Smith
e1c98301ca Allow creating MinecraftProtocol instances with an accessToken instead of a password. 2014-01-11 11:43:03 -08:00
Steven Smith
4517e838ca Update usage of logIn to be lowercase. 2014-01-11 11:40:33 -08:00
Steven Smith
9223f8aaad Change logIn/logOut methods to be all lowercase. 2014-01-11 11:39:57 -08:00
Steven Smith
7949aef02f Add ability to set access token for logging in. 2014-01-11 10:20:58 -08:00
Steven Smith
f5f4075aea Fix reading/writing global entity spawn values. 2014-01-11 09:30:50 -08:00
Steveice10
4a75af8fa9 Use ProtocolConstants in server ping test 2014-01-07 18:58:10 -08:00
Steveice10
90a4170a56 Add option to not wait for session to connect before returning, ensure that channel has been obtained before returning. 2014-01-07 18:57:43 -08:00
Steveice10
a5d007b432 Change packet reading constructors to be private 2014-01-07 18:45:49 -08:00
Steveice10
4764d3a7ee Fix NPE when writing ServerChunkDataPacket if the chunk array is empty. Fixes further issues with #16 2014-01-07 18:33:02 -08:00
Steveice10
3d1915c196 Add convenience constructor to ServerChunkDataPacket for unloading chunks 2014-01-07 18:29:28 -08:00
Steveice10
b0958f9c0c Corrected chunk data full flag behavior to allow less than a full column of chunks to be sent. Closes #16 2014-01-07 16:52:56 -08:00
Steveice10
ee8c53c881 Unknown values in ServerBlockBreakAnimPacket = Stage.RESET 2014-01-03 17:31:51 -08:00
Steveice10
01306f1b94 Somehow this was missed; add keep alive sending 2014-01-03 16:27:20 -08:00
Steveice10
a933383832 Changed "Internal exception" disconnect message to be identifiable as the library 2014-01-03 13:08:54 -08:00
Steveice10
a1a3b749b4 Read message as text if json is null in constructor. 2014-01-03 13:08:05 -08:00
Steveice10
74a9a442be Add Stage.RESET to ServerBlockBreakAnimPacket 2014-01-03 11:50:53 -08:00
Steveice10
30e62ec9e2 ServerAnimationPacket should have a varint entity id 2014-01-03 10:35:35 -08:00
Steveice10
471a15bf8d Added Generic value to ServerBlockValuePacket to fix cases where a server might send the wrong block id 2014-01-03 10:10:46 -08:00
Steveice10
0ba777f18d Changed yaw/pitch in ClientPlayerMovementPacket to floats. Thanks to @hardtoe for pointing out the problems addressed in recent commits 2014-01-03 09:15:51 -08:00
Steveice10
aa5c48558c Implement INVALID Face values in ClientPlayerDigPacket for received values such as 255 2014-01-03 09:14:00 -08:00
Steveice10
8230753d68 Correct reading/writing of ClientAnimationPacket. 2014-01-03 09:10:20 -08:00
Steveice10
5bf933881c Correct reading/writing of ClientEntityActionPacket. Closes #12 2014-01-03 09:06:54 -08:00
Steveice10
cb39f01614 Added DefaultAttribute constructors to Attribute 2014-01-01 09:15:08 -08:00
Steveice10
df043e6271 Improve toString methods in auth package, remove AuthenticationService 2014-01-01 09:12:13 -08:00
Steveice10
c2e238ab8c Moved request methods from AuthenticationService to URLUtils 2014-01-01 09:04:50 -08:00
Steveice10
77a7610f32 Bumped version up to 1.7.4 and improved Message API 2014-01-01 08:43:57 -08:00
Steveice10
6f4f161a3c Added link for downloading builds 2013-12-19 17:19:25 -08:00
Steveice10
ee8a02ddc5 Added link for downloading builds 2013-12-19 17:18:04 -08:00
Steveice10
e90d9d8031 Added support for translate messages 2013-12-14 17:22:18 -08:00
Steveice10
eec5807cfa Remove debug message 2013-12-14 17:03:25 -08:00
Steveice10
91d16ae3be Change packet header to have length int, add splitter to split packets by length, add encryption support, misc changes in preparation for MCProtocolLib rewrite 2013-12-14 16:41:25 -08:00
Steveice10
4088aacd0a Rewrite of library for 1.7.2. Javadocs coming soon 2013-12-14 16:40:30 -08:00
Steveice10
e5fc2cef87 Initial commit 2013-11-29 14:34:06 -08:00
Steveice10
cea0d82ed4 Updated maven URLs again 2013-11-17 20:50:30 -08:00
Steveice10
ad032f3ce2 Updated maven URLs 2013-11-17 15:11:39 -08:00
Steveice10
7112e67607 Pre-1.7 misc. fixes (Waiting for 1.7.2 MCP update) 2013-11-01 17:43:53 -07:00
Steveice10
435a20230e Update README.md 2013-11-01 15:39:42 -07:00
Steveice10
08052aa9e3 Update README.md 2013-10-27 12:19:03 -07:00
Steveice10
4fb59ec32a Update README.md 2013-10-27 12:18:35 -07:00
Steveice10
56410c470e Merge pull request #7 from dezmond/master
Added Visitor Pattern
2013-09-15 15:14:59 -07:00
Desmond Connor
b88f30079f Added Visitor Pattern 2013-09-15 12:29:39 +01:00
Steveice10
36b8747461 Fix writing field in PacketBlockAction. Thanks to Cr0s for the heads up with problems fixed in this commit and the previous one. 2013-08-18 10:17:49 -07:00
Steveice10
f65f0f59e5 Fixed some packets, added forge dimension field compatibility to PacketLogin (set PacketLogin.FORGE = true) 2013-08-18 10:14:14 -07:00
Steveice10
3f0ad4b462 Fix writing length in PacketMapChunk 2013-08-06 08:18:58 -07:00
Steveice10
9f7e7302a5 Ignore reading in closing socket 2013-07-25 18:58:45 -07:00