Commit graph

1406 commits

Author SHA1 Message Date
Steveice10
973cb8a790 Fixed ServerSpawnParticlePacket reading offsetZ twice 2014-01-27 16:08:22 -08:00
Steveice10
415903dd33 Most of work moving enums into their own files and adding MagicValues system, apply recent fixes from other branches 2014-01-26 21:52:02 -08:00
Steveice10
4f57237070 Added enum constants for skin flags 2014-01-24 20:34:36 -08:00
Steveice10
30c7b5af27 Remove auth debug messages, throw exceptions instead of printing out error messages 2014-01-24 18:38:17 -08:00
Steveice10
b4d03d2308 14w04b 2014-01-24 18:27:27 -08:00
Steveice10
416f8b0ebe 14w03b 2014-01-22 17:33:12 -08:00
Steveice10
d0c110f204 Update LICENSE 2014-01-11 21:17:07 -08:00
Steveice10
bb0e73dc0f Update README and pom 2014-01-11 21:13:52 -08:00
Steveice10
5c81211588 Update to 14w02b 2014-01-11 21:02:29 -08:00
Steveice10
a73654861f Actually implement ServerSetExperiencePacket. 2014-01-11 20:18:38 -08:00
Steveice10
f9f730e19e Reordered ChatColor values, added ChatColor.RESET 2014-01-11 16:16:51 -08:00
Steveice10
cc85d31821 Switched from identifier strings in Message enums to name().toLowerCase(), added HoverAction.SHOW_ENTITY for the future (1.8 action) 2014-01-11 16:07:26 -08:00
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