Commit graph

1409 commits

Author SHA1 Message Date
Eclipse
b254594bbf
Move identifierToKey out of ItemRegistryPopulator 2024-12-19 12:06:28 +00:00
Eclipse
ff35c6e752
Fix mapping reading 2024-12-19 12:04:27 +00:00
Eclipse
2b9f519158
Cleanup item registry populator a bit 2024-12-19 12:03:00 +00:00
Eclipse
4629f7b6f6
"Implement" v2 block mappings reading 2024-12-19 11:52:56 +00:00
Eclipse
16832433a0
Fix max stack size validation when reading json mappings 2024-12-19 11:52:04 +00:00
Eclipse
4aea17a174
Component combination validation 2024-12-19 11:51:26 +00:00
Eclipse
bcc791544b
Factor in range dispatch scaling when sorting predicate 2024-12-19 11:17:51 +00:00
Eclipse
635c8c45be
Default to definition type when no type key is given 2024-12-19 11:10:00 +00:00
Eclipse
25109b71b3
Add predicate caching 2024-12-19 11:09:43 +00:00
Eclipse
885c4d9d3b
Merge remote-tracking branch 'upstream/master' into custom-item-api-v2 2024-12-16 18:32:29 +00:00
Eclipse
b5cef996fb
Clean up custom item registry populator a bit 2024-12-16 16:04:46 +00:00
Eclipse
7ed830ad78
Improve error handling when registering custom items 2024-12-16 15:57:23 +00:00
Eclipse
a997820121
Make item definitions in group able to override the group's model 2024-12-16 15:27:56 +00:00
Eclipse
f44f368f96
Improve predicate reading error handling 2024-12-16 15:24:53 +00:00
Eclipse
fe8336a2b1
Some of Adventure was left in the API 2024-12-16 15:23:27 +00:00
Eclipse
12f2e1a232
Improve the reading and error handling of item mappings 2024-12-16 15:20:23 +00:00
onebeastchris
64c7adcacf Fix: Geyser-Spigot not loading on 1.16.5, remove unused code 2024-12-16 10:54:36 +08:00
rtm516
a5c77a7072
Add extension update folder (#4929)
* Add extension update folder

* Check the update folder exists before trying to use it

* Remove old jars under different names for the same extensions

* Store file path to save on calls

* Fix storing path

* Update languages

* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java

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

* Only pull data from the map once

* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java

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

* Move to consumer function for processing extension folders

* Add back some comments

* Allow cleanup of multiple old extensions

* Address review comments

* Tidy logger calls

---------

Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-12-16 06:40:14 +08:00
AlexDev_
54bdb639cb
Fix for plugins that use display entities as nametag (#5157)
* Fix for display entity nametags

* Added check

* Moved lines count to TextDisplayEntity class
Removed useless offset

* Reset lines when text is null

* Conversation changes

* Changed y offset formula
Removed space

* Played around with the yOffset a bit

---------

Co-authored-by: Tim203 <mctim203@gmail.com>
2024-12-15 16:15:55 +01:00
Eclipse
c8dadd8342
Remove Java attribute entity type prefixes (#5228) 2024-12-14 10:31:24 -08:00
Eclipse
e7d7a9d09b
Improve mapping custom items 2024-12-14 13:14:45 +00:00
Eclipse
a80e90d648
Fix adding multiple definitions for same item model again 2024-12-12 16:21:42 +00:00
Eclipse
a4c17daf24
Fix adding multiple definitions for same item model and sorting of predicates 2024-12-12 15:04:31 +00:00
Eclipse
eb0b40c8b1
I'm very confused at why this doesn't work 2024-12-12 14:30:28 +00:00
Eclipse
b80c054f53
Fix charge type predicate 2024-12-12 13:57:32 +00:00
Eclipse
361df163b8
Fix build 2024-12-12 11:59:53 +00:00
Eclipse
3fac2cd8f7
Reimplement unbreakable predicate check 2024-12-12 11:47:41 +00:00
Eclipse
2263cc8290
Remove this 2024-12-12 11:31:49 +00:00
Eclipse
7164ca087c
Some fixes 2024-12-12 11:29:58 +00:00
Eclipse
1685918212
Remove adventure from API module 2024-12-12 11:26:16 +00:00
Eclipse
774e55625d
Remove BedrockCreativeTab in favour of CreativeCategory 2024-12-12 11:04:31 +00:00
Eclipse
bca98c7d22
Add unbreakable condition predicate 2024-12-12 10:55:01 +00:00
Eclipse
12499bfba6
Read priority option from mappings 2024-12-12 10:53:46 +00:00
Eclipse
5ecc61fc1d
Implement priority option 2024-12-12 10:52:28 +00:00
Eclipse
04fe043bbe
Add priority option to definitions, deprecate texture size and render offsets 2024-12-12 10:49:33 +00:00
Eclipse
04d7f48645
More stuff in the custom item registry populator 2024-12-12 10:41:33 +00:00
Eclipse
7fabf0c28d
Implement/update register items event for new custom item definitions 2024-12-12 10:19:18 +00:00
Eclipse
fd09a05aaf
Update custom item translator for 1.21.4, implement custom model data 2024-12-12 10:19:17 +00:00
Eclipse
f6f6423d25
Merge remote-tracking branch 'upstream/master' into custom-item-api-v2
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/item/type/Item.java
#	core/src/main/java/org/geysermc/geyser/registry/type/ItemMapping.java
#	core/src/main/java/org/geysermc/geyser/translator/item/CustomItemTranslator.java
#	core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaCooldownTranslator.java
2024-12-12 10:18:55 +00:00
chris
ba5b4224d8
1.21.4 support 2024-12-12 10:10:03 +08:00
onebeastchris
f24ba549df Target master branch for mappings 2024-12-12 09:13:04 +08:00
onebeastchris
b36bc9e95a Indicate 1.21.51 support 2024-12-11 23:31:23 +08:00
Valaphee The Meerkat
b2045a5b3d
Fix skull mix-up by not reusing skulls (#5206) 2024-12-11 10:04:33 +08:00
Eclipse
4d12c29108
Fix default attribute modifiers, add more equipment slot group names for attribute modifiers (#5211) 2024-12-11 05:22:39 +08:00
onebeastchris
b843be58d0 don't set an illegal serializer for removed packet 2024-12-11 01:41:08 +08:00
onebeastchris
5b90b114b5 Remove unneeded code in CodecProcessor, make Bungee version checker automatically check for the required version 2024-12-11 01:28:30 +08:00
onebeastchris
94d77b403b Add some code comments, update BungeeCord version check 2024-12-10 23:13:32 +08:00
onebeastchris
8779eab5e5 Revert a change, ensure that gathering all components works and doesn't throw due to duplicate keys 2024-12-10 20:44:29 +08:00
onebeastchris
06a9b2866e Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4 2024-12-10 20:43:54 +08:00
Camotoy
357fd137dc
Some touch-ups 2024-12-09 22:42:40 -05:00