Commit Graph

4064 Commits

Author SHA1 Message Date
Nassim Jahnke
794683ef75
Don't use ItemStack.empty()
This is a fairly new method
2024-06-13 23:22:18 +02:00
Nassim Jahnke
cc6f789334
Handle block ids in tool and adventure more predicate data 2024-06-13 23:10:25 +02:00
EnZaXD
4a70e0ea2a
Fixup command registration once again (#3937) 2024-06-13 19:21:52 +02:00
EnZaXD
72cc9e9968
Add ability to detection level in /viaversion displayleaks (#3934) 2024-06-13 18:36:08 +02:00
EnZaXD
1039b8556b
Add remaining item types to item rewriter implementations (#3931) 2024-06-13 18:34:55 +02:00
Nassim Jahnke
e977e8db90
Write sound in explosion as proper sound event in 1.20.3->1.20.5 2024-06-13 18:30:28 +02:00
Nassim Jahnke
877053c471
Send mining efficiency attribute on item switch
For some reason, mining efficiency is not calculated by the client anymore, but by the server, then sending the current value to the client every time the item changes. This roughly emulates that behavior (without tracking any inventory state beyond events).
2024-06-13 18:21:55 +02:00
Nassim Jahnke
67a349d74b
Add tooltip_order and manually add curse enchantment tags 2024-06-12 23:22:46 +02:00
RK_01
009e2deed1
Add important 1.21 tags (#4) 2024-06-12 20:36:15 +02:00
Nassim Jahnke
bb59149fbd
Remove snapshot version for 1.21 2024-06-12 18:10:45 +02:00
Nassim Jahnke
089df6517e
1.21-rc1 2024-06-12 18:03:51 +02:00
Nassim Jahnke
d007beaeec
1.21-pre4 2024-06-12 18:03:51 +02:00
Nassim Jahnke
3d656d411d
1.21-pre3 2024-06-12 18:03:51 +02:00
Nassim Jahnke
2c44c275bc
1.21-pre2 2024-06-12 18:03:51 +02:00
Nassim Jahnke
d062229e0f
Fix item type in 1.21 entity data types 2024-06-12 18:03:51 +02:00
Nassim Jahnke
8bc22a1bad
Handle item changes in show item components 2024-06-12 18:03:50 +02:00
Nassim Jahnke
5d0846abe2
Handle chat and horse container changes 2024-06-12 18:03:50 +02:00
Nassim Jahnke
23dd8c55ad
1.21-pre1 2024-06-12 18:03:50 +02:00
Nassim Jahnke
5edb6ff411
Handle jukebox songs 2024-06-12 18:03:50 +02:00
Nassim Jahnke
251ab42c14
Update data component ids 2024-06-12 18:03:50 +02:00
Nassim Jahnke
134c3559bf
WIP 24w21b 2024-06-12 18:03:49 +02:00
Nassim Jahnke
832dbdf493
24w20a 2024-06-12 18:03:49 +02:00
Nassim Jahnke
ccc509432b
Rebase onto 5.0.0 2024-06-12 18:03:49 +02:00
Nassim Jahnke
cf2168aa95
24w19b, they couldn't have done that 10 seconds faster 2024-06-12 18:03:49 +02:00
Nassim Jahnke
58d7dc7ca6
24w19a 2024-06-12 18:03:49 +02:00
FlorianMichael
1fe6f72aec
Fix typo 2024-06-12 18:03:48 +02:00
Nassim Jahnke
e3312b1c80
Add basic handling for items within item components
No changes so far, but will most likely be needed rather sooner than later
2024-06-12 18:03:48 +02:00
Nassim Jahnke
182148dbe8
Some cleanup 2024-06-12 18:03:48 +02:00
Nassim Jahnke
b5c718098d
24w18a
Abstract item rewriters still need additional handling for once there are actual item changes, but this works as is for now
2024-06-12 18:03:39 +02:00
EnZaXD
01ea51e8ee
Add armor stand entity id to ENTITY_DATA in 1.20.3->.5 (#3930)
Closes https://github.com/ViaVersion/ViaVersion/issues/3929
2024-06-12 18:02:24 +02:00
EnZaXD
ae3042074e
Add trade list rewriter functions to ItemRewriter (#3926) 2024-06-11 15:02:04 +02:00
EnZaXD
d0ed528788
Save negative item amounts in 1.10->1.11 (#3921) 2024-06-09 17:07:29 +02:00
EnZaXD
2fba2c1e65
Don't send empty items in 1.8->1.9 hand item provider (#3920) 2024-06-09 15:52:08 +02:00
Nassim Jahnke
b77d0fedd9
Remove no longer needed empty item check in entity data
Also fixes bad null values being set there
2024-06-09 13:05:52 +02:00
RK_01
c07adfddb2
Add StructuredItem#emptyArray (#3915) 2024-06-07 22:34:45 +02:00
Nassim Jahnke
1e244a126d
Handle optional item cost nullability 2024-06-07 13:51:28 +02:00
Nassim Jahnke
842cb8dac5
Change items to not be nullable in 1.20.5+
With the server and client actually having empty checks in many places now, this simplifies empty checks going forward
2024-06-07 13:34:46 +02:00
Nassim Jahnke
5053d739c0
Handle empty items in some thrown projectiles
Fixes #3909, #3910
2024-06-07 12:24:02 +02:00
EnZaXD
d43ad37663
Add missing conditions to 1.20.5 item type writing (#3913) 2024-06-06 19:30:03 +02:00
EnZaXD
bb48dc90f9
Add EntityRewriter#registerBlockStateHandler (#3912) 2024-06-06 11:00:18 +02:00
EnZaXD
1ea27f1077
Improve some grammar and rename update checker setting (#3900) 2024-06-04 12:41:12 +02:00
EnZaXD
3f72e9ea47
Don't publish extra modules (#3901) 2024-06-03 15:22:59 +02:00
EnZaXD
8a826b88fb
Move firework flight length appending into VB protocol (#3902) 2024-06-02 09:04:24 +02:00
EnZaXD
82452dbdfe
Remove bungee options from config.yml (#3898) 2024-06-01 20:37:38 +02:00
Nassim Jahnke
e439d040a7
Update Gradle wrapper 2024-06-01 16:59:26 +02:00
Nassim Jahnke
2f41d09e23
Remove deprecated codec handler 2024-06-01 16:49:50 +02:00
Nassim Jahnke
0f73304a1d
Fix trim pattern 2024-05-31 15:17:04 +02:00
EnZaXD
2dad770d67
Include website url in plugin.yml (#3897) 2024-05-31 09:40:12 +02:00
EnZaXD
2a088c08ed
Handle edge cases when converting legacy components (#3896) 2024-05-30 22:55:03 +02:00
Nassim Jahnke
d4034792c4
Update publication metadata 2024-05-30 22:37:20 +02:00