3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-27 08:30:12 +01:00
Commit graph

1352 Commits

Autor SHA1 Nachricht Datum
Tim203
d6d19b02b2
Fix #5089 and don't auto-load Registries (#5093)
* Fix #5089 and made Registries instance based

* Instead of using instance based Registries, manually initialize them

* Address review

* Commit this too pls
2024-10-27 22:53:56 +01:00
Camotoy
198eeac4c2
Implement shapeless/complex recipes; fix crawling 2024-10-26 23:48:31 -04:00
Camotoy
c9eeed905b
Fix horse movement 2024-10-26 13:24:15 -04:00
Camotoy
9d2d12b87b
Re-implement steering indicators 2024-10-26 01:41:23 -04:00
Camotoy
774d3670c5
Horses are still weird, but boats are mostly working 2024-10-26 01:27:55 -04:00
Camotoy
2025a2dc3a
Fix teleport packets; implement new inventory packets 2024-10-25 14:41:35 -04:00
Camotoy
6331cb6d58
Fix pulling skulls/heads from creative inventory 2024-10-24 19:52:18 -04:00
Camotoy
787dc244c8
onGround works 2024-10-24 19:27:12 -04:00
onebeastchris
1a04aa6ea6 Initial 1.21.3 changes for mod platforms 2024-10-25 02:20:22 +08:00
Camotoy
e17ad64d8c
Migrate to SERVER-AUTHORITATIVE MOVEMENT dun dun dunnnn 2024-10-24 13:47:03 -04:00
chris
29fe033257
Don't attempt to clear registry that hasn't been loaded yet (#5101) 2024-10-25 00:55:19 +08:00
Camotoy
52ce17dee6
Re-implement stonecutter recipes 2024-10-23 20:40:46 -04:00
Camotoy
e00ef21af4
Work on recipes 2024-10-22 23:22:47 -04:00
Eclipse
e78b24830d
Improve tag loading and load non-vanilla tags as well (#4849)
* Work on new tag system, still largely unfinished

* Continue work on new tag system, closer to testing now

* Add holderset class for geyser

* My IDE did some stuff it shouldn't have done

* Add is method for HolderSets to TagCache

* Add some documentation

* Fix build and slightly adjust documentation

* Fix some issues, still broken

* Fix more issues with registering vanilla tags, works better now

* Fix all issues with vanilla and non-vanilla tags, fix documentation a bit.

* Small cleanup

* Use IllegalArgumentException instead of asserting and make TagRegistry#getVanillaTags return original map

* Generics - still untested

* Remove different lookups for vanilla- and non-vanilla tags

* Add toNetworkId and fromNetworkId methods to JavaRegistryKey, simplify TagCache

* More cleanup, add documentation

* Fix registry loading

* Rename HolderSet to GeyserHolderSet and address reviews by camotoy

* Make holder set reader method not throw an exception, clean up

* Make holder set reader warn when failing to read

* Add comment to make clearer why a cast is make

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-10-22 18:31:37 -04:00
Camotoy
e7ecb55f33
Indicate support for Bedrock 1.21.41 2024-10-22 18:10:27 -04:00
chris
d94c6ffcb6
API: Expose a GeyserConnection's protocol version (#5083)
* Add protocolVersion() to GeyserConnection

* specify which protocol
2024-10-23 03:49:04 +08:00
Camotoy
b9b41b45f0
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21.2 2024-10-22 15:48:47 -04:00
Camotoy
264a914d41
Clean up inventory packet sending 2024-10-22 12:41:55 -04:00
Roman Alexander
fb868e41ed
Protocol Update 1.21.40 (#5091)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2024-10-22 01:25:13 -04:00
Camotoy
aaf95effc4
IT BOOOOOOOOOTS 2024-10-21 13:50:41 -04:00
Camotoy
04128907b4
More progress 2024-10-21 01:19:18 -04:00
Camotoy
93d96ef5a4
Boat changes applied 2024-10-20 14:54:27 -04:00
chris
0f184627f3
Fix: Late Geyser response to ClientboundSelectKnownPacks packet (#5090) 2024-10-21 00:36:02 +08:00
Camotoy
e2f40569f8
Get some bits going 2024-10-19 22:38:04 -04:00
chris
d64c0b38da
Fix: Extension command arg parsing (#5081)
* Fix: No args being parsed as 1 arg, and don't try to localize extension command's descriptions

* add comment
2024-10-13 01:12:58 +08:00
Camotoy
50de9d6867
Fix PROXY protocol support 2024-10-10 15:27:49 -04:00
Tim203
123c5cc5d8
Check whether the entity definition has a type
Fixes #5078
2024-10-10 14:18:35 +02:00
Tim203
521df04ed9
Fix experience orbs after the scoreboard rework
Fixes #5075
2024-10-09 11:49:24 +02:00
Camotoy
c427630a01
Fix broadcast port default 2024-10-08 18:44:43 -04:00
Tim203
ef4acb121f
Scoreboard rework (#4947)
* Initial version of the great scoreboard rework

* Fixed some issues and added some initial tests

* Addressed review

* Added CubeCraft's scoreboard as a test, and fixed a discovered bug

* Removed var usage for primitives and String, removed star imports
2024-10-08 19:26:46 +02:00
Alex
c656e415f3
Update to new MCPL (#4902)
* Update to new MCPL

* Add flow control to localsession to resolve race conditions

* Update listeners

* Update mcpl

* Bump mcpl

* Remove default listeners override

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

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

* Bump MCPL

* Update mcpl impl

* Bump mcpl

* Update mcpl

* Inline lambda

* update mcpl

* back to mcpl snapshots instead of jitpack

---------

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
2024-10-08 22:39:50 +08:00
Camotoy
4820893792
Fix NPE with dimension handling in online mode
This change should be fine since all dimensions are iterated through in the registry cache
2024-10-03 18:02:01 -04:00
RK_01
26c4c5250a
Add support for extended world height (#5002) 2024-10-03 12:12:57 -04:00
Camotoy
172cf82725
Indicate support for Bedrock 1.21.31 2024-09-30 18:22:11 -04:00
Camotoy
23cf397fa8
More accurate turtle scale 2024-09-26 18:10:18 -04:00
Camotoy
b2ea5792be
Better config JSON encoding (something is broken with Cloudflare; we'll figure it out 2024-09-26 16:39:09 -04:00
Camotoy
c4bed6509c
Constant for 'system' locale 2024-09-26 13:28:39 -04:00
Camotoy
0a625627c9
More explicit RuntimeException message
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-09-26 01:07:57 -04:00
Camotoy
8b43498faa
oops 2024-09-25 19:18:57 -04:00
Camotoy
fc10ec265f
Logger message for direct-compression still being enabled 2024-09-25 19:13:36 -04:00
Camotoy
bfd032d685
Update cooldown image 2024-09-25 19:09:18 -04:00
Camotoy
0d9b20a20d
Update custom unavailable slot comment
Co-authored-by: chris <github@onechris.mozmail.com>
2024-09-24 11:53:31 -04:00
onebeastchris
02a361edaa ensure it builds 2024-09-24 21:45:37 +08:00
onebeastchris
a44edb3b62 Fix: disable bstats relocation on platforms where it is not needed 2024-09-24 21:37:25 +08:00
Camotoy
2ee488d995
No need to remove values anymore 2024-09-23 13:58:20 -04:00
Camotoy
d03e661434
Merge branch 'feature/configurate' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-09-23 13:57:58 -04:00
Camotoy
3448c2fa9b
Apply suggestions from code review
Co-authored-by: chris <github@onechris.mozmail.com>
2024-09-23 13:57:32 -04:00
Camotoy
2034ffa49b
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-09-23 12:45:34 -04:00
Camotoy
869f7a8966
Update Xbox achievement comment 2024-09-22 16:29:29 -04:00
Camotoy
adee6a7929
Remove old config.yml file 2024-09-22 13:09:06 -04:00
Camotoy
45f8baf49e
Remove GeyserPluginBootstrap as it's no longer necessary 2024-09-22 13:05:33 -04:00
Camotoy
7af5bac905
Update sponge and purpur pillar items 2024-09-19 12:42:24 -04:00
Camotoy
2ef6172bfc
Fix wet sponges and purpur pillars 2024-09-18 14:51:48 -04:00
Camotoy
1ab740915a
Fix diorite wall mappings 2024-09-18 12:00:33 -04:00
Camotoy
7332c6b48f
Properly update mappings and fix walls 2024-09-17 20:34:14 -04:00
Roman Alexander
11f76b6c86
Update to 1.21.30 (#5041)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2024-09-17 11:48:36 -04:00
Camotoy
a5e45ad7ed
Workaround for goat horns on the client side 2024-09-14 18:30:25 -04:00
Camotoy
34fda8a743
Small optimizations in Enchantment 2024-09-13 15:51:39 -04:00
Camotoy
ed5195a842
Fix some instances of enchantment names not deserializing 2024-09-13 13:48:54 -04:00
Camotoy
5551169c4c
Re-introduce asterisk behavior in configs 2024-09-12 21:00:30 -04:00
Camotoy
e99759d701
Fix test 2024-09-12 16:45:40 -04:00
Camotoy
1271505c26
Use global bStats config where possible 2024-09-12 15:36:42 -04:00
Camotoy
b71927840b
Renaming to PluginSpecific 2024-09-10 18:36:23 -04:00
Eclipse
73f7259b6d
Add proper text component parsing from NBT (#5029)
* Attempt creating a simple NBT text component parser

* Fix style merging

* Rename TextDecoration to ChatDecoration, use better style deserialization in ChatDecoration

* Remove unused code

* containsKey optimisations, update documentation, improve getStyleFromNbtMap performance slightly, more slight tweaks

* Remove unnecessary deserializeStyle method
2024-09-11 04:10:31 +08:00
Camotoy
a6c21b1f00
Let annotations work 2024-09-09 20:07:18 -04:00
AJ Ferguson
14cf104cff
Do not send thunder strength if not raining (#5031)
* Do not send thunder strength if not raining

* Address review

* Minor optimization
2024-09-09 18:23:19 -04:00
Camotoy
a2e9e702b3
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-09-09 18:10:29 -04:00
Camotoy
723840c7fc
More clear message when logging in without a paid Java account 2024-09-09 15:42:57 -04:00
AJ Ferguson
c28522af6e
Delay clear weather packets (#5030) 2024-09-08 23:06:36 -04:00
AJ Ferguson
e194880f7e
Cancel Erosion futures when disconnecting/switching servers (#5026) 2024-09-07 22:29:27 -04:00
AJ Ferguson
34f5d71e58
Validate sleep message arguments (#5023) 2024-09-06 13:48:00 -04:00
RK_01
9dad34d0a8
Unhardcode PARTICLES_DRAGON_BLOCK_BREAK id (#5018) 2024-09-03 16:25:49 -04:00
Konicai
f8884568ee
Gradle: avoid cross-configuration and enable configuration-on-demand (#5012) 2024-09-03 00:54:50 -04:00
chris
65cb15400a
Fix: Broadcast port system property not being read on Geyser-Standalone (#4942)
* this is supposed to work on standalone aswell

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

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

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

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

* address review

---------

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-09-03 01:04:44 +02:00
RK_01
74034f0783
Fix PARTICLES_DRAGON_BLOCK_BREAK translation (#5015) 2024-09-02 22:08:43 +02:00
Camotoy
c4c88089b4
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-09-01 14:45:05 -04:00
Camotoy
8935b34365
Ensure players aren't floating in their beds; improve Bedrock sleeping notifications 2024-08-30 22:16:45 -04:00
Camotoy
63e60bc93c
Allow Bedrock players to sleep on Fabric
Fixes #5001
2024-08-29 21:09:36 -04:00
Konicai
1b17c6bd8e
Fix loom usage, and disconnect messages for all outdated clients (#5006) 2024-08-29 14:50:26 -04:00
Camotoy
5870856ef7
Remove Jackson; finish config value placements 2024-08-29 14:39:55 -04:00
chris
8356b63f5d
Fix: Structure blocks/voids in recipes (#4999)
* Fix: Structure blocks/voids in recipes

* add gh issue link
2024-08-27 18:40:22 +02:00
AJ Ferguson
46b2c03215
Fix rare netid desync when crafting (#4997) 2024-08-27 05:37:01 -04:00
AJ Ferguson
3be9b8a183
Fix moving items from output slot over multiple actions (#4993)
* Fix moving items from output slot over multiple actions

* Refactor and use temp slot

* Ensure source slot is not cursor
2024-08-26 00:48:42 -04:00
chris
efe8077093
Feature: Modrinth version names (#4989)
* Feature: Version names on modrinth published builds

* Also change the fabric/neoforge jar file names
2024-08-25 21:31:03 +02:00
Camotoy
f113c8967e
Initial advanced config 2024-08-24 18:56:15 -04:00
Camotoy
2274377814
Show the help command even with command suggestions disabled 2024-08-22 13:16:07 -04:00
Camotoy
6801338ff9
Another route of ensuring /help goes through to Bedrock 2024-08-22 00:50:16 -04:00
Camotoy
d9d78cd9ca
Ensure metrics UUID is valid 2024-08-21 21:38:13 -04:00
Camotoy
85d63dea36
Merge pull request #4954 from Konicai/feature/configurate
Improve node ordering when updating configs
2024-08-21 15:05:31 -04:00
Tim203
b792f72ec7
Fix invalid ping version causing "Unable to connect to world" 2024-08-21 13:46:10 +02:00
chris
bc78665410
Indicate 1.21.21 support, update Bedrock protocol library dependencies (#4974)
* Show 1.21.21 as being supported, bump Bedrock protocol library

* Dont print debug
2024-08-21 09:36:23 +02:00
Camotoy
f7a677ec67
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-08-21 01:59:36 -04:00
chris
7da1d7d30f
Fix: Invalid heads blocking inventory transactions (#4969) 2024-08-16 01:09:08 +02:00
AJ Ferguson
34bab14860
Emulate client side vehicle movement (#4648)
* WIP client side vehicles

* Address reviews and remove use of Optional

* Only tick active vehicle

* Track world ticks

* Fixes for Camel dash and pose transition

* Remove vehicle parameter

* Start using blocks refactor

* Update BlockRegistryPopulator

* Update blocks

* Support step height attribute

* Use climbable block tag and TrapDoorBlock

* Lock camel rotation if stationary

* Fix boost ticking

* Keep cache of surrounding blocks

* Fix bug causing BoundingBox position to change in CollisionManager

* Clamp user input

* Support weaving status effect

* Support gravity attribute

* Piston support

* Tick boost for Pig and Strider if any player is controlling

* Submodule

* Address some reviews

* Support world border

* Optimize world border check

* Small optimizations

* Add comments
2024-08-15 03:03:34 -04:00
Camotoy
4f7e9fca9c
Update Protocol and fix item stack encoding 2024-08-14 16:07:15 -04:00
chris
0bc39d5a19
Remove old config option (#4962) 2024-08-13 22:05:40 +02:00
Camotoy
8f7d512073
Fix armor not being visible on 1.21.20 2024-08-13 13:42:20 -04:00
chris
ce62824899
Feature: Add method to close forms in the API (#4957)
* Add closeForm api method

* Move version check to GameProtocol
2024-08-12 23:29:00 +02:00
Camotoy
bd73cbd243
Merge pull request #4912 from GeyserMC/feature/1.21.20
Support 1.21.20
2024-08-12 17:00:56 -04:00
chris
d3ea65196b
Feature: Detect incorrect proxy setups (#4941)
* Feature: Detect & warn about incorrect proxy setups on Spigot platforms

* Properly disable Geyser if we failed to load
2024-08-11 00:50:27 +02:00