Commit graph

656 commits

Author SHA1 Message Date
Roman Alexander
7725651726
Fix double sending ServerboundPlayerActionPacket in creative (both of which Spigot interprets as a BlockBreakEvent) (Fixes #4021) (#3996) 2023-07-30 13:48:29 -07:00
chris
d147ee37dc
send system chat overlay and actionbar as jukebox_popup messages (#3941)
* send actionbar and systemchat overlay messages as jukebox text to avoid clashes with armor/air UI

* add explaining comment
2023-07-29 16:51:16 -07:00
Konicai
3949fb1988
Check if Items of campfire block entity is null (#3986)
* Check if items of campfire block entity is null
* Use instanceof for Items
2023-07-25 13:33:50 -04:00
chris
b17191b553
Fix /playsound command by stripping only the Minecraft namespace (#3956)
Fixes https://github.com/GeyserMC/Geyser/issues/3953
2023-07-21 22:25:09 -04:00
Camotoy
966270d3c8
Fix missed swing on 1.20.10 2023-07-21 19:25:01 -04:00
Konicai
396f4e4900
Update latency translator for 1.20.10 (#3993) 2023-07-17 14:45:45 -04:00
chris
340be2d8a4
fix observer mapping (#3970) 2023-07-12 13:21:29 -04:00
Konicai
3a0c1b788a
Support for 1.20.10 (#3961)
Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: RednedEpic <redned235@gmail.com>
2023-07-11 18:17:01 -05:00
chris
cc6bbf9902
fix https://github.com/GeyserMC/Geyser/issues/3948 (#3955) 2023-07-08 21:36:08 -04:00
chris
872d7e3bb6
let boats not sink down, use less choppy (but faster) animation (#3949)
* let boats not sink down, use less choppy (but faster) animation

* remove passenger check since that always returns true
2023-07-07 18:14:38 -04:00
chris
d1357df8f5
fix https://github.com/GeyserMC/Geyser/issues/3938 (#3947) 2023-07-06 10:19:02 -07:00
Camotoy
0e3e2d0e28
Remove unused file 2023-07-04 19:18:12 -04:00
Camotoy
d44e599925
Fix #3905 2023-07-04 18:06:05 -04:00
Konicai
ff05c98690
Camera shake and fog effect api (#3931) 2023-07-02 17:00:46 -04:00
Konicai
b344e21f7f
Fix loading contents keys of encrypted resource packs (#3925) 2023-06-29 12:22:13 +01:00
Tim203
99671960d0
Merge remote-tracking branch 'origin/master' into jwt-changes
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java
2023-06-27 12:12:31 +02:00
Konicai
c7568ec889
Move to a text box for commands on Geyser standalone GUI (#3915) 2023-06-26 14:44:25 -04:00
Konicai
cdd0459d47
Implement interaction entity (#3916) 2023-06-26 12:04:28 -04:00
Konicai
8aed471ba0
Fix serverbound hanging sign updates (#3904) 2023-06-22 18:05:07 -04:00
Amberichu
70db98eeaf
Fix updating villager trade experience (#3906)
* Fix villager experience not updating

Remove unnecessary fake trade experience stuff

* Hide trade level for wandering traders
2023-06-22 17:38:05 -04:00
DeveloperDragon
50d3945477
Fix/proxy protocol missing message (#3898)
* Show proxy protocol ip for debug message

* Make sure that first message that contains proxy protocol also gets sent. This caused issues with serverlists and console players
2023-06-20 08:28:31 -05:00
Amberichu
811aba3339
Validate written_book tags and fix writable book losing changes (#3894)
* Validate NBT tags of written_book like Java edition

* Update page count and character count limits

The maximum number of characters allowed in Java's book edit screen is
1024 for each page and 16 for the title. However, the packet itself has
a limit of 8192 * 3 bytes for each page and 128 * 3 bytes for the title.

* Fix writable book losing changes when signing

Bedrock sends a 3 action InventoryTransactionPacket after the player
changes a page. This causes Geyser to send a ServerboundEditBookPacket
with an outdated NBT. The Java responses with a
ClientboundContainerSetSlotPacket that overwrites any NBT Changes from
BedrockBookEditTranslator.

* Add a comment for the title length check

* Specify color in Component.translatable
2023-06-18 20:02:27 -04:00
Konicai
2368b63ad5
Allow deferred registries to be loaded/set more than once (#3892) 2023-06-18 17:45:25 -04:00
rtm516
f272ed9383
Move PlatformType to API and expose it for extensions (#3798)
* Move PlatformType to API and expose it for extensions

* Move to a record
2023-06-17 02:56:50 +01:00
chris
8d068ee28f
Add SessionJoinEvent and SessionLoginEvent (#3840) 2023-06-16 20:46:32 -05:00
chris
903e61f1a3
Exposing resourcepack loading to api (#3696)
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: RednedEpic <redned235@gmail.com>
2023-06-16 20:39:53 -05:00
Konicai
6eca6ade06
Loop through item palette versions in ascending order (#3884) 2023-06-16 20:51:29 -04:00
Tim203
3d1a10db3b
Update events library to latest version 2023-06-16 22:54:21 +02:00
chris
6591332eb7
fix commands with trailing whitespaces (#3878)
fixes https://github.com/GeyserMC/Geyser/issues/3877
2023-06-15 22:17:29 -04:00
Konicai
eecf84e87d
Show archeology brushing animations (#3855)
Display items emerging from suspicious blocks
2023-06-15 15:04:50 -04:00
RednedEpic
bf5e08403c Fix shift-click crafting with item in hand
When shift-clicking the result item in a crafting table while holding an item in your hand, items would bug out completely and cause weird inventory desyncs.
2023-06-13 23:26:43 -05:00
RednedEpic
d43a862491 Strip unnecessary block entity tag from container NBT 2023-06-13 22:54:55 -05:00
RednedEpic
1b0d03824a Update Protocol and RakNet 2023-06-13 22:09:00 -05:00
Amberichu
f55d84321a
New entity mount offsets (#3861)
* Add missing entities to getMountedHeightOffset and getHeightOffset

* Fix mount offset on Camels for more than 1 passenger

* Fix mount offset for Shulkers on Bamboo boats and minecarts with stuff

Also fix mount offsets for minecart and boat passengers

* Combine

* More missing mount offsets

* Fix mount offsets for entities riding players
2023-06-11 13:32:42 -04:00
Konicai
049d64d34d
Leniency when trimming incoming sound ids (#3852) 2023-06-09 21:30:03 -04:00
AJ Ferguson
1d99f8beb8
Fix shift clicking Stonecutter output (#3854) 2023-06-09 21:23:10 -04:00
Konicai
1788295291
Translate nbt of decorated pots (#3847) 2023-06-09 12:33:50 -04:00
Camotoy
3ec0d82d46
Kick pre-1.19.30 players for not sending a RequestNetworkSettingsPacket 2023-06-09 12:10:59 -04:00
Konicai
53d002656f
Update EmotePacket creation for 1.20 (#3841)
Include xuid and platformId in EmotePacket
2023-06-08 23:43:45 -04:00
Konicai
ab577f66ac
Translate armour trims on items (#3837) 2023-06-08 23:32:04 -04:00
Konicai
4cd472906c
Update handling of sign color/glow for 1.20 (#3835) 2023-06-08 13:30:25 -07:00
Konicai
6791acd215
Handle effects with infinite duration (#3834) 2023-06-08 13:20:49 -07:00
Konicai
4ab9eb4920
Misc 1.20 fixes (#3828)
* Update mappings

diff: f69b4db9a6...2989dbd7e1

* 1.20 boat entity variants and remove old check in UpstreamPacketHandler
2023-06-08 07:23:27 -07:00
Redned
b78ca431b6
Merge pull request #3817 from GeyserMC/feature/1.20 2023-06-07 10:47:44 -05:00
RednedEpic
13c9063368 Update to use protocol 589 and other 1.20 updates 2023-06-07 09:44:18 -05:00
Redned
b3a66dbe29
Something looked wrong... 2023-06-04 22:43:56 -05:00
Redned
23cdde5cc6
Drop any namespace for incoming sounds
Fixes custom sounds defined through a resource pack.
2023-06-04 22:40:09 -05:00
Tim203
c5d4b86564
Prepare for changes made in CloudburstMC/Protocol#205 2023-06-03 11:47:50 +02:00
Camotoy
822568ecaa
Banners on shields support 2023-06-03 00:21:09 -04:00
James Harrison
277396525f
Update MinecraftCapes URLs (#3797) 2023-05-26 23:25:46 +01:00