Commit graph

4187 commits

Author SHA1 Message Date
onebeastchris
32ada15d04 fix build 2025-02-28 20:15:49 +01:00
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
Alex
97cc876311
Fix missing console logs with Geyser-Standalone gui present (#5376)
* Fix missing console logs with gui present

* Properly redirect stdout & stderr & also redirect JUL
2025-02-26 09:52:02 +01:00
Alex
5f0611ff0f
Switch all ping passthroughs to json to avoid parsing warning (#5363) 2025-02-25 22:33:10 +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
Alex
07be402563
Add run tasks and remove useless variables (#5362)
* Add run tasks and remove useless variables

The benefit of run tasks is that proxies like velocity can be prototyped on without using standalone or a GUI. Thus simplifying the prototyping/fixing process.

* Drop runwaterfall
2025-02-22 12:31:37 +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
Camotoy
778c0819ef
Add the Gradle versions file, too... 2025-02-16 15:35:07 -05:00
Camotoy
ecc10d6560
Update direct connection/compression disabler for newest BungeeCord
Fixes #5348
2025-02-16 15:18:55 -05: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
chris
4ca4895eb0
Update boss event packet serializer
Update boss event packet serializer in codec processor
2025-02-12 00:12:49 +01:00
valaphee
bb6ff4ddb9 Update boss event packet serializer in codec processor 2025-02-12 00:06:54 +01:00
chris
4180c13f72
Bedrock 1.21.60 support, API 2.6.1 2025-02-11 19:50:19 +01:00
onebeastchris
04586a4532 Update API version to 2.6.1 2025-02-11 19:49:23 +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
rtm516
f328e5bb6b
Add new issue types to templates (#5312)
* Add new issue types to templates

* Update bug_report.yml

* Update feature_request.yml
2025-01-30 02:34:07 +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
onebeastchris
c666028eb6 Update Bedrock network library
fixes https://github.com/GeyserMC/Geyser/issues/4971
2025-01-29 00:42:44 +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
dff7cf2136
Use vanilla dns resolving (#5283)
* Use vanilla dns resolving

* Update gradle/libs.versions.toml

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

* Update gradle/libs.versions.toml

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

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2025-01-18 17:10:27 +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
Eclipse
1267b2e5ab
Update fabric.mod.json to new fabric api mod id (#5272) 2025-01-09 21:53:01 +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
Alex
f1ed841e07
Add support for rcon console command senders (#5261)
RemoteConsoleCommandSender does not inherit ConsoleCommandSender, so we gotta handle it explicitly.
2025-01-04 14:28:54 +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