3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-28 00:50:20 +01:00
Commit graph

1336 Commits

Autor SHA1 Nachricht Datum
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
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
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
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
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
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
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
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
Camotoy
dd9d5f321b
Work around Bedrock players looking like Steve 2024-06-20 15:24:39 -04:00
Camotoy
f49acb2f7c
Indicate support for Bedrock 1.21.1 2024-06-20 15:08:49 -04:00
Alex
fc529a661c
Fix build errors reporting to the wrong directory by updating blossom (#4771)
* Fix build errors reporting to the wrong directory by updating blossom

* Add info comment
2024-06-20 10:29:42 -07:00
Eclipse
ded6f6bb7c
Fix NPEs caused by custom head blocks from Polymer (#4764)
* Add null checks to fix NPEs caused by custom head blocks from Polymer

* Make sure block state is never null, remove now unnecessary null checks

* Remove unnecessary default fallback in skull block entity translator
2024-06-20 16:46:54 +02:00
Camotoy
2e6cf2f4ca
Update mappings 2024-06-19 22:43:47 -04:00
Camotoy
57cb8549ec
Update Floodgate download location 2024-06-19 19:56:33 -04:00
chris
126d56d144
Fix: Ignore invalid block entity data sent by Java server (#4766)
* Proper block entity checks; ignore invalid block entity data sent by Java server

* fix intelliJ warning about potentially null block state

* Use auto-generated block entity types instead of hardcoding them

* undo some diff

* Update BlockRegistryPopulator.java

* Access block entity type of state by getting the block first

* deprecate JavaBlockState#hasBlockEntity

* Simplify check

* Add type check in JavaBlockEntityDataTranslator, ensure deprecated setBlockEntity() method still sets piston behavior

* nullability annotations

* yeet duplicate check
2024-06-19 23:48:55 +02:00
Camotoy
2c47330509
Use integrated world managers for decorated pot animation 2024-06-19 15:52:54 -04:00
chris
6884a0f7db
Fix: norwegian locale handling (#4716) 2024-06-19 02:37:34 +02:00
Camotoy
a9300fb1ab
Vault: show some components in block entity (enchantments, potion types) 2024-06-18 15:30:19 -04:00
chris
29928c2d83
Sanity check for shulker boxes (#4762) 2024-06-17 18:46:57 +02:00
basaigh
deb25d7147
Bump mappings to fix effects error on startup (#4760) 2024-06-17 13:17:57 +01:00
Eclipse
63a3da7c56
Fix reading custom jukebox songs (#4757)
* Read sound event objects properly in jukebox song

* Add debug log for unexpected sound event type
2024-06-16 19:35:18 -04:00
basaigh
1efb633723
Bump MCPL (#4756) 2024-06-16 22:05:28 +01:00
YHDiamond
6cda7c2202
Partially implement handling of "hide_tooltip" and fix attribute modifiers in "Armor" category not showing (#4731)
* Skip lore creation if hide tooltips exists

* Fix not showing attributes for "Armor" category

* Minor refactor

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-06-16 21:01:21 +02:00
Camotoy
3b46622ffa
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21 2024-06-16 12:19:32 -04:00
Camotoy
6025931c7d
Properly translate player entity UUID for vaults 2024-06-15 22:40:29 -04:00
Camotoy
851ed36244
Translate vault block entity 2024-06-15 16:52:09 -04:00
Camotoy
be83fe7220
Re-enable crafter inventory 2024-06-14 19:36:10 -04:00