Commit graph

504 commits

Author SHA1 Message Date
Tim203
b0229a67b5
Exclude chunks from the equals and hashcode method 2020-06-24 00:24:49 +02:00
Tim203
3cee923a3f
Fixed 1.16 chunks and renamed states to palette 2020-06-23 23:58:52 +02:00
RednedEpic
b5eb5ca624 Update to 1.16 release 2020-06-23 08:16:54 -05:00
DoctorMacc
79fe6394a8 Update particle types 2020-06-21 20:02:22 -04:00
DoctorMacc
8f686ac25a Add CommandParser.UUID 2020-06-21 19:40:24 -04:00
DoctorMacc
0a21fbadb7 Remove ServerSpawnWeatherEntityPacket 2020-06-21 19:21:44 -04:00
DoctorMacc
83f7b91c9c Update sound mappings 2020-06-21 19:08:17 -04:00
RednedEpic
f040b4ee71 gamemode2 is previousGamemode 2020-06-21 15:22:25 -05:00
RednedEpic
ec957221a9 Unknown value in update light packet is trust edges 2020-06-21 15:15:53 -05:00
RednedEpic
597d60bed5 Fix wrong packet ids, clean up chunk padded array and fix tests 2020-06-21 15:09:04 -05:00
RednedEpic
8380afbaa5 Update EntityType ids 2020-06-21 13:19:12 -05:00
DoctorMacc
c5444288a2 Add smithing enum to RecipeType 2020-06-20 22:21:43 -04:00
DoctorMacc
3b20202d35 Update attribute values 2020-06-20 22:15:45 -04:00
DoctorMacc
b9e1888e6c Update unknown value in ClientPlayerInteractEntityPacket 2020-06-20 21:12:44 -04:00
DoctorMacc
02781ed56c Fix some whitespacing; fix some tests 2020-06-20 20:32:03 -04:00
RednedEpic
795ae325b8 Resolve merge conflicts 2020-06-20 15:52:20 -05:00
RednedEpic
3f5f9797e6 Update to 1.16-rc1 and update chunk format to use new padded array 2020-06-20 15:31:39 -05:00
DoctorMacc
16cbbf8de5 Remove BlockState class
The BlockState class is simply a wrapper for an integer. Dealing with many BlockState classes in our Geyser project uses up a lot of RAM when we can simplify that down to more efficient integers.
2020-06-18 18:44:07 -04:00
Steveice10
f142eab3a2 Overhaul JSON message classes to be immutable and use a builder pattern. 2020-06-06 14:54:40 -07:00
RednedEpic
1205c36965 Add support for 20w22a 2020-06-03 20:33:08 -05:00
Steveice10
9249cb02d7 Icon conversion methods no longer throw IOException. 2020-06-03 15:07:58 -07:00
Steveice10
1840d5aa3d Remove server list icon decoding as ImageIO/BufferedImage do not exist on Android. 2020-06-03 14:58:49 -07:00
Steveice10
706ba62990 Update for MCAuthLib changes. 2020-06-01 13:05:55 -07:00
Steveice10
701fa0d7b0 Add missing attribute and modifier. 2020-06-01 11:37:46 -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
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
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
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
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
Marco
9cbdafb659 add hand to edit book 2020-04-20 13:43:56 +02:00
RednedEpic
d97ba91af5 Initial 20w16a support 2020-04-17 00:42:07 -05:00
Steveice10
634635ef31 Tweak Forge-specific attribute javadocs. 2020-04-15 15:04:17 -07:00
DoctorMacc
c84f2f1b03 Switch to Javadoc comments 2020-04-15 17:46:15 -04:00