1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-26 02:09:17 +00:00
Commit Graph

1524 Commits

Author SHA1 Message Date
chris
7ac90f9329 Add and rename some config options, add section notes (#5390)
* Add and rename some config options, add section notes

* adjust message

* Update core/src/main/java/org/geysermc/geyser/command/defaults/ConnectionTestCommand.java

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>

* Update core/src/main/java/org/geysermc/geyser/configuration/GeyserConfig.java

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>

* Update ConfigLoader.java

* Update AdvancedConfig.java

* clarify that we're talking about the HAProxy protocol

* rename config option to use-haproxy-protocol

* remove ominous warning sign on xbox auth warning

* adjust wording

---------

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>
2025-07-11 02:19:43 +02:00
onebeastchris
20e02b99c2 Move config loading to GeyserBootstrap interface 2025-04-26 02:12:10 +02:00
onebeastchris
7b55ade516 Fix: Allow using custom config file on Standalone, add relocation comment 2025-04-26 01:23:29 +02:00
onebeastchris
aaee12e082 Merge remote-tracking branch 'upstream/master' into feature/configurate
# Conflicts:
#	bootstrap/viaproxy/src/main/java/org/geysermc/geyser/platform/viaproxy/GeyserViaProxyLogger.java
#	build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts
#	core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
#	core/src/main/java/org/geysermc/geyser/pack/GeyserResourcePackManifest.java
#	core/src/main/java/org/geysermc/geyser/registry/loader/SoundRegistryLoader.java
#	core/src/main/java/org/geysermc/geyser/util/WebUtils.java
#	gradle/libs.versions.toml
2025-04-26 01:08:15 +02:00
Oryxel
066dacaa55 Fixed MobEffect packet event (#5502) 2025-04-22 14:52:11 +02:00
onebeastchris
a9c1da568a Fix: inventory property inheritance when inventories are reused
this would've been easier to solve if people had sent debug logs :(
2025-04-20 00:27:07 +02:00
onebeastchris
ff44698661 Resolve some inventory deadlocks due to re-introduction of limit to force-reopening attempts
closes https://github.com/GeyserMC/Geyser/issues/5493, closes https://github.com/GeyserMC/Geyser/issues/5483
2025-04-19 11:14:38 +02:00
booky
efd4dccb60 Fix issues with custom dimension heights (#5492)
* Fix java maxY and java height getting mixed up

* Fix incorrect size for bedrock chunk section array
2025-04-17 21:06:38 +02:00
onebeastchris
6e162c2cf5 Fix: Interaction entities not showing custom name 2025-04-17 17:23:05 +02:00
chris
91ca77d133 smol inventory translator refactor (#5473)
* gah generics

* compiles

* Add getOpenInventory method

* Remove debug, attempt to resolve barrel issues

* Fix some edge-cases related to lecterns

* inventory -> container renames

* Fix component check in JavaOpenBookTranslator, increase open attempts to 5

* Remove session variable used to force-close the player inventory, use confirm variable instead. Also: fix rare issues where server-side requested lectern closing didn't work for real lectern blocks

* Update core/src/main/java/org/geysermc/geyser/translator/inventory/InventoryTranslator.java

* Use closingInventory for lecterns too

* fix debug
2025-04-15 22:17:26 +02:00
Eclipse
700f93214e Don't throw an error when trying to hash components that aren't hashed (#5487) 2025-04-13 17:46:35 +02:00
Oryxel
23a462d60c More accurate ground status translation (#5481) 2025-04-13 12:47:19 +02:00
rtm516
150e991da3 Fix bedrock resetting colors on newline (#5311)
* Set color codes after newline

* Cleanup

* Fix and add new test

* Update MessageTranslator.java

* Correct the asset for test
2025-04-11 13:40:57 +02:00
SamB440
6fe38af43d Set ground status to false for teleports (#5461) 2025-04-08 23:57:22 +02:00
onebeastchris
ae130cf5a5 Fix sign reading in specific cases where the "text" key is omitted 2025-04-03 13:18:38 +02:00
onebeastchris
c47264d126 Fix: Lecterns locking up container opening
closes https://github.com/GeyserMC/Geyser/issues/5456
2025-04-02 23:12:02 +02:00
onebeastchris
c6101d71db Don't convert sign text multiple times 2025-04-02 22:56:09 +02:00
onebeastchris
8128fb9df2 Fix text on signs, remove unused Minecart entity property 2025-04-02 22:44:50 +02:00
onebeastchris
db0576099b Indicate 1.21.71 support in readme 2025-04-01 19:01:07 +02:00
onebeastchris
db588da832 Update mappings 2025-04-01 18:54:34 +02:00
onebeastchris
3239e612dd Fix NPE that can rarely occur when debugging inventories 2025-04-01 18:08:15 +02:00
onebeastchris
90e9c3a123 Fix https://github.com/GeyserMC/Geyser/issues/5447 2025-04-01 13:18:26 +02:00
onebeastchris
6ca2a2391d Drop Bedrock 1.21.40 support 2025-04-01 00:22:50 +02:00
chris
2b5369ff8b Attempt to resolve 1.21.70 inventory issues (#5443)
* Inventory translators are now part of inventories, try fixing inventory reusing, use NetworkStackLatency hack

* Add debug, re-add force open hack

* don't log to info

* fix debug npe

* Don't set setPending when opening pending inventories, add more delay to re-opening rejected inventories

* Use inventory#getTranslator to hopefully avoid translator/inventory desync

* Minor cleanup

* Update core/src/main/java/org/geysermc/geyser/GeyserLogger.java

* Reuse inventories whenever possible, prevent bedrock inventory id conflicts

* Fix debug logging with arguments, don't attempt to re-use inventory that's currently closing

* Some documentation, include pending inventories in re-use check

* "bad html entity"

* add wayyyy more debugging to container reusing checks

* yeet java id check

* Fixes related to hacky plugins that spam open screen packets

* no clue how this slipped by

* Don't reuse real blocks, yeet Inventory#isDelayed
2025-03-31 21:36:19 +02:00
Eclipse
b46651e3a6 Fix hashing of item container contents component 2025-03-31 14:20:10 +00:00
Eclipse
de1c1975b0 Fix trim materials (somewhat), other minor things 2025-03-30 15:09:03 +00:00
Eclipse
0bd3db4075 Finish documentation on hashing classes, correctly hash data component removals in item stacks, some cleanups 2025-03-29 11:56:32 +00:00
Eclipse
e219b1c156 Correctly hash changed items in ClickPlan 2025-03-29 11:38:01 +00:00
onebeastchris
37d04a2c6f Fix saddle inventory slot setting 2025-03-29 02:40:04 +01:00
Eclipse
6e790b89c6 Implement data component hashing in inventory transactions, disable printing tests 2025-03-28 21:22:21 +00:00
Eclipse
dbd3187349 Reorganise RegistryHasher, write more documentation 2025-03-28 20:28:58 +00:00
Eclipse
659dbeaca3 Some refactors, first work of documentation on component hashing 2025-03-28 20:28:58 +00:00
onebeastchris
dbf701feb1 Merchant changes, implement splash_potion entity type, some xp orb fixes 2025-03-28 21:16:03 +01:00
Eclipse
a7502a6b3a Adventure mode predicate hashing 2025-03-28 18:19:43 +00:00
onebeastchris
97e15da214 Implement thrown egg item variants 2025-03-28 19:06:52 +01:00
Eclipse
ea10a512b3 Hashing of attribute modifiers, blocks attacks, wolf sound variants, and chicken variants 2025-03-28 17:53:38 +00:00
Eclipse
01354f2401 Refactor RegistryCache to make adding new registries easier 2025-03-28 15:57:06 +00:00
Eclipse
4fc1361dd0 Even more hashers for data components, that also need testing 2025-03-28 14:24:56 +00:00
Eclipse
65f958e257 A bunch more components that still need their testing 2025-03-28 13:40:29 +00:00
Eclipse
4573e904f4 Some TODOs done and consume effect hashing, needs testing 2025-03-28 12:07:29 +00:00
Eclipse
e8358edf30 Fix text component hashing 2025-03-28 11:26:15 +00:00
Eclipse
497ff7bb35 Add some tests for components and debug some things 2025-03-28 11:08:54 +00:00
onebeastchris
d927ec6465 Target 1.21.5 release, restore ButtonBlock mappings 2025-03-27 17:50:08 +01:00
onebeastchris
baac9795b7 Fix villager inventories, always close virtual inventories before opening a new one
Co-authored-by: Tjorven-Liebe <tjorvenliebe@gmail.com>
2025-03-27 16:14:06 +01:00
Tim203
8cf65814ce Result handlers for custom forms with labels now work again 2025-03-26 20:43:49 +01:00
onebeastchris
b1177389d3 Fix invisible boats on versions below 1.21.70
Closes https://github.com/GeyserMC/Geyser/issues/5428
2025-03-26 17:40:56 +01:00
onebeastchris
b7c56037bb Fix virtual inventory opening 2025-03-26 17:19:40 +01:00
Eclipse
63326e468c More component hashers, also need tests 2025-03-26 11:39:52 +00:00
Eclipse
037f8c542d Finish text component hashing and implement components using it 2025-03-26 10:50:54 +00:00
Eclipse
8cfe776363 Some more components, still needs their tests, work on text component hashing 2025-03-26 08:38:43 +00:00