3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-16 04:50:07 +01:00
Commit graph

1213 Commits

Autor SHA1 Nachricht Datum
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
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
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
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
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
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
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
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
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
Camotoy
f5b7cc725b
Fix mangrove propagule age (#4949) 2024-08-08 15:55:14 -04:00
Kas-tle
630a8424c2
Merge branch 'master' into feature/1.21.20 2024-08-07 17:36:23 -07:00
Camotoy
069d35c642
Likely fix for #2573
Tested working on Paper 1.21
2024-08-06 22:08:27 -04:00
Konicai
54c43f2b02
Suppress address in bind log if it is 0.0.0.0 (#4160)
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2024-08-06 18:36:34 -05:00
Kas-tle
5c617eb16f
Merge branch 'master' into feature/1.21.20 2024-08-06 11:49:01 -07:00
rtm516
83d8c19824
Make missing locale log as debug (#4940) 2024-08-06 12:56:10 +01:00
Konicai
ea6b0df9b5
Remove GeyserImpl#shouldStartListener (#4935) 2024-08-05 18:54:17 -05:00
Joshua Castle
523bcdc095
Specify 1.21.2/1.21.3 support
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-08-04 22:00:15 -07:00
Kas-tle
7f1b697036
Merge branch 'master' into feature/1.21.20 2024-08-04 21:45:22 -07:00
Konicai
61ae5debd4
Allow dumps to be created even if GeyserServer failed to start (#4930) 2024-08-03 10:23:06 -05:00
Camotoy
3d7e62a408
Fix some server switching issues and GeyserConnect 2024-08-01 18:35:03 -04:00
Kas-tle
402ea109a8
Merge branch 'master' into feature/1.21.20 2024-07-31 21:49:00 -07:00
Eclipse
95c6f7c9cf
Add advancement progress tracker (#4568)
* Fix fetching advancements with invalid parents
* Add progress tracker to advancements
* Use Java language key for progress counter
2024-08-01 03:18:49 +02:00
chris
f3ba5848c2 Extensions should specify geyser api version in the extension.yml (#3880)
* let extensions specify geyser api version instead of base api version

* fix spacing, @link formatting, properly check for compat

* Proper warning, update to API changes to also check patch version

* Bump base-api version

* adapt to new base api changes

* Actually bump to 2.4.1

* Update api/src/main/java/org/geysermc/geyser/api/extension/ExtensionDescription.java

* Address reviews

* Address reviews

* Update to latest base api changes; proper extension *human* version checking

* no need to apply a plugin, that's the default

---------

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-07-31 20:01:31 -05:00
onebeastchris
98c412c9ed fix missing import 2024-07-31 20:01:31 -05:00
chris
813d197887 Feature: API to switch items in the offhand/mainhand (#4819) 2024-07-31 20:01:31 -05:00
chris
48311f8771 Add a /geyser ping command (#4131)
* Init: Add /geyser ping command

* Block just console execution, not everything but console senders

* Use RTT as that seems to vary less wildly compared to getPing()

* Cleanup, use lang strings

* Add ping() method to GeyserConnection in api

* Update to cloud changes
2024-07-31 20:01:31 -05:00
Konicai
87ab51cb28 Cloud for commands (#3808)
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2024-07-31 20:01:31 -05:00
chris
6002c9c7a1
Only add a tag to the bedrock item if it is needed (#4925) 2024-07-31 21:22:22 +02:00