3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-03 16:31:14 +02:00
Commit graph

1253 Commits

Autor SHA1 Nachricht Datum
onebeastchris
e1f86a8290 merge master 2024-08-20 23:48:25 +02:00
onebeastchris
ca55d9f091 Merge remote-tracking branch 'refs/remotes/upstream/master' into subpacks-rewrite-merge-urlpacks
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
2024-08-20 23:46:00 +02:00
onebeastchris
139976a8e8 revert bad changes 2024-08-20 23:45:06 +02:00
onebeastchris
1867c6dc6a one more change 2024-08-20 23:37:25 +02:00
onebeastchris
c13f9281d5 Merge remote resource packs, change the default pack option system 2024-08-20 23:30:40 +02:00
onebeastchris
9279c70624 Merge remote-tracking branch 'refs/remotes/origin/rp' into subpacks-rewrite-merge-urlpacks
# Conflicts:
#	api/src/main/java/org/geysermc/geyser/api/event/bedrock/SessionLoadResourcePacksEvent.java
#	core/src/main/java/org/geysermc/geyser/event/type/SessionLoadResourcePacksEventImpl.java
#	core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
#	core/src/main/java/org/geysermc/geyser/pack/GeyserResourcePack.java
#	core/src/main/java/org/geysermc/geyser/registry/loader/ProviderRegistryLoader.java
#	core/src/main/java/org/geysermc/geyser/registry/loader/ResourcePackLoader.java
2024-08-20 20:06:34 +02:00
onebeastchris
6c5a05a8b8 Remove options taking a ResourcePack, use uuids
Add uuid shortcut to ResourcePack interface
Make the priority a double, add LOWEST and HIGHEST priorities
2024-08-20 19:23:59 +02:00
onebeastchris
fb4e42de6c Ensure we don't modify default options 2024-08-19 23:34:12 +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
onebeastchris
250a9b43d1 Check for duplicate options, other fixes 2024-08-13 01:31:36 +02:00
onebeastchris
a868ced1a7 attempt at implementing resource pack order specifying 2024-08-13 00:42:01 +02: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
onebeastchris
c316d09754 further optimizations, disconnects clients on odd responses 2024-08-12 23:20:17 +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
onebeastchris
033d2d6d8c Attempt at making a proper builder for resource pack options (content key, default subpack), and a ResourcePackOption system to register packs with further options 2024-08-12 20:02:57 +02:00
chris
20e49192f1
Merge branch 'GeyserMC:master' into rp 2024-08-12 00:24:20 +02:00
onebeastchris
0f8d729dbc Also expose the settings of a resource pack, as shown on https://learn.microsoft.com/en-us/minecraft/creator/documents/utilizingsubpacks?view=minecraft-bedrock-stable 2024-08-11 14:44:50 +02:00
onebeastchris
61334875fa Feature: Subpack loading 2024-08-11 14:12:49 +02: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
chris
b43e2db5dc
Merge branch 'master' into rp 2024-08-02 03:20:43 +02: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