Commit graph

3979 commits

Author SHA1 Message Date
Camotoy
37b9e6591e
Re-enable testing 2024-10-30 20:25:57 -04:00
Camotoy
214cacff3b
Merge remote-tracking branch 'origin/master' into feature/1.21.2 2024-10-30 20:25:39 -04:00
Camotoy
b3e57fd465
Indicate support for Bedrock 1.21.43 2024-10-30 20:11:34 -04:00
Camotoy
c34b4b311f
Clean out debug logging statements 2024-10-30 15:37:10 -04:00
Tjorven Liebe
448c75e8f2
Fix pulling and placing skulls/heads from creative inventory (#5114)
* fix: pulling and placing skulls/heads from creative inventory

* fix: getting values of map

* fix: correct submodule permalink
2024-10-30 22:53:43 +08:00
Tim203
74b25ea3a5
Use deferred where needed instead of a load method on all registries (#5112)
* Use deferred where needed instead of a load method on all registries

* We don't have to load the registries, they're now safe to use for tests

* Renamed the deferred registries
2024-10-30 10:41:00 +01:00
Camotoy
8ba70f0fc8
Implement remainder slot display recipes 2024-10-29 23:16:24 -04:00
Camotoy
52679f9f81
On-the-fly smithing transform recipes 2024-10-29 01:33:57 -04:00
Camotoy
05f153c941
Re-implement on-the-fly recipe sending 2024-10-28 18:53:16 -04:00
Camotoy
344d40dd1f
Smithing recipes mostly work 2024-10-28 17:58:37 -04:00
Camotoy
3f60db1483
Fix collision registry loading 2024-10-28 01:38:45 -04:00
Camotoy
6c0d3419fc
Prevent recipe ID conflict 2024-10-28 01:31:08 -04:00
Camotoy
0f1a32e1c1
Clear recipes during the configuration phase 2024-10-28 01:29:03 -04:00
Tim203
8f7a0d0778
Correct the loading of the block registries and the common registries 2024-10-28 00:57:13 +01:00
Tim203
d6d19b02b2
Fix #5089 and don't auto-load Registries (#5093)
* Fix #5089 and made Registries instance based

* Instead of using instance based Registries, manually initialize them

* Address review

* Commit this too pls
2024-10-27 22:53:56 +01:00
Camotoy
198eeac4c2
Implement shapeless/complex recipes; fix crawling 2024-10-26 23:48:31 -04:00
Camotoy
c9eeed905b
Fix horse movement 2024-10-26 13:24:15 -04:00
Camotoy
9d2d12b87b
Re-implement steering indicators 2024-10-26 01:41:23 -04:00
Camotoy
774d3670c5
Horses are still weird, but boats are mostly working 2024-10-26 01:27:55 -04:00
Camotoy
2025a2dc3a
Fix teleport packets; implement new inventory packets 2024-10-25 14:41:35 -04:00
Camotoy
6331cb6d58
Fix pulling skulls/heads from creative inventory 2024-10-24 19:52:18 -04:00
Camotoy
67dbd869e4
Update README 2024-10-24 19:39:45 -04:00
Camotoy
787dc244c8
onGround works 2024-10-24 19:27:12 -04:00
onebeastchris
1a04aa6ea6 Initial 1.21.3 changes for mod platforms 2024-10-25 02:20:22 +08:00
Camotoy
e17ad64d8c
Migrate to SERVER-AUTHORITATIVE MOVEMENT dun dun dunnnn 2024-10-24 13:47:03 -04:00
chris
29fe033257
Don't attempt to clear registry that hasn't been loaded yet (#5101) 2024-10-25 00:55:19 +08:00
Camotoy
52ce17dee6
Re-implement stonecutter recipes 2024-10-23 20:40:46 -04:00
Camotoy
e00ef21af4
Work on recipes 2024-10-22 23:22:47 -04:00
Eclipse
e78b24830d
Improve tag loading and load non-vanilla tags as well (#4849)
* Work on new tag system, still largely unfinished

* Continue work on new tag system, closer to testing now

* Add holderset class for geyser

* My IDE did some stuff it shouldn't have done

* Add is method for HolderSets to TagCache

* Add some documentation

* Fix build and slightly adjust documentation

* Fix some issues, still broken

* Fix more issues with registering vanilla tags, works better now

* Fix all issues with vanilla and non-vanilla tags, fix documentation a bit.

* Small cleanup

* Use IllegalArgumentException instead of asserting and make TagRegistry#getVanillaTags return original map

* Generics - still untested

* Remove different lookups for vanilla- and non-vanilla tags

* Add toNetworkId and fromNetworkId methods to JavaRegistryKey, simplify TagCache

* More cleanup, add documentation

* Fix registry loading

* Rename HolderSet to GeyserHolderSet and address reviews by camotoy

* Make holder set reader method not throw an exception, clean up

* Make holder set reader warn when failing to read

* Add comment to make clearer why a cast is make

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-10-22 18:31:37 -04:00
Camotoy
e7ecb55f33
Indicate support for Bedrock 1.21.41 2024-10-22 18:10:27 -04:00
chris
d94c6ffcb6
API: Expose a GeyserConnection's protocol version (#5083)
* Add protocolVersion() to GeyserConnection

* specify which protocol
2024-10-23 03:49:04 +08:00
Camotoy
b9b41b45f0
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21.2 2024-10-22 15:48:47 -04:00
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
84dac08058
Bump MinecraftAuth to release 2024-09-24 21:01:47 -04:00