Commit graph

1443 commits

Author SHA1 Message Date
onebeastchris
cd447899a9 Update configurate branch 2025-02-28 18:46:18 +01:00
onebeastchris
42f135f85b Merge remote-tracking branch 'upstream/master' into feature/configurate
# Conflicts:
#	bootstrap/spigot/src/main/java/org/geysermc/geyser/platform/spigot/GeyserSpigotInjector.java
#	bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java
#	bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneLogger.java
#	bootstrap/viaproxy/src/main/java/org/geysermc/geyser/platform/viaproxy/GeyserViaProxyPlugin.java
#	core/src/main/java/org/geysermc/geyser/GeyserImpl.java
#	core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/CreativeItemRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/type/GeyserMappingItem.java
#	core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
#	core/src/main/resources/mappings
2025-02-27 19:31:05 +01:00
onebeastchris
dd7a0d3161 Fix https://github.com/GeyserMC/Geyser/issues/5347 2025-02-27 17:37:37 +01:00
onebeastchris
915986afa8 Fix https://github.com/GeyserMC/Geyser/issues/5377 2025-02-27 17:00:03 +01:00
chris
52bcdf0d2f
Fix: Allow players to hit air (#5369)
This also implements blocking block breaking & attacking entities while steering boats to match the Java clients behavior.
Further, it now also updates the shifting state before sending inputs to the Java client, also matching behavior there.
2025-02-27 15:29:58 +01:00
onebeastchris
ba87207353 Properly translate infinite effects, ensure specific hud elements are hidden when logging in with spectator mode 2025-02-25 22:07:47 +01:00
onebeastchris
2b17a03bdf Fix: Horses not taking fall damage when they should
fixes https://github.com/GeyserMC/Geyser/issues/5269
2025-02-25 21:38:29 +01:00
onebeastchris
9733311508 Revert latest Geyser changes 2025-02-23 21:10:05 +01:00
chris
f0657c0d86
Don't restrict the default packet limit 2025-02-23 20:25:44 +01:00
chris
87d9907413
Increase packet limits for multiple connected clients playing from one IP address (#5351)
* Fix https://github.com/GeyserMC/Geyser/issues/4926

* Extend the RakServerRateLimiter, now that it is possible

* Update core/src/main/java/org/geysermc/geyser/network/netty/handler/RakGeyserRateLimiter.java

* cast to int
2025-02-23 18:37:01 +01:00
onebeastchris
fd4c80598e Fix skins not showing on 1.21.60 2025-02-20 17:01:39 +01:00
onebeastchris
ebaaed7542 fix test 2025-02-19 14:46:46 +01:00
onebeastchris
4a88117753 Update to latest MCPL changes, fix issues with the force-player-inventory workaround 2025-02-19 14:27:22 +01:00
chris
7448a994ad
Fix: Server-side requested container closing (#5346)
* Work on closing inventories

* Test more container types, add very hacky player container close workaround

* Only send close container packet to Java edition when needed

* Adjust warning to hopefully find where desync issues occur

* don't crash when closing lecterns

* remove debug logging

* Don't send container close packet to the Java server when not needed, mainly for fake lecterns
2025-02-18 15:12:38 +01:00
onebeastchris
3e6172642d Update MCPL, resolves issues with the ClientboundPlayerInfoUpdatePacket 2025-02-16 16:58:44 +01:00
chris
d5b5712e60
Fix custom skulls (#5338) 2025-02-12 20:40:05 +01:00
Eclipse
b0bf867581
Add basic support for the 1.21.2 minecart experiment (#5134)
* Add simple translator for move minecart packet

* Cleanup code

* This could be cleaned up even more

* Implement minecart lerping

* Use ClientboundUpdateEnabledFeaturesPacket to set experimental minecart behavior

* Move experiment checking to a per-session check

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-12 16:32:55 +01:00
onebeastchris
4d36524d05 Fix https://github.com/GeyserMC/Geyser/issues/5280, update supported Bedrock version in the README.md
The "tracking" property seems to only be used server-side, so we should not rely on it client-side
2025-02-12 15:21:47 +01:00
onebeastchris
6c59a821c9 Fix eating animations not showing 2025-02-12 14:57:26 +01:00
valaphee
bb6ff4ddb9 Update boss event packet serializer in codec processor 2025-02-12 00:06:54 +01:00
Roman Alexander
b8477aa401
1.21.60 (#5325)
* initial changes

* More work on 1.21.60's fun changes

* I misread 😅

* Use 1.21.60 mappings for updated item components

* Fix: Creative up/down flight

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-11 19:38:24 +01:00
Roch Blondiaux
c98796aeb6
Implemented a way to close forms from floodgate (#5247)
* feat: send close form packet when receiving empty form data

* use session#closeForm

---------

Co-authored-by: Roch Blonndiaux <contact@roch-blondiaux.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-11 18:03:31 +01:00
onebeastchris
b96f9157e9 Fix: Use real barrels whenever possible instead of fak chest workaround
Fixes https://github.com/GeyserMC/Geyser/issues/5292, fixes https://github.com/GeyserMC/Geyser/issues/5294
2025-02-06 18:40:32 +01:00
onebeastchris
0416b55959 Fix: Looms modifying default data components causing visual bugs
Closes https://github.com/GeyserMC/Geyser/issues/5273
2025-02-04 17:25:37 +01:00
chris
ea13e588cd
Fix: non-vanilla custom blockstate registration (#5310)
* Try fixing custom blockstate registration

* another attempt; round two

* register collisions

* don't register block states twice
2025-02-02 15:16:34 +01:00
onebeastchris
da6e2f678b Fix custom stone cutter recipes
closes https://github.com/GeyserMC/Geyser/issues/5257, closes https://github.com/GeyserMC/Geyser/issues/5268
2025-01-29 18:18:14 +01:00
Alex
5836dabcda
Use mcpl staticify PR (#5284)
* Use mcpl staticify PR

* Fix missing generic arg

* Update libs.versions.toml
2025-01-21 16:11:09 +01:00
onebeastchris
98f9bf6b62 Fix issues with Geyser-Spigot that occurring with older server versions 2025-01-19 14:29:58 +01:00
Alex
613718a52d
Implement session restructure mcpl PR, fix disconnect messages in configuration stage (#5196)
* Implement session restructure mcpl PR

* Bump mcpl

* Update mcpl api usage

* Update MCPL to release, fix https://github.com/GeyserMC/Geyser/issues/5281 (1daf036f57)

* Use correct mcpl dependency

* apparently 1.21.4-1 doesn't exist? back to snapshots then

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-01-18 13:53:09 +01:00
onebeastchris
a7d475e7e4 fix black particles around invisible area effect cloud entities 2025-01-17 22:48:03 +01:00
onebeastchris
07629a42c9 Only send the ServerboundClientTickEndPacket while in the GAME protocol state, make locale non-null
Fixes https://github.com/GeyserMC/Geyser/issues/5278
2025-01-15 23:25:57 +01:00
chris
58e2f17e08
Fix: Brand message being sent too early (#5265)
* Fix: Brand message not being sent, send lowercase locale, ensure the MCPL default listener comes first

* Refactor disconnect handling

* apparently default listeners aren't always first... huh

* fix issue with bundle cache attempting to check a null inventory
2025-01-12 20:44:33 +01:00
Oliver
65f7bdb3c0
Fix modded items not having a bedrock ID set (#5271) 2025-01-09 19:57:27 +01:00
Camotoy
ddd1afabd1
Bundle support (#5145)
* Bundle support

* Touchups

* Correct bundle mapping

* Grabbing a bundle from creative mode does work

* Fix inserting items that already exist in a bundle

* Add bundle drop workaround

* Address review
2025-01-05 16:34:57 +01:00
BugTeaON
a19f0305fb
Fix item_name component not working, improve display of custom effects and shulker box tooltips for item names (#5255)
* Show custom effects information in HUD, and be able to hide it using hide_additional_tooltip component

* Make vanilla default components no longer affect the translation of custom name (Fix item_name component not work)

* Fix book title display in tooltips of shulker box

* Fix colored item name display in tooltips of shulker box

* Add some code comments

* Block vanilla potion name translation when has hide_additional_tooltip component

* Add some brackets
2025-01-05 12:41:35 +01:00
rtm516
623ec2bb8f
Fix map colors (#5239)
* Revert "fix: Wrong map colors (#5238)"

This reverts commit 006fe75e5a.

* Correctly send BGR over the network for map colors
2024-12-27 12:53:22 +08:00
onebeastchris
6bd60d4233 Fix: Default components breaking item stacking while crafting. 2024-12-24 01:43:04 +08:00
onebeastchris
030b935d8a Fix: item frames showing names for items without a custom name (fixes https://github.com/GeyserMC/Geyser/issues/5194) 2024-12-24 00:18:26 +08:00
onebeastchris
7b5c1bb370 Bump mcpl and mappings 2024-12-23 03:29:40 +08:00
Adri
006fe75e5a
fix: Wrong map colors (#5238) 2024-12-22 10:51:13 +08:00
onebeastchris
64c7adcacf Fix: Geyser-Spigot not loading on 1.16.5, remove unused code 2024-12-16 10:54:36 +08:00
rtm516
a5c77a7072
Add extension update folder (#4929)
* Add extension update folder

* Check the update folder exists before trying to use it

* Remove old jars under different names for the same extensions

* Store file path to save on calls

* Fix storing path

* Update languages

* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java

Co-authored-by: chris <github@onechris.mozmail.com>

* Only pull data from the map once

* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>

* Move to consumer function for processing extension folders

* Add back some comments

* Allow cleanup of multiple old extensions

* Address review comments

* Tidy logger calls

---------

Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-12-16 06:40:14 +08:00
AlexDev_
54bdb639cb
Fix for plugins that use display entities as nametag (#5157)
* Fix for display entity nametags

* Added check

* Moved lines count to TextDisplayEntity class
Removed useless offset

* Reset lines when text is null

* Conversation changes

* Changed y offset formula
Removed space

* Played around with the yOffset a bit

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2024-12-15 16:15:55 +01:00
Eclipse
c8dadd8342
Remove Java attribute entity type prefixes (#5228) 2024-12-14 10:31:24 -08:00
chris
ba5b4224d8
1.21.4 support 2024-12-12 10:10:03 +08:00
onebeastchris
f24ba549df Target master branch for mappings 2024-12-12 09:13:04 +08:00
onebeastchris
b36bc9e95a Indicate 1.21.51 support 2024-12-11 23:31:23 +08:00
Valaphee The Meerkat
b2045a5b3d
Fix skull mix-up by not reusing skulls (#5206) 2024-12-11 10:04:33 +08:00
Eclipse
4d12c29108
Fix default attribute modifiers, add more equipment slot group names for attribute modifiers (#5211) 2024-12-11 05:22:39 +08:00
onebeastchris
b843be58d0 don't set an illegal serializer for removed packet 2024-12-11 01:41:08 +08:00