Commit graph

1215 commits

Author SHA1 Message Date
Steveice10
11c69de21b 14w06b 2014-02-08 19:11:51 -08:00
Steveice10
9a12fe9596 Formatting 2014-01-30 20:29:35 -08:00
Steveice10
3f3c360e91 14w05a 2014-01-30 20:27:52 -08:00
Steveice10
d7a5ec25c6 Moved test out of source folder to example folder 2014-01-30 20:22:03 -08:00
Steveice10
67d531f598 Moved test classes out of source folder and into example folder. 2014-01-30 20:16:59 -08:00
Steveice10
ecc108b2e7 MagicValues fixes, removed the need for NetUtil.hasSky 2014-01-29 17:40:19 -08:00
Steveice10
57f377cdd1 Finish adding new MagicValues system. 2014-01-29 16:59:36 -08:00
Steveice10
5e4b0fa53e Unlike NibbleArray3d, size should not be shifted in ByteArray3d 2014-01-28 21:34:13 -08:00
Steveice10
a9d7bb8019 Add ByteArray3d for easier block access in chunks, renamed NibbleArray to NibbleArray3d 2014-01-28 06:27:47 -08:00
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