Commit graph

1228 commits

Author SHA1 Message Date
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
Steveice10
e2f325a3f1 Added particle name constants 2013-07-25 11:16:20 -07:00
Steveice10
eed5957621 Added missing spawn particle packet 2013-07-25 11:10:31 -07:00
Steveice10
332d179a15 Initial names for operations based on source code analyzation. 2013-07-15 12:45:03 -07:00
Steveice10
fa3ced180a Rename EntityProperty related classes and almost complete namings (remaining: entity attribute operation ids) 2013-07-15 12:31:45 -07:00
Steveice10
4f5986cd41 Added more complete support for PacketEntityProperties, still need to name 1.6.2 addition 2013-07-15 12:06:03 -07:00
Steveice10
f21d07e4e1 Fixed StandardInput.readBytes 2013-07-11 20:46:41 -07:00
Steveice10
f709c115df Replaced protocol enum with packet registry abstract class. Allows for easier implementation of multiple protocols, both internally and externally. 2013-07-10 10:06:18 -07:00
Steveice10
daffd83b24 Changed Y values in PacketPlayerDigging and PacketUseBed to unsigned bytes 2013-07-10 10:00:22 -07:00
Steveice10
0d63243fb7 Don't send packet if the connection isn't connected. Also, set connected to false in CloseThread for good measure 2013-07-09 18:31:30 -07:00
Steveice10
8c9a593204 Clear packet queue on disconnect. Also, make sure writing/reading are set to false on error 2013-07-09 17:44:35 -07:00
Steveice10
c049d00fdf Tweaked disconnect methods 2013-07-09 17:41:22 -07:00
Steveice10
be83d60f7c Refactored PacketServerPing a bit 2013-07-09 12:18:51 -07:00
Steveice10
a50085a595 Updated to 1.6.2 protocol (PacketEntityProperties not fully complete) 2013-07-09 08:50:11 -07:00
Steveice10
4da575f615 Rewrote most of connection/protocol API 2013-07-04 23:21:47 -07:00
Steveice10
d467df8f02 Updated to 1.6.1, performed cleanup and javadoc-ing 2013-07-04 21:32:15 -07:00
Steveice10
fe0896efe5 Ensure socket is properly closed 2013-05-20 21:33:50 -07:00