Commit graph

521 commits

Author SHA1 Message Date
rtm516
74ee57a454 Fix ItemHoverMessage and add MessageSerializer.toJsonObject 2020-06-28 14:24:36 +01:00
rtm516
0ffcb7eb47 Add backwards compatability to HoverEvents
It now supports the depreciated value as well as the new contents
2020-06-28 13:06:08 +01:00
DoctorMacc
e9486c1220 Add UNDEFINED as a gamemode 2020-06-28 02:26:50 -04:00
DoctorMacc
ac50bdfdc2 Add test for ServerEntityEquipmentPacket and fix write method 2020-06-28 00:20:59 -04:00
RednedEpic
f88c15ee5c Add smithing WindowType 2020-06-27 22:59:19 -05:00
RednedEpic
2a70a11b07 Also add workaround for previous gamemode to ServerRespawnPacket 2020-06-27 22:55:47 -05:00
rtm516
762fca77e3 Fix HoverEvent messages 2020-06-26 23:20:09 +01:00
rtm516
b43dcab2e1 Remove unnecessary MessageSerializer function 2020-06-26 22:10:22 +01:00
rtm516
157133173c Fix messages with HoverEvents causing NPEs and unknown message errors 2020-06-26 21:49:37 +01:00
DoctorMacc
c2c8e2da2d Update ServerEntityEquipmentPacket 2020-06-25 21:47:11 -04:00
DoctorMacc
c614376c0c Add workaround for if previous gamemode is set to 255 2020-06-25 10:40:55 -04:00
DoctorMacc
f9d0a142a0 Work with namespaced and non-namespaced attribute values
Fixes CubeCraft and Mineplex servers
2020-06-24 22:04:27 -04:00
DoctorMacc
369120ac47 Read smithing crafting data 2020-06-24 19:19:25 -04:00
DoctorMacc
48a42d3e58 (Fully) remove beacon block value as it was likely removed 2020-06-24 11:12:10 -04:00
DoctorMacc
15d3b7436d Update for 1.16.1 2020-06-24 11:10:20 -04:00
DoctorMacc
d78305ef8d Remove debug line 2020-06-23 19:02:13 -04:00
DoctorMacc
c9494abc38 Add all known new block values 2020-06-23 19:01:09 -04:00
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