Commit graph

1386 commits

Author SHA1 Message Date
onebeastchris
db246ffb3b Update Properties/Blocks, re-include neoforge, target 1.21.4 release 2024-12-04 01:28:29 +08:00
onebeastchris
d114ab9ad1 send ServerboundPlayerLoadedPacket, update built-in-tags 2024-12-04 00:43:06 +08:00
onebeastchris
be77e6b2bf Load default item components 2024-12-04 00:01:54 +08:00
onebeastchris
84faeba4b2 More item changes, remove/deprecate more tooltier usages, change stored map colors 2024-12-03 23:17:00 +08:00
onebeastchris
5162aeb9b3 Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4
# Conflicts:
#	gradle.properties
2024-12-03 23:14:05 +08:00
chris
9e276c1077
Feature: 1.21.50 support (#5180)
* Drop pre-1.21.40 support, start adapting to 1.21.50 changes

* fix camera definitions

* remove more old workarounds, make it compile

* Add 1.21.50 data files

* Add item tags, update block registry populator

* finishing touches

* Don't add items to the creative inventory that we don't have a Java mapping for

* fix readme typo
2024-12-03 20:37:05 +08:00
onebeastchris
650cb8d473 remove isValidRepairItem in favor of component, remove unneeded item tiers, deprecate repair items and tool tier in NonVanillaCustomItemData 2024-12-03 18:35:02 +08:00
onebeastchris
289a74975d start implementing new block breaking 2024-12-03 17:25:48 +08:00
BugTeaON
d956354b7f
Feature:Make custom effect information visible & Support for customizing item name via 'custom_name' tag in 'potion_contents' component (new feature since 1.21.2) (#5176)
* Make custom effect information visible

* Support for customizing item name via 'custom_name' tag in 'potion_contents' component

* A little optimization of custom effect information

* The effect information should appear in front of the custom lore
2024-12-03 14:03:09 +08:00
Eclipse
52f2b9f142
Add model grouping 2024-12-02 10:06:00 +00:00
onebeastchris
77ffb6098e Better immutability checks 2024-12-02 02:48:54 +08:00
onebeastchris
a9577a946e Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/translator/inventory/LecternInventoryTranslator.java
2024-12-02 02:46:34 +08:00
onebeastchris
48ae28432e More changes - remove getPickItemComponents in WorldManager, separate additional and base component 2024-12-02 02:23:02 +08:00
Camotoy
1eedf1987c
Fix #5150 2024-12-01 11:50:52 -05:00
Eclipse
ce55d88ab8
Clean up predicates a bit 2024-12-01 15:31:02 +00:00
Eclipse
7888956a36
More work on predicates, I'll probably simplify it later 2024-12-01 12:46:21 +00:00
onebeastchris
feecc47092 More work on 1.21.4 changes 2024-12-01 03:22:34 +08:00
Eclipse
8ea3c973f3
Start work on predicates, somewhat 2024-11-30 10:34:22 +00:00
Eclipse
4514f55273
Work on support for the old format 2024-11-30 10:23:07 +00:00
Eclipse
7eeb5bbc90
Remove old custom item options 2024-11-30 10:12:34 +00:00
Eclipse
8bbad9ddcd
Implement the changes in Geyser part 2 2024-11-30 09:55:50 +00:00
Eclipse
efae1f3665
Implement the changes in Geyser 2024-11-30 09:34:54 +00:00
Eclipse
4af8e124fa
Add documentation and change some stuff in the API 2024-11-30 09:24:53 +00:00
Eclipse
1dd854a8b6
Implement block item and entity placer properties 2024-11-30 09:04:57 +00:00
Eclipse
cce49fad0f
Fix max stack size and max damage components 2024-11-30 08:55:30 +00:00
onebeastchris
d53a1a5cc4 Start on 1.21.4 support 2024-11-30 14:11:20 +08:00
Eclipse
435b73df69
Add use cooldown support 2024-11-29 16:09:51 +00:00
Eclipse
0922b181f2
Fix equippable slot reading and add support for all consume animations 2024-11-29 15:51:22 +00:00
Eclipse
ea6c3c67f0
Add component readers for all the planned components 2024-11-29 15:16:04 +00:00
Eclipse
61f5db1059
First work on a new API (wow that's a lot of TODOs) 2024-11-29 14:01:25 +00:00
chris
c240c1cfb5
Fix: Virtual lecterns not displaying book contents (#5169) 2024-11-29 11:43:58 +08:00
chris
c145c3f495
Fix: Don't include player offset when querying player position in the api (#5168) 2024-11-27 22:51:59 +08:00
Camotoy
b962918ac5
Fix #5162 (#5163) 2024-11-25 10:18:10 -05:00
AJ Ferguson
2ebce9c5c9
Fix camel jump cooldown (#5161) 2024-11-22 12:33:32 +00:00
Camotoy
abf68604be
Fix missing ominous potion levels
Fixes #5153
2024-11-16 13:31:17 -05:00
Eclipse
0750990e4f
Fix abstract arrow entity metadata (#5149) 2024-11-13 23:47:39 +08:00
Camotoy
fd58c729d8
Fix smithing recipes on 1.21.1 2024-11-11 20:11:03 -05:00
蒟蒻
e645935533
Fix #5070 light block placement (#5104)
Signed-off-by: 蒟蒻 <mlpmmy@gmail.com>
2024-11-11 13:44:22 -05:00
Camotoy
1b4d257e35
Better onGround check
Thanks to @AJ-Ferguson for the suggestion.

Includes hacks to still maintain pre-1.21.30, but that will likely lose support very soon, anyway.
2024-11-07 16:09:31 -05:00
Camotoy
aebf9d399b
Fix TagRegistryPopulator on older Gson versions
Fixes #5132
2024-11-07 12:43:37 -05:00
Camotoy
881b8e9b90
Better multi-item recipe support for 1.21.1 2024-11-06 18:37:31 -05:00
Camotoy
6e8a955ee0
Dust particle color verified working 2024-11-04 21:26:17 -05:00
Camotoy
f5d9db4ff6
Some final touches 2024-11-04 21:13:14 -05:00
Camotoy
706b18d933
Merge branch 'feature/1.21.2' of https://github.com/GeyserMC/Geyser into feature/1.21.2 2024-11-04 17:56:55 -05:00
Camotoy
5162d4516d
Cleanup and fixes 2024-11-04 17:56:24 -05:00
onebeastchris
cfaa219f19 Remove unused method 2024-11-04 18:00:29 +08:00
Camotoy
521b9f3dce
Add tab completion to Geyser standalone 2024-11-04 00:42:01 -05:00
Camotoy
8827173c5b
Merge remote-tracking branch 'origin/master' into feature/1.21.2 2024-11-03 13:25:31 -05:00
Camotoy
1958c41e4d
Fixed dyed horse armor 2024-11-03 13:23:28 -05:00
Camotoy
ee4047b529
Send end tick packet 2024-11-03 13:17:59 -05:00
Camotoy
ecc5e8c175
Clear old recipe code from UpdateRecipesTranslator 2024-11-03 11:38:15 -05:00
onebeastchris
9a41f59a33 Fix: Ignored rotation players to session player (self) 2024-11-03 23:58:09 +08:00
Camotoy
5b5ac3024f
Use non-Jitpack MCPL 2024-11-03 01:04:56 -05:00
onebeastchris
3298cdbc3c Small fixes; start on new rotation packet
why is bedrock weird with player rotation
2024-11-03 03:23:00 +08:00
onebeastchris
4d15c7fbcc Fix different ResourcePackPushPacket handling, cache current input mode 2024-11-03 00:01:39 +08:00
Tim203
d61ad7baef
Reset the scoreboard in the configuration stage 2024-11-02 11:51:01 +01:00
onebeastchris
47ac22aecf Not all water entities are ageable; only some are; oops 2024-11-02 17:38:41 +08:00
onebeastchris
e9cee51be2 Water creatures are now ageable 2024-11-02 17:07:57 +08:00
Camotoy
734e429cef
Map Java tags to Bedrock tags in recipes where possible
Bedrock tags have been generated from Endstone's devtools.
2024-11-02 01:38:24 -04:00
Camotoy
67a1805fa6
Indicate support for Bedrock 1.21.44
Bedrock are u ok
2024-11-01 14:48:07 -04:00
Camotoy
293102e60d
Remove debug code 2024-11-01 14:44:08 -04:00
Camotoy
dd8a7a7edd
Map experimental items to 'minecraft:unknown' Bedrock block 2024-11-01 14:42:21 -04:00
Camotoy
dc1674fcbf
Massively clean up Cloud -> Bedrock code 2024-11-01 13:13:20 -04:00
Camotoy
df8bd9b583
Implement rich commands for Cloud on standalone 2024-11-01 00:39:24 -04:00
Camotoy
edd62eb39e
Update CodecProcessor 2024-10-31 19:48:22 -04:00
Camotoy
4da8eca99a
Cleanup and update Adapters 2024-10-31 19:31:34 -04:00
Eclipse
6cc2aa3697
Goat horns and item cooldowns for 1.21.2 (#5102)
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2024-10-31 18:52:26 -04:00
Tim203
faf663d3cd
Check if objective is null and made scoreboard errors player-specific 2024-10-31 09:31:24 +01:00
Camotoy
4588f341ec
Fix test 2024-10-30 20:40:34 -04:00
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
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