Vladislavs Golubs
|
074d2b1849
|
Fixed BlockChangePacket after last changes
|
2015-09-24 16:12:40 -07:00 |
|
Steven Smith
|
471d98ee4b
|
Parse block change value into id and data, minor cleanup.
|
2015-09-21 20:38:44 -07:00 |
|
Steven Smith
|
b958e52ba5
|
Remove old chunk data packet constructor for unloading chunks.
|
2015-08-25 18:48:44 -07:00 |
|
Steven Smith
|
a91a407d90
|
15w35b
|
2015-08-24 20:17:03 -07:00 |
|
Steven Smith
|
03379f767d
|
Update usages of MagicValues.key to account for throwing IllegalArgumentException instead of returning null.
|
2015-08-23 12:48:33 -07:00 |
|
Steven Smith
|
1b913851ee
|
Add ATTACK_SPEED_MODIFIER.
|
2015-08-23 12:42:12 -07:00 |
|
Steven Smith
|
baca667a30
|
Update entity attributes.
|
2015-08-23 12:19:23 -07:00 |
|
Steven Smith
|
83b83bdc3e
|
Use byte array streams for chunk I/O.
|
2015-08-23 11:28:09 -07:00 |
|
Steven Smith
|
93978378f6
|
Update chunk sending protocol.
|
2015-08-22 22:25:25 -07:00 |
|
Steven Smith
|
ea99836709
|
Update entity types.
|
2015-08-22 16:55:29 -07:00 |
|
Steven Smith
|
447fb16447
|
Add new OP permission level entity status values.
|
2015-08-22 16:23:17 -07:00 |
|
Steven Smith
|
4d68bc26eb
|
Bump protocol version to 61.
|
2015-08-22 16:06:25 -07:00 |
|
Steven Smith
|
c49e1569d3
|
15w34d.
|
2015-08-22 14:17:39 -07:00 |
|
Steven Smith
|
b89b482bd1
|
Update entity metadata for 15w33c changes.
|
2015-08-14 20:02:55 -07:00 |
|
Steven Smith
|
0c2b7fdce8
|
15w33c
|
2015-08-14 17:01:28 -07:00 |
|
Steven Smith
|
9ad441cfcc
|
Bump protocol version by 1.
|
2015-08-13 21:02:17 -07:00 |
|
Steven Smith
|
0a2926dada
|
Minor cleanup.
|
2015-08-13 19:34:48 -07:00 |
|
Steven Smith
|
08ab590e07
|
15w33b
|
2015-08-12 21:33:50 -07:00 |
|
Steven Smith
|
abb2108fb3
|
15w32c
|
2015-08-11 22:58:20 -07:00 |
|
Steven Smith
|
4ccf753002
|
Update game version.
|
2015-07-28 20:49:40 -07:00 |
|
Steven Smith
|
6cc87bcbdb
|
Fix user verification.
|
2015-07-22 15:27:29 -07:00 |
|
Steven Smith
|
aff6600deb
|
Update for MCAuthLib changes.
|
2015-07-22 13:49:42 -07:00 |
|
Steven Smith
|
78eb55a7c3
|
Update for MCAuthLib changes.
|
2015-07-22 13:40:13 -07:00 |
|
Steven Smith
|
2ed6e1e1e8
|
Pass authentication errors to disconnect.
|
2015-07-22 11:07:37 -07:00 |
|
Steven Smith
|
d29c5f3418
|
Update for MCAuthLib changes.
|
2015-07-21 21:41:08 -07:00 |
|
Steven Smith
|
81024b88ff
|
Refactor ProtocolMode to SubProtocol, ProtocolConstants to MinecraftConstants.
|
2015-07-21 17:40:42 -07:00 |
|
Steven Smith
|
eb57e0835c
|
Update version.
|
2015-07-20 12:26:58 -07:00 |
|
Steven Smith
|
b22cd66d4f
|
General cleanup, fixes, and re-versioning.
|
2015-07-20 11:13:18 -07:00 |
|
Steven Smith
|
3b17a15d29
|
Make KeepAliveThread a Runnable.
|
2015-07-18 18:32:28 -07:00 |
|
Steven Smith
|
654495376e
|
Use currentTimeMillis instead of nanoTime, delay KeepAliveThread with sleep call.
|
2015-07-18 18:30:20 -07:00 |
|
johni0702
|
99e3e6880b
|
Fix empty text messages failing to parse
|
2015-07-11 12:54:00 -07:00 |
|
johni0702
|
2aef90aaaf
|
Split window properties into separate enums for separate window types
|
2015-07-11 12:54:00 -07:00 |
|
johni0702
|
997d129d6d
|
Add missing world types (customized and debug) and fixed typo (all world types should be lowercase)
|
2015-07-11 12:54:00 -07:00 |
|
johni0702
|
ddafc12a7d
|
Add sidebar scoreboard positions for each of the 16 teams
|
2015-07-11 12:54:00 -07:00 |
|
Steven Smith
|
f176be257b
|
Add authentication proxy support.
|
2015-07-11 12:53:25 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
5546770d4b
|
1.8
|
2014-09-02 16:11:24 -07:00 |
|
Steveice10
|
64153f7207
|
1.8-pre1
|
2014-08-23 22:46:41 -07:00 |
|
Steveice10
|
a9bb583b8f
|
Correct packet IDs.
|
2014-08-16 22:10:51 -07:00 |
|
Steveice10
|
3620abb183
|
Block particles now send only 1 data variable.
|
2014-08-15 23:50:09 -07:00 |
|
Steveice10
|
6d266e56d5
|
If the packet says we don't have skylight don't try to get it.
|
2014-08-15 23:42:39 -07:00 |
|
Steven Smith
|
17bb28caae
|
Send LoginSetCompressionPacket instead of ServerSetCompressionPacket
|
2014-08-11 22:41:34 -07:00 |
|
Steven Smith
|
b033e6c095
|
Allow accessing profile and token and passing them to protocol constructors.
|
2014-08-11 12:30:24 -07:00 |
|
Steven Smith
|
24468dee6b
|
Return unsigned bytes from NetInputStream.
|
2014-08-11 11:35:08 -07:00 |
|
Steven Smith
|
081c1a00f1
|
Various protocol issue fixes part 1.
|
2014-08-10 23:29:27 -07:00 |
|
Steven Smith
|
d9e767b977
|
Add missing login process changes.
|
2014-08-10 22:51:41 -07:00 |
|
Steven Smith
|
04b83288f8
|
14w32d
|
2014-08-10 22:20:58 -07:00 |
|
Steven Smith
|
b244f17d77
|
14w31a
|
2014-08-04 11:28:33 -07:00 |
|
Steven Smith
|
3963c52123
|
Register WITHER_SPAWN in MagicValues.
|
2014-07-28 09:36:01 -07:00 |
|
Steven Smith
|
c60893b8ab
|
Add WITHER_SPAWN to SoundEffect enum.
|
2014-07-28 09:35:10 -07:00 |
|
Steven Smith
|
d4d8db1f0c
|
14w29b
|
2014-07-16 12:46:41 -07:00 |
|
Steven Smith
|
640e5b30fa
|
Initialize lastPingTime to current time before starting KeepAliveThread loop. Probably fixes #41
|
2014-06-26 10:43:21 -07:00 |
|
Steven Smith
|
670d471a34
|
Update for PacketLib changes.
|
2014-06-21 19:50:58 -07:00 |
|
Steven Smith
|
6d29ff07f8
|
Update for PacketLib changes.
|
2014-06-20 14:21:53 -07:00 |
|
Steven Smith
|
861a234a09
|
Add MobType.GUARDIAN.
|
2014-06-18 12:06:18 -07:00 |
|
Steven Smith
|
eb23b84e11
|
14w25a
|
2014-06-18 11:59:33 -07:00 |
|
Steven Smith
|
96c0c4bdda
|
Merge recent pull request changes into snapshot branch
|
2014-06-09 08:35:45 -07:00 |
|
Steveice10
|
1440d8955f
|
Remove unneeded Face.UNKNOWN to -1 mapping
|
2014-05-21 16:34:14 -07:00 |
|
Steveice10
|
843d77b6b6
|
Merge changes from @MylesIsCool
|
2014-05-21 16:09:02 -07:00 |
|
Steveice10
|
1ea9b9bea9
|
14w17a
|
2014-04-24 17:01:49 -07:00 |
|
Steveice10
|
bfbca651ba
|
Read ServerMapDataPacket data as unsigned bytes.
|
2014-03-30 16:11:21 -07:00 |
|
Steveice10
|
91d8f0f57c
|
Move authentication code to MCAuthLib
|
2014-03-30 10:48:44 -07:00 |
|
Steveice10
|
fdbb8168c5
|
Bump OpenNBT version to 1.4
|
2014-03-25 20:18:25 -07:00 |
|
Steveice10
|
09eb9f3cfe
|
Add endermite to MobType
|
2014-03-22 20:46:45 -07:00 |
|
Steveice10
|
1e3461659e
|
Fix PlayerState number values
|
2014-03-22 19:53:18 -07:00 |
|
Steveice10
|
ad61ce285e
|
Move KeepAliveThread initialization to after calling the login handler, fix ServerNotifyClientPacket, remove full column requirement in ServerMultiChunkDataPacket, properly create visibleParts list in ClientSettingsPacket.
|
2014-03-22 14:16:55 -07:00 |
|
Steveice10
|
5ff93b6826
|
Make verify users flag optional
|
2014-03-22 12:51:10 -07:00 |
|
Steveice10
|
0f11929962
|
14w11b
|
2014-03-22 12:11:55 -07:00 |
|
Steveice10
|
3dc42e72a8
|
Rename ClientEntityInteractPacket to ClientPlayerInteractEntityPacket
|
2014-03-22 09:41:46 -07:00 |
|
Steveice10
|
f5780c24a2
|
Rename ClientAnimationPacket to ClientSwingArmPacket
|
2014-03-21 23:10:44 -07:00 |
|
Steveice10
|
8416c30e10
|
Add session to server status handlers
|
2014-03-21 22:51:54 -07:00 |
|
Steveice10
|
f508352d2a
|
Add spectator gamemode
|
2014-03-21 22:14:09 -07:00 |
|
Steveice10
|
22da13c001
|
Create skylight array when sky = true
|
2014-03-17 18:51:01 -07:00 |
|
Steveice10
|
3bff6611bd
|
Refactored ch.spacebase to org.spacehq, reformatted code and line endings.
|
2014-03-01 16:47:32 -08:00 |
|
Steveice10
|
f2a3bad452
|
Add @Override to toString
|
2014-02-22 12:45:40 -08:00 |
|
Steveice10
|
4abc1e4302
|
14w08a
|
2014-02-19 10:55:32 -08:00 |
|
Steveice10
|
0eaf5dc774
|
14w07a
|
2014-02-19 10:33:43 -08:00 |
|
Steveice10
|
92995ca245
|
Add getEntityId() to ServerEntityStatusPacket
|
2014-02-14 18:09:17 -08:00 |
|
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
|
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
|
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
|
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
|
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 |
|