Commit graph

1459 commits

Author SHA1 Message Date
Steveice10
701fa0d7b0 Add missing attribute and modifier. 2020-06-01 11:37:46 -07:00
Steven Smith
160f8a7ce6
Merge pull request #546 from bundabrg/fix/null-color
When a color can't be translated set to NONE instead of null
2020-06-01 09:08:01 -07:00
bundabrg
8533e28785 When a color can't be translated set to NONE instead of null 2020-06-01 18:35:57 +08:00
Steveice10
75f0f02d89 Move priority packet handling to channelRead0. 2020-05-31 17:32:21 -07:00
Steveice10
8dbe3d081c Make sure bad packet data is skipped when errors are suppressed. 2020-05-31 17:23:22 -07:00
Steveice10
b025025001 Call PacketErrorEvent for more I/O errors. 2020-05-31 17:15:44 -07:00
Steveice10
d7f000b455 Add information on jitpack to readme file. 2020-05-31 15:30:43 -07:00
Steveice10
8710b21543 Update PacketLib commit. 2020-05-30 15:41:06 -07:00
Steveice10
72bde6a3c0 Fix stack overflow in flag methods. 2020-05-30 15:38:24 -07:00
Steveice10
be70b05e3c More improvements to flag methods. 2020-05-30 15:33:56 -07:00
Steveice10
12d26014fa Update dnsjava to 3.1.0 and add result to debug output. 2020-05-30 15:22:11 -07:00
Steveice10
d82b1b688d Change DNS error printing to a debug printing flag. 2020-05-30 11:57:33 -07:00
Steveice10
8eaefa9cfc Add javadocs to BuiltinFlags. 2020-05-30 10:55:04 -07:00
Steveice10
fd7772a9b0 Improve implementation of flag methods. 2020-05-30 10:52:37 -07:00
Steveice10
5291bea6a0 Add flag for printing DNS resolution errors. 2020-05-30 10:49:39 -07:00
Steven Smith
5f73b5a7ae
Merge pull request #21 from ipbeegle/master
Update PacketProtocol, StreamNetInput, pom to 1.8
2020-05-25 02:34:25 -07:00
ipbeegle
ff20c8f2a5 Change StreamNetInput, StreamNetOutput
convert to using Java filter streams
update syntax
2020-05-25 05:21:10 -04:00
ipbeegle
68542b8e58 Update PacketProtocol
remove negative packet id checks from createIncomingPacket and getOutgoingClass
update syntax
2020-05-25 05:13:13 -04:00
ipbeegle
f2adf41dd2 Add reset method to StreamNetInput 2020-05-25 02:42:11 -04:00
ipbeegle
3c5b1f4792 Merge branch 'master' of https://github.com/Steveice10/PacketLib.git 2020-05-25 02:16:26 -04:00
ipbeegle
3072587bc7 Update StreamNetInput
Add mark, markSupported, skip
2020-05-25 02:03:44 -04:00
ipbeegle
e3208ef4e8 Update pom to target Java 1.8
Fixes Maven warning about dnsjava using 1.8
2020-05-25 01:55:28 -04:00
ipbeegle
c1f371725a Update PacketProtocol
Add reverse mapping for outgoing packet id<->class
2020-05-25 01:48:32 -04:00
Steveice10
28dac2ec32 Remove -1 workarounds in favor of new user error handling, add exception subclasses for MagicValues errors. 2020-05-23 15:09:08 -07:00
Steveice10
614d56cdc0 Add PacketErrorEvent, allowing packet I/O exceptions to be ignored. 2020-05-23 14:52:18 -07:00
RednedEpic
6004e4af74 Merge branch 'master' of https://github.com/Steveice10/MCProtocolLib into feature/1.16 2020-05-23 15:46:17 -05:00
RednedEpic
00fc4c605a Add support for 20w21a 2020-05-23 15:41:00 -05:00
Steveice10
8e6bc6386b Merge ObjectType and EntityType and bring spawn packet naming in line with latest wiki info. 2020-05-23 00:10:53 -07:00
Steveice10
aae3a9d276 Add workaround for -1 MobType. 2020-05-22 23:46:59 -07:00
RednedEpic
81de9b4577 Add additional checks to FlexibleStorage and Chunk 2020-05-21 18:39:52 -05:00
Steveice10
a5bc122b93 Handle protocol version translators that may send -1 for sound IDs. 2020-05-21 15:19:39 -07:00
Steveice10
898b45ec6c Border Y should be Z. 2020-05-21 14:18:28 -07:00
Steveice10
e61bc83823 Update world border packet field names. 2020-05-21 14:15:47 -07:00
Steven Smith
dbefdf50b4
Merge pull request #20 from ipbeegle/add-bufferedpacket
Add BufferedPacket
2020-05-21 11:30:08 -07:00
ipbeegle
74ee4fa02b Small optimization to PacketProtocol.getOutgoingId(Class<? extends Packet>) 2020-05-20 23:37:46 -04:00
ipbeegle
27cdf88b36 Add BufferedPacket
Add PacketProtocol.getOutgoingId(Packet) to get id from BufferedPacket
Change TcpPacketCodec.encode to use Packet instance instead of its class
2020-05-20 23:33:27 -04:00
Steven Smith
0d283166e5
Merge pull request #538 from rtm516/shulker-tile-type
Added shulker box UpdatedTileType to prevent errors on older versions
2020-05-18 22:20:32 -07:00
RednedEpic
c62ed6a6d9 Update to 20w20b 2020-05-14 13:07:04 -05:00
Redned
1dba7dc735
20w20a not 20w120a 2020-05-13 21:50:06 -05:00
rtm516
920ccdb1a1 Added shulker box UpdatedTileType to prevent errors on older versions 2020-05-14 01:42:44 +01:00
RednedEpic
20f73c5e1e Update to 20w20a 2020-05-13 16:06:26 -05:00
RednedEpic
b0b383a53d Update to 20w19a 2020-05-06 16:47:12 -05:00
Steveice10
5ae680aaeb Update MCAuthLib commit again. 2020-04-26 13:13:21 -07:00
Steveice10
2ff26946ac Use latest commit of MCAuthLib. 2020-04-26 12:58:48 -07:00
Steven Smith
3bb6c1c22f
Merge pull request #531 from Tim203/master
Add new particle types
2020-04-25 05:42:04 -07:00
Tim203
328f020489
Add new particle types 2020-04-25 10:15:57 +02:00
Steveice10
f1efbed86c Use GameProfile.setProperties in ServerPlayerListEntryPacket. 2020-04-23 10:45:35 -07:00
Steven Smith
4058738103
Merge pull request #530 from GeyserMC/fix-advancement-value
Allow icon in advancement to be null
2020-04-23 10:39:21 -07:00
RednedEpic
d335d5f4bc Allow icon in advancement to be null
Sometimes the server does not send over an icon, and when one is not sent over, the player is kicked through MCProtocolLib because this was null
2020-04-23 12:10:21 -05:00
RednedEpic
5dae5286db Convert ChatColor to a class from an enum and make it hold string constants
This is because Minecraft now supports any color in chat and anywhere JSON messages are used. Thus, the ChatColor enum has been converted to a class and now holds string constants with the previous string colors, which are still supported.
2020-04-22 16:19:58 -05:00