Commit graph

1191 commits

Author SHA1 Message Date
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
rtm516
13dfc7c173
Allow commands with xbox achievements enabled (#4894)
* Allow commands with xbox achievements enabled

* Don't enable by default

* Add null check to paramData

* Update comment
2024-07-31 02:06:26 +02:00
Kas-tle
841cb68003
Merge branch 'master' into feature/1.21.20 2024-07-30 06:32:26 -07:00
chris
efe2736635
Fix: Piston listener on Fabric/NeoForge (#4899)
* Fix: Sticky pistons not retracting on Geyser-Spigot/turning visually into normal pistons on all other platforms

* Initial attempt: Mod piston listener

* fix piston retracting
2024-07-30 10:26:02 +02:00
Joshua Castle
3e01c436c9
1.21.20
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-07-29 00:16:15 -07:00
Camotoy
45f96a03e7
Fix online mode no auth token dimension setting on login 2024-07-28 12:56:41 -04:00
chris
258d6aadb4
Fix: Bedrock players being able to always eat food while in peaceful difficulty (#4904) 2024-07-27 00:39:45 +02:00
Camotoy
663e3af7c8
Fix non-block items in stonecutters
Fixes #4845
2024-07-26 17:22:10 -04:00
Camotoy
e994d6e1d6
Bring in #4847 change 2024-07-26 16:51:22 -04:00
Camotoy
6299903ac3
Merge branch 'master' of https://github.com/GeyserMC/Geyser into fix/4837
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/util/DimensionUtils.java
2024-07-26 16:50:12 -04:00
Alex
a85b312b40
Port to MinecraftAuth (#4779)
Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2024-07-24 17:06:59 -04:00
Camotoy
96c58566b5
Map unbreakable item component
Fixes #4893
2024-07-24 14:27:05 -04:00
chris
b664395684
Fix: Sticky pistons not retracting on Geyser-Spigot/turning visually into normal pistons on all other platforms (#4891) 2024-07-23 23:12:05 +02:00
Camotoy
b113a6b185
Mark sequence position when block placing
Fixes some instances between 1.19 and 1.20.5 when block ghosting could occur
2024-07-23 15:43:57 -04:00
chris
1dd9ba3fb6
Fix: Allow items to be worn as hats if their Java base items also allow it (#4885) 2024-07-22 07:24:21 +02:00
chris
b248abf495
Fix: Text display offset <https://github.com/GeyserMC/Geyser/issues/4439> (#4883) 2024-07-21 13:11:27 +02:00
Camotoy
ddce10138e
Merge branch 'master' of https://github.com/GeyserMC/Geyser 2024-07-20 23:22:12 -04:00
Camotoy
7d5c4a38f8
Respect block range attribute where we can
#4864
2024-07-20 23:22:04 -04:00
Camotoy
c9e423a593
Small cleanups 2024-07-20 23:21:36 -04:00
chris
96f00981df
Somewhat fix: firework recipe not showing up in recipe book (#4873)
* Somewhat fix firework crafting

* Use instanceof instead of casting
2024-07-21 02:15:38 +02:00
chris
f62cef7acb
Fix: Only shutdown/close handlers in onDisable if they're nonnull (#4882) 2024-07-21 02:10:51 +02:00
LetsGoAway
8fd99e1e1a
Use the correct way of sending block breaking particles (#4825) 2024-07-20 12:09:22 +02:00
chris
9fe3acc81c
Properly fix hanging signs (#4872) 2024-07-17 21:44:53 +02:00