Commit graph

476 commits

Author SHA1 Message Date
Steveice10
0572ff9a3e Add method to copy messages into builders for modification. 2020-06-28 16:05:29 -07: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
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
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
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
rtm516
920ccdb1a1 Added shulker box UpdatedTileType to prevent errors on older versions 2020-05-14 01:42:44 +01: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
Marco
9cbdafb659 add hand to edit book 2020-04-20 13:43:56 +02: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
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
Steven Smith
4659a1a6fe
Merge pull request #516 from GeyserMC/client-notification-update
Add enable respawn screen and pufferfish sting sound client notifications
2020-02-26 18:25:20 -08:00
Steveice10
3c6cbb2cff Update for PacketLib changes. 2020-02-26 18:22:38 -08: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
RednedEpic
ba1c1f13f8 Fix flipped start and stop for rain 2020-02-09 14:38:28 -06:00
Steven Smith
dc375f9958
Merge pull request #510 from GeyserMC/1.15.2
Add support for Minecraft 1.15.2
2020-01-21 20:28:56 -08:00
RednedEpic
916fbc17ee Allow secondTrade in VillagerTrade to be null
Not in all cases will the second input in the villager trade be present.
2020-01-21 21:45:04 -06:00
RednedEpic
acc5b7fdbd Add support for Minecraft 1.15.2 2020-01-21 20:44:23 -06:00
RednedEpic
ae4169df6f Add missing EntityStatus mappings for honey block slide and land 2020-01-06 20:09:36 -06:00
Magnus Ihse Bursie
fbd5460d7c START_RAIN and STOP_RAIN was mixed up. 2020-01-02 03:13:10 +01: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
Steveice10
e33abe75a5 Update to 1.15.1 2019-12-17 16:47:58 -08:00
RednedEpic
10561e879b Fix sound IDs and add new 1.15 sounds to BuiltinSound 2019-12-17 16:42:43 -08:00
RednedEpic
40036d6c96 Add BEE MobType and update entity IDs 2019-12-17 16:42:43 -08:00
Paul Heidenreich
2c004d7ecb Update to 1.15 2019-12-17 16:42:43 -08: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
5bcd618b62 Update to 1.15-pre6 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
418f541486 Upgrade to 1.15-pre3 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
0fe401d716 Remove newline 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
46a0dca278 Update/Fix tests 2019-12-17 16:42:10 -08:00
Paul Heidenreich
783d6cb8b6 Upgrade to 1.15-pre2 2019-12-17 16:42:10 -08:00
Tim203
b0676fedfd Use no color as default color 2019-12-06 17:47:24 +01:00