Commit graph

1423 commits

Author SHA1 Message Date
Steven Smith
3687891770 Further improvements to exception handling. 2015-04-17 08:47:10 -07:00
Steven Smith
3d3ebad1f4 Listen for future errors and wait using awaitUninterruptibly in TcpSession.connect. 2015-04-17 08:40:26 -07:00
Steven Smith
b9fec7dea9 Merge pull request #82 from Johni0702/armorstand-mob
Armor stands can be spawned using the ServerSpawnMobPacket
2015-04-03 15:06:22 -07:00
johni0702
1c680e23ee Armor stands can be spawned using the ServerSpawnMobPacket 2015-04-03 18:42:17 +02:00
Steven Smith
70adafef07 Merge pull request #78 from Johni0702/block-break
Any value may be used to reset the block break animation (not just 255)
2015-04-01 15:25:55 -07:00
johni0702
3295730910 Any value may be used to reset the block break animation (not just 255) 2015-04-01 17:27:02 +02:00
Steven Smith
f5d3e69907 Merge pull request #76 from Johni0702/team-flags
Handle 'FriedlyFire' byte as flags
2015-03-25 15:10:23 -07:00
Steven Smith
e2898adfdd Merge pull request #77 from Johni0702/entitystatus-1.8
Add missing 1.8 EntityStatus values
2015-03-25 15:09:31 -07:00
johni0702
933c817d96 Add missing 1.8 EntityStatus values 2015-03-25 18:06:20 +01:00
johni0702
90ff098521 Handle 'FriedlyFire' byte as distinct friendly fire (0x1) and visibility of invisible team members (0x2) flags 2015-03-25 17:35:59 +01:00
Steven Smith
3c01b4dcf6 Merge pull request #74 from Johni0702/1.8
Several small additions/fixes
2015-03-16 14:30:56 -07:00
johni0702
48c03a9324 Add equals and hashCode methods where applicable (except packets) 2015-03-16 20:54:31 +01:00
johni0702
b7f071fb91 Add objective to constructor for ServerUpdateScorePacket 2015-03-16 20:54:23 +01:00
johni0702
584b296f0b Add getter for score type 2015-03-16 20:54:15 +01:00
johni0702
c912787d39 Allow for unknown AttributeModifier UUIDs 2015-03-16 20:53:58 +01:00
johni0702
954b799f88 Add missing magic values: FALLING_DRAGON_EGG, ARMOR_STAND ,BANNER, RABBIT_sound
Fix typos in string constants for AttributeTypes
2015-03-16 20:53:48 +01:00
Steven Smith
ce97f9749e Merge pull request #70 from Johni0702/rotation-metadata
Fix Rotation throwing IOException in writeEntityMetadata
2015-01-25 16:54:07 -08:00
johni0702
43be8dd7f0 Fix Rotation case of switch in writeEntityMetadata falling through causing an IOException to be thrown 2015-01-25 19:08:01 +01:00
Steven Smith
634e89ff04 Add exception boolean to TcpSession to halt loops if an exception occurs. 2015-01-25 09:42:11 -08:00
Steven Smith
2c4414966c Merge pull request #69 from Johni0702/properties-packet
ServerEntityPropertiesPacket & ServerUpdateScorePacket fixes
2015-01-25 09:05:24 -08:00
johni0702
4cc31cd933 Fix ServerUpdateScorePacket; name of the objective should not be optional 2015-01-25 10:23:16 +01:00
johni0702
f5e61b682d Fix ServerEntityPropertiesPacket writing wrong data types; VarInt, Short should be Int, VarInt 2015-01-25 10:13:23 +01:00
Steven Smith
f4b62989a6 Fix ServerCombatPacket 2015-01-02 13:59:59 -08:00
Steven Smith
61360596bc Minor improvement to Test example. 2015-01-02 11:00:59 -08:00
Steven Smith
c3cc758dec Merge pull request #65 from AesenV/patch-1
Fix ServerEntityRemoveEffectPacket
2014-12-13 10:45:09 -08:00
Aesen Vismea
063c6bda71 Fix ServerEntityRemoveEffectPacket; it uses VarInt, not Int. 2014-12-13 00:26:04 -05:00
Steven Smith
a0271e0ce8 Add RABBIT to MobType, fix ServerOpenWindowPacket. 2014-12-09 19:23:03 -08:00
Steven Smith
4cf17e3dea Fix getWriteTimeout 2014-11-23 16:15:20 -08:00
Steven Smith
d973104963 Fix mistake in player list data packet. 2014-11-07 15:45:57 -08:00
Steven Smith
e180dee53a Fix stack overflow in MessageStyle. 2014-10-23 19:55:40 -07:00
Steven Smith
bb3818e62c Parent setting should be internal. 2014-10-17 20:50:59 -07:00
Steven Smith
d61f0773be Change default to check if style equals parent style rather than WHITE and no formatting. 2014-10-17 20:46:11 -07:00
Steven Smith
74ffe135a6 Account for parent styles not having default properties in isDefault. 2014-10-17 20:33:39 -07:00
Steven Smith
db8cd53297 Fix reading metadata type id. 2014-10-17 16:06:56 -07:00
Steven Smith
b7d758f6a5 Add missing code for writing display name data in ServerPlayerListEntryPacket. 2014-10-12 18:10:42 -07:00
Steven Smith
5e1581e319 Organize key constants and set ping value to zero on connection to prevent NPEs 2014-10-12 17:34:11 -07:00
Steven Smith
4afb6d8a8f PlayerListEntry properties should be part of the profile. 2014-10-12 16:56:18 -07:00
Steven Smith
202e2238fa Fix mistake from change porting. 2014-10-12 11:03:56 -07:00
Steven Smith
779f0df8a6 Remove unnecessary operations on metadata info. 2014-10-12 10:22:06 -07:00
Steven Smith
e5d5ec46cd Add methods to get block ids and data values from ShortArray3d. 2014-10-10 16:42:07 -07:00
Steven Smith
80bb3a25b0 Fix visibility in head look packet. 2014-10-10 15:53:34 -07:00
Steven Smith
65e3518aaf Timeout should be multiplied by 1000 for milliseconds. 2014-09-14 21:03:12 -07:00
Steven Smith
11ce15cb03 Ensure currently set timeout and handler is used. 2014-09-14 20:43:39 -07:00
Steven Smith
7b3146c4d4 Catch timeout exceptions throughout all of the connect method, tweak connect timeout application. 2014-09-14 20:14:14 -07:00
Steven Smith
670f5fb219 Use try-catch for connect timeout exception if waiting. 2014-09-14 19:46:05 -07:00
Steven Smith
9cbdc6a1aa More clarification to timeout disconnect messages. 2014-09-14 19:19:57 -07:00
Steven Smith
d418516fe3 Minor message update. 2014-09-14 19:15:55 -07:00
Steven Smith
8fa57eb73a Call timeout handler if connect future results in a ConnectTimeoutException. 2014-09-14 19:13:25 -07:00
Steven Smith
5546770d4b 1.8 2014-09-02 16:11:24 -07:00
Steveice10
7b26b14f31 Expand on timeout control. 2014-08-27 19:53:54 -07:00