Commit graph

4084 commits

Author SHA1 Message Date
onebeastchris
6bd60d4233 Fix: Default components breaking item stacking while crafting. 2024-12-24 01:43:04 +08:00
onebeastchris
030b935d8a Fix: item frames showing names for items without a custom name (fixes https://github.com/GeyserMC/Geyser/issues/5194) 2024-12-24 00:18:26 +08:00
onebeastchris
7b5c1bb370 Bump mcpl and mappings 2024-12-23 03:29:40 +08:00
Adri
006fe75e5a
fix: Wrong map colors (#5238) 2024-12-22 10:51:13 +08: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
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
onebeastchris
c575689f2e let's not spam debug mode with an unused entity event 2024-12-10 03:11:57 +08:00
onebeastchris
1f3590d488 revert map color changes 2024-12-10 03:01:09 +08:00
onebeastchris
94c258a4c9 Update loom (and gradle), create basic recipes when there are too many possible combinations, update adapters 2024-12-10 02:22:39 +08:00
LetsGoAway
8b232d7900
Handle ClientboundTickingStatePacket correctly and fix Throwable Scales (#4850)
* Proper tick rate handling

* Fix frozen variable getter

* Fix formatting i think third attempt

* Formatting fix attempt 5 fsdiofhsdioufhvuisdhviuo9ds

* Fix stuff, also fixed the sizing of throwables as they were to big

* Move update ticking state

* Update core/src/main/java/org/geysermc/geyser/session/GeyserSession.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Fixes for spaces and documentation

* Missed a space

* wait now ive fixed it

* Fix languages

* try again to fix languages

* Fix Java doc comments for tickable interface

* Fix javadoc comment in Geyser Session

* fix comment

* fix some tick rate stuffs

* Fix build fail

* fix some stuff

* merge

* test

* Update languages

* Update mappings

* delete broken stuff

* Fix cooldown

* fix cooldowns

* Update core/src/main/java/org/geysermc/geyser/util/CooldownUtils.java

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

* Update BoatEntity.java

* Update GeyserSession.java

* fix some stuff

* Update CooldownUtils.java

* fix some accidental formatting issues

* Fix missing inport

* Update GeyserSession.java

* Update core/src/main/java/org/geysermc/geyser/entity/type/LivingEntity.java

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

* Update core/src/main/java/org/geysermc/geyser/entity/type/ThrowableItemEntity.java

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

* Fix missing import

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
2024-12-09 22:58:04 +08:00
RK_01
1fea22d980
Implement ViaProxy client IP passthrough (#5202) 2024-12-08 21:21:12 -08:00
onebeastchris
1210639087 update item tags for 1.21.50 items 2024-12-08 22:54:51 +08:00
onebeastchris
bd3377bfcc update mappings 2024-12-08 06:20:32 +08:00
onebeastchris
c298061d4d address review 2024-12-08 06:18:42 +08:00
onebeastchris
f610a0d12b Tidy up creaking entity code, remove debugging 2024-12-08 05:34:10 +08:00
onebeastchris
a41d705c42 Some minor fixes, fix own block breaking progress not showing on the player's end 2024-12-08 04:18:07 +08:00
onebeastchris
a2184e4fae start on implementing creaking 2024-12-06 22:57:14 +08:00
onebeastchris
92c7f9895b Implement new boat types 2024-12-05 20:45:56 +08:00
onebeastchris
abf14e6ef9 Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
#	gradle/libs.versions.toml
2024-12-05 18:51:22 +08:00
Alex
2019e53bad
Feature: Accurate Java packet ticking (#5121)
* Use proposed mcpl ticking PR

* Remove more not needed overrides

* Bump mcpl

* Fix missing import

* Bump mcpl

* Switch to official version

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-12-05 18:35:03 +08:00
onebeastchris
b469a61b72 Include item_data_components.json, target new mappings 2024-12-05 18:16:09 +08:00
onebeastchris
ed3008f245 Finish mappings - let it build 2024-12-05 17:54:00 +08:00
chris
d2051c2242
Various small fixes - update cloudburst/protocol dependency, remove "temporary" log info spamming (#5186) 2024-12-05 01:11:03 +08:00
onebeastchris
ee5c0e6853 Start on block remapping, send ServerboundPlayerLoadedPacket on respawn/new logins 2024-12-04 20:46:38 +08:00
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
Arno Keesman
a19e7cb9f4
Bump cloud-minecraft-modded (#5181)
fixes crashes on fabric from the previously included Fabric Permissions API
2024-12-03 04:06:06 +08: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