3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-19 22:40:18 +01:00
Commit graph

1261 Commits

Autor SHA1 Nachricht Datum
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
Konicai
e506c14eb4 Better check for ignoring non-configurate configs for considering comment moving 2024-08-08 21:30:44 -05:00
Konicai
0952f79c44 typo 2024-08-08 21:21:14 -05:00
Konicai
76ca326590 Improve node ordering when updating configs 2024-08-08 21:15:47 -05: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
Camotoy
406eae2a91
Fix #4870 2024-07-17 14:21:41 -04:00
Valaphee The Meerkat
669a76c628
Empty player list on phase transition, despawn skulls, always reset weather (#4847)
* Empty player list on transition, despawn skulls

* Always reset weather
2024-07-16 07:13:34 -05:00
masel.io
677a56cf6c
Add Timeout to CompletableFuture in GeyserBungeePingPassthrough to Prevent Memory Leak (#4858)
* fix: Add timeout for GeyserBungeePingPassthrough#getPingInformation

Signed-off-by: ByteExceptionM <git@byteexception.eu>

* fix: Use Geyser Logger instead of Bungee Logger

Signed-off-by: ByteExceptionM <git@byteexception.eu>

* Fix typo

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

* chore: Add ip suppression if configured

Signed-off-by: ByteExceptionM <git@byteexception.eu>

* Remove empty line

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

* Remove empty line

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

---------

Signed-off-by: ByteExceptionM <git@byteexception.eu>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
2024-07-16 11:23:30 +02:00
Camotoy
305495c923
Indicate support for Bedrock 1.21.3 2024-07-15 15:16:45 -04:00
chris
efc8ba0610
Fix: Block place sounds on mod platforms (#4859) 2024-07-15 01:31:03 +02:00
chris
06890504a2
Fix: Totem animation when playing totem effects manually (#4860)
* Fix: Totem animation for manually played totem effects

* Ensure we always reset the offhand correctly
2024-07-14 21:55:57 +02:00
chris
9cdda707a3
Fix: Send a container close packet to Java for containers that could not be opened (#4861)
* Close containers if we did not manage to open it

* Mark session inventory translator as nonnull
2024-07-14 20:17:22 +02:00
LetsGoAway
49f66c2a02
Correctly cap scale attribute (#4856)
* Fix scale attribute cap

* Update LivingEntity.java
2024-07-14 10:44:39 +02:00
chris
6ab0186fc9
Fix: Manually translated item names for block items not showing up properly (#4857) 2024-07-13 22:00:15 +02:00
Camotoy
6e0bad3c40
Fix #4837 by not hardcoding dimension IDs 2024-07-13 15:11:22 -04:00
chris
b0c7ddb68d
Fix: Item color names/glint for rare items (#4763)
* debug stick changes

* yay light purple item name

* Address review

* Auto-generate rarity

* Add glint generation

* Translate all rare items properly

* Use putIfAbsent instead of double checks
2024-07-13 18:53:13 +02:00
chris
93b0a61265
Fix: hanging sign recipe not showing up in the recipe book (#4814) 2024-07-12 20:55:40 +02:00
Eclipse
2a6025f3fc
Fix reading enchantments from server (#4836) 2024-07-10 12:02:32 +02:00
Camotoy
7fdb410d26
Fix mappings 2024-07-09 13:00:27 -04:00
Camotoy
a3b1f203ec
Bump Bedrock version in README 2024-07-09 12:59:48 -04:00
Camotoy
f825007d9a
Support Bedrock 1.21.2 2024-07-09 12:39:43 -04:00
Camotoy
ab4cc97b38
More changes and migrations away from Jackson 2024-07-09 12:26:27 -04:00
chris
0a928c41b0
Show potions & custom items in the shulker box tooltip (#4822)
* Fix: Potions/Custom items showing up improperly in shulker box previews

* oops
2024-07-08 00:41:00 +02:00
strom
e0af0a54b7
Fix: Text display passenger offsets (#4676) 2024-07-07 16:59:18 +02:00
LetsGoAway
a807fa6bb5
Fix typo in version command (#4830) 2024-07-07 11:27:49 +02:00
Camotoy
c095c276ef
The configuration is gone. Long live the config. 2024-07-06 22:49:28 -04:00
Camotoy
29f8e294ad
New config used in core 2024-07-06 19:16:08 -04:00
chris
cbd59de37b
Only apply door fix when we can actually access the old blockstate (#4827) 2024-07-06 23:14:15 +02:00
Ethan
3c35fd303f
Fix toggleable block opening sounds (doors, trapdoors, fence gates) (#4815)
* Initial Commit

* Fix minor copy and paste comment mistake

* Remove debug log

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

* Remove iron check on fence gate sound translator

iron fence gates dont exist lol

* Remove iron check from fence gate sound translator.

Iron fence gates dont exist (yet)

* Remove unnecessary curly braces

* Rewrite the code, now functioning correctly with the runtime id

* Update mappings

* Better formatting

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

* fix comment because it is referring to code that has been changed

* Hopefully fix double closing

* Seems like the double closing issue isnt from my code and from somewhere else

* Fix issue where doors would update twice when opening/closing them using the upper half

* change weird variable name

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-07-06 15:50:19 +02:00
Ethan
9f19c0a9f6
Fix: Trial Spawner Level Events (#4821)
* commit every thing i could do, couldnt get it to work with ominous stuff

* Fix trial spawner events to work correctly.

* Update mappings to latest

* fix comment

* Workaround for buggy trial chamber particles

* Fix positioning and also fix become ominous event

* Fix sounds and positioning again

* Fix random new line

* Update mappings

* update cloudburst library to 20240704.153116-14

* Fix accidental random line
2024-07-06 11:58:54 +02:00
Eclipse
ff1e1dd7e3
Fix attribute modifier tooltips (#4816) 2024-07-02 15:17:47 +02:00
chris
48ea81eb98
Update mappings (#4812)
Fixes short grass mapping
2024-07-01 17:17:52 +02:00
Camotoy
7612686972
Don't show git version string twice 2024-06-30 22:03:30 -04:00
Camotoy
c621e93e64
Merge branch 'master' of https://github.com/GeyserMC/Geyser 2024-06-29 13:30:31 -04:00
AJ Ferguson
130b27203f
Limit particle amount in LevelParticlesPacket (#4802) 2024-06-28 22:55:36 -04:00
Camotoy
db9b951352
Fix regression in properties get 2024-06-26 22:35:54 -04:00
Camotoy
add02cadd7
GeyserCustomSkullConfiguration uses Configurate 2024-06-26 21:49:26 -04:00
Camotoy
360350d44e
Work around older Gson versions without record support 2024-06-26 12:49:42 -04:00
Camotoy
7eb5b539b5
Use slightly cleaner version for Version deserializer 2024-06-26 10:39:50 -04:00
Camotoy
0dadbc2ce2
Allow tests to succeed by using new Gson version 2024-06-26 10:17:21 -04:00
Camotoy
2d33cfd149
Most things now use Gson for JSON 2024-06-26 01:04:19 -04:00
Camotoy
8d24891c97
Update usage of WebUtils 2024-06-24 18:16:14 -04:00
Camotoy
528de86340
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/configurate 2024-06-24 16:31:43 -04:00
Camotoy
835ba9e24f
Remove casting from block mappings 2024-06-24 16:25:12 -04:00
Ethan
a8bd93a075
Add fix (#4792) 2024-06-23 12:43:09 -07:00
chris
55e90b6f57
Show build number in startup log, fix Geyser version command(#4336)
* Version check command/startup log shows build number
* Add development build warning
* Fix `/geyser version` command
* Hack around outdated language module
2024-06-22 20:32:29 +02:00
Camotoy
e6bf3ffdf0
Proper trial spawner block entity data 2024-06-21 15:58:23 -04:00
Camotoy
21ccafc40c
DataComponentType.ITEM_NAME should remove italics 2024-06-21 13:53:38 -04:00
Camotoy
a12d60d27f
Show trial chamber map item texture 2024-06-21 13:50:10 -04:00
chris
110470726a
Fix: Bedrock players dying of fall damage, instead of falling in the void (#4704)
* fix https://github.com/GeyserMC/Geyser/issues/4649

* add javadoc
2024-06-21 18:28:05 +02:00
basaigh
c00a02e5ea
Add trial chambers map icon (#4783) 2024-06-21 15:36:55 +01:00
Camotoy
78642db3ad
Ensure players get disconnected with no Java disconnect packet 2024-06-20 19:15:05 -04:00