Commit graph

1249 commits

Author SHA1 Message Date
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
RednedEpic
f39b2a0a23 Add AVAILABLE_BIOMES SuggestionType 2020-04-22 15:54:37 -05:00
RednedEpic
24440246de Update to 20w17a 2020-04-22 15:53:14 -05:00
Steveice10
8fa519ee8b Update PacketLib again to fix tests. 2020-04-21 12:12:01 -07:00
Steveice10
43b394dfdc Check if DNS lookup result is null. 2020-04-21 12:08:50 -07:00
Steveice10
50022ee098 Use latest commit of PacketLib. 2020-04-21 12:02:52 -07:00
Steveice10
b98e525016 Change SRV lookup code to use dnsjava. 2020-04-21 12:01:26 -07:00
Steveice10
58ed868db2 Bump PacketLib and MCAuthLib versions. 2020-04-20 14:58:49 -07:00
Steveice10
29f960a24c Bump version to 1.6-SNAPSHOT 2020-04-20 14:55:30 -07:00
Steveice10
b23b6f8b4e Bump version to 1.5 2020-04-20 14:55:01 -07:00
Steven Smith
91d567a951
Merge pull request #529 from ForceUpdate1/book
Add hand to edit book
2020-04-20 09:48:50 -07:00