1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00
Commit Graph

4106 Commits

Author SHA1 Message Date
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
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
onebeastchris
5b90b114b5 Remove unneeded code in CodecProcessor, make Bungee version checker automatically check for the required version 2024-12-11 01:28:30 +08:00
onebeastchris
94d77b403b Add some code comments, update BungeeCord version check 2024-12-10 23:13:32 +08:00
onebeastchris
8779eab5e5 Revert a change, ensure that gathering all components works and doesn't throw due to duplicate keys 2024-12-10 20:44:29 +08:00
onebeastchris
06a9b2866e Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4 2024-12-10 20:43:54 +08:00
Camotoy
357fd137dc Some touch-ups 2024-12-09 22:42:40 -05:00
onebeastchris
c575689f2e let's not spam debug mode with an unused entity event 2024-12-10 03:11:57 +08:00
onebeastchris
1f3590d488 revert map color changes 2024-12-10 03:01:09 +08:00
onebeastchris
94c258a4c9 Update loom (and gradle), create basic recipes when there are too many possible combinations, update adapters 2024-12-10 02:22:39 +08:00
LetsGoAway
8b232d7900 Handle ClientboundTickingStatePacket correctly and fix Throwable Scales (#4850)
* Proper tick rate handling

* Fix frozen variable getter

* Fix formatting i think third attempt

* Formatting fix attempt 5 fsdiofhsdioufhvuisdhviuo9ds

* Fix stuff, also fixed the sizing of throwables as they were to big

* Move update ticking state

* Update core/src/main/java/org/geysermc/geyser/session/GeyserSession.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Fixes for spaces and documentation

* Missed a space

* wait now ive fixed it

* Fix languages

* try again to fix languages

* Fix Java doc comments for tickable interface

* Fix javadoc comment in Geyser Session

* fix comment

* fix some tick rate stuffs

* Fix build fail

* fix some stuff

* merge

* test

* Update languages

* Update mappings

* delete broken stuff

* Fix cooldown

* fix cooldowns

* Update core/src/main/java/org/geysermc/geyser/util/CooldownUtils.java

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

* Update BoatEntity.java

* Update GeyserSession.java

* fix some stuff

* Update CooldownUtils.java

* fix some accidental formatting issues

* Fix missing inport

* Update GeyserSession.java

* Update core/src/main/java/org/geysermc/geyser/entity/type/LivingEntity.java

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

* Update core/src/main/java/org/geysermc/geyser/entity/type/ThrowableItemEntity.java

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

* Fix missing import

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
2024-12-09 22:58:04 +08:00
RK_01
1fea22d980 Implement ViaProxy client IP passthrough (#5202) 2024-12-08 21:21:12 -08:00
onebeastchris
1210639087 update item tags for 1.21.50 items 2024-12-08 22:54:51 +08:00
onebeastchris
bd3377bfcc update mappings 2024-12-08 06:20:32 +08:00
onebeastchris
c298061d4d address review 2024-12-08 06:18:42 +08:00
onebeastchris
f610a0d12b Tidy up creaking entity code, remove debugging 2024-12-08 05:34:10 +08:00