3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00
Commit graph

4230 Commits

Autor SHA1 Nachricht Datum
EnZaXD
275b09bdbb
Use SerializerVersion#toTag when converting 1.20.5->1.20.3 block predicates (#4024) 2024-07-19 10:54:40 +02:00
Nassim Jahnke
cc87c02020
Add shulker box block entity id if missing 2024-07-17 18:48:07 +02:00
EnZaXD
a45985ed58
Validate index when reading structured data type (#4020) 2024-07-16 09:59:33 +02:00
Nassim Jahnke
92dedfb950
Update Gradle wrapper 2024-07-14 21:31:38 +02:00
RK_01
6bbcf7d784
Fix respawn "keep data" translation (#4015) 2024-07-13 11:00:12 +02:00
EnZaXD
465a2354c0
Call component rewriter in pre 1.20.3 advancement handler (#4014)
Required for ViaBackwards where we need to rewrite the translation key (and it also doesn't hurt to have this in forward protocols).

Closes https://github.com/ViaVersion/ViaBackwards/issues/819
2024-07-13 11:00:00 +02:00
EnZaXD
c59c15d6f3
[ci skip] Fix player combat packet value comments (#4013) 2024-07-13 10:59:47 +02:00
EnZaXD
20f7738f08
Add cancel-block-sounds option for 1.8->1.9 place/break fix (#4011) 2024-07-12 00:11:11 +02:00
EnZaXD
323f0fa087
Remove minimize-cooldown config option (#4009) 2024-07-07 18:03:35 +02:00
RK_01
3138d667a6
Fix crossbow max damage and 1.8 sword blocking using item data components (#4010) 2024-07-07 18:02:51 +02:00
EnZaXD
365040f59d
Handle rarity changes in trident/banner pattern item in 1.20.5->1.21 (#4001) 2024-07-07 17:39:30 +02:00
lowercasebtw
303d9ecf51
Hide cooldown indicator completely in 1.8->1.9 (#4006)
* Change 1.8 to 1.9 Attack Speed

* Fix The Attack Speed Value Type

* Change Attack Speed to 20

Requested/Suggested change from FlorianMichael

Co-authored-by: EnZaXD <florian.michael07@gmail.com>

---------

Co-authored-by: EnZaXD <florian.michael07@gmail.com>
2024-07-06 23:12:01 +02:00
EnZaXD
463381b84e
Rename missing metadata references to entity data (#4007) 2024-07-06 21:05:40 +02:00
Nassim Jahnke
7fef96d77e
Remove unneeded 1.13 enchantment translatable mappings 2024-07-03 11:32:25 +02:00
Gegy
17358120cd
Fix: delay chat acknowledgements instead of spoofing (#3997)
An easy reproduction case is to mute a player using the Social Interactions screen, let them chat, and then send a message. As ViaVersion produces its own acknowledgements, this now does not match with what the client produced and signed its messages with - so the signature will fail verification.

As an alternative, we *always* pass through the same acknowledgement bit set - and for 'spoofed' messages, we reuse the last one that we received. In the case of the chat ack packet with just an offset, we need to hold back the window by at least 20 messages to ensure we don't start making claims about whether the client saw a message that ViaVersion cannot yet make a judgement on.
2024-07-03 10:52:01 +02:00
EnZaXD
e6da77cf47
Handle Slot tag inside CONTAINER tag in 1.20.3->1.20.5 (#3995)
Fixes shulker box tooltips not showing all items for 1.20.3 clients on 1.20.5+ servers
2024-07-02 11:53:34 +02:00
EnZaXD
dc503cd613
Update legacy Minecraft version warning (#3989) 2024-06-30 11:30:54 +02:00
Nassim Jahnke
8aa2f4be46
Handle show item hovers in more component packets
Because servers do weird things
2024-06-30 11:10:44 +02:00
Nassim Jahnke
c5dc5b2bf8
Actually restrict velocity change to fishing hooks 2024-06-28 15:29:06 +02:00
EnZaXD
f4d6659760
Only print broken json in component type when debug mode is enabled (#3990) 2024-06-28 13:44:31 +02:00
EnZaXD
bfbb80f708
Update unsupported java version warning (#3988)
Now links to the release which contains a guide on how to update
2024-06-27 14:56:15 +02:00
EnZaXD
248da118a9
Move bukkit-only settings into BukkitViaConfig (#3985) 2024-06-27 09:56:50 +02:00
EnZaXD
a987882132
Rework unsupported config options in AbstractViaConfig (#3986) 2024-06-27 09:54:44 +02:00
EnZaXD
bca25d4744
Rewrite filtered_pages in 1.20.2->1.20.3 (#3983) 2024-06-26 10:58:50 +02:00
EnZaXD
2417ffe483
Fixup horse inventory translation in 1.20.5->1.21 (#3980)
Fixes #3978
2024-06-25 15:27:02 +02:00
EnZaXD
8606e5d663
Handle both json and plain text in CommonBoss (#3981) 2024-06-25 15:21:34 +02:00
EnZaXD
5a0ca55b97
Add test command handler to DummyInitializer test (#3970) 2024-06-25 15:21:26 +02:00
Nassim Jahnke
ceb1cffb00
Cancel "message not delivered" messages
Fixes #3438
2024-06-25 15:19:03 +02:00
Nassim Jahnke
1ff3035bc0
Make 1.10->1.11 fishing hook position desync slightly less bad 2024-06-25 15:17:29 +02:00
Nassim Jahnke
1f221ea828
Bump version to 5.0.2-SNAPSHOT 2024-06-25 15:16:36 +02:00
Nassim Jahnke
dd1fad2dd7
5.0.1 Release 2024-06-22 15:53:57 +02:00
EnZaXD
245f7e24e4
Fix DummyInitializer unit test to bootstrap without errors (#3965) 2024-06-22 11:04:11 +02:00
EnZaXD
9d3db4cf97
Improve performance in ProtocolVersionRange#contains (#3964) 2024-06-22 11:02:16 +02:00
EnZaXD
b67ebecce8
[ci skip] Advertise ViaLoader in README file (#3966) 2024-06-22 11:01:55 +02:00
EnZaXD
d03207289e
Backup original book pages for creative mode clients in 1.8->1.9 (#3952) 2024-06-21 14:38:00 +02:00
Nassim Jahnke
64497b305a
Fix enchantment order 2024-06-20 17:42:27 +02:00
Nassim Jahnke
f5b3799db9
Use default dimension data for defaulted registry entry 2024-06-20 17:32:19 +02:00
Nassim Jahnke
00fedc7656
Also handle aqua affinity 2024-06-20 16:08:46 +02:00
Nassim Jahnke
05aa05c5b4
Disable soul speed check for now 2024-06-20 15:31:18 +02:00
Nassim Jahnke
5243c1800e
entity effect magic
Fixes #3927
2024-06-20 12:51:35 +02:00
Nassim Jahnke
77d702bc9b
Also handle movement related enchantments
Fixes #3960
2024-06-20 12:12:29 +02:00
RK_01
c098e24c4f
Return generic Item array in StructuredItem#emptyArray (#3955) 2024-06-17 20:08:34 +02:00
EnZaXD
3d083cf463
Add handleMenuType function to ItemRewriter (#3953) 2024-06-17 16:39:01 +02:00
Nassim Jahnke
2ab62a8f4f
Protected 2024-06-17 12:48:52 +02:00
Nassim Jahnke
296f42086f
Also handle item_name item data for component rewriting 2024-06-17 12:43:18 +02:00
Nassim Jahnke
e9f547f7ba
Add ArrayUtil 2024-06-17 11:48:21 +02:00
Camotoy
b7f388b9ee
1.20.5 -> 1.20.3: nullify empty tags (#3949)
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
2024-06-17 09:42:09 +02:00
EnZaXD
824ff375d4
Fix GameMode#getById behaviour in 1.8->1.9 (#3947)
Vanilla fallbacks to SURVIVAL and doesn't throw any errors,
also NOT_SET was missing previously.
2024-06-16 22:28:50 +02:00
Leon
8bec05ed38
Fixup hardcore handling on join in 1.8->1.9 (#3946)
* Fix players crashing when logging into a 1.8 server on hardcore mode, Fixes #3944

* Requested change to #3944 fix
2024-06-16 22:06:39 +02:00
Nassim Jahnke
b367caa4b2
Add Charged item tag if there's charged projectiles
Closes ViaVersion/ViaBackwards#787
2024-06-16 21:58:07 +02:00