Commit graph

136 commits

Author SHA1 Message Date
RednedEpic
2a70a11b07 Also add workaround for previous gamemode to ServerRespawnPacket 2020-06-27 22:55:47 -05: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
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
3cee923a3f
Fixed 1.16 chunks and renamed states to palette 2020-06-23 23:58:52 +02:00
DoctorMacc
0a21fbadb7 Remove ServerSpawnWeatherEntityPacket 2020-06-21 19:21:44 -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
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
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
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
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
f1efbed86c Use GameProfile.setProperties in ServerPlayerListEntryPacket. 2020-04-23 10:45:35 -07: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
DoctorMacc
f497fda5d9 Add forge support 2020-04-15 12:09:49 -04:00
DoctorMacc
eb1607ef3e Fix improper values for Allow Flight and Flight 2020-04-11 17:59:06 -04:00
RednedEpic
529f9450a8 Use enum for RespawnScreenValue 2020-02-26 18:42:40 -06:00
RednedEpic
52a13e8cf4 Add respawn screen and pufferfish sting sound client notifications 2020-02-26 18:33:33 -06:00
Matteo Carrara
409f68b0b4
Remove @NonNull from a nullable parameter
Slot data can be null: https://wiki.vg/Slot_Data
2019-12-31 16:24:12 +01:00
Paul Heidenreich
8dafdddd24 Unknown field in join game packet is enable respawn screen
Co-authored-by: Pokechu22 <pokechu022+gh@gmail.com>
2019-12-17 16:42:43 -08:00
Paul Heidenreich
ed0e19a8f2 Update to 1.15-pre4 2019-12-17 16:42:43 -08:00
Paul Heidenreich
1d7edba99d Fix Biome Data: The old 256 int array is replaced by a 1024 int array. 2019-12-17 16:42:43 -08:00
Paul Heidenreich
9407aa3ebb Add missing unknown field in join packet 2019-12-17 16:42:10 -08:00
Paul Heidenreich
f27d9eae00 Only write biome data on full chunk packets 2019-12-17 16:42:10 -08:00
Paul Heidenreich
783d6cb8b6 Upgrade to 1.15-pre2 2019-12-17 16:42:10 -08:00
Steveice10
c792dc022c Automatically add missing "minecraft:" to identifiers if no namespace is present. 2019-08-29 21:06:46 -07:00
Steveice10
0d4927368c Make Advancement parentId optional. 2019-08-29 21:03:11 -07:00
Steveice10
11274270fc Refactor out remaining utility classes. 2019-08-27 23:51:58 -07:00
Steveice10
de39777d38 Clean up some encryption code. 2019-08-27 22:58:41 -07:00
Steveice10
a5f64d8331 Clean up chunk data I/O. 2019-08-27 22:00:55 -07:00
Steveice10
8a38cb86d2 Rename motX/Y/Z to motionX/Y/Z 2019-08-24 09:16:21 -07:00
Matteo Carrara
7f5a57163e Fixes exception when tooltip is a TranslationMessage 2019-08-24 09:16:21 -07:00