Commit Graph

386 Commits

Author SHA1 Message Date
Nassim Jahnke
82c01c4b2d
Greatly reduce the number of inner classes 2023-02-12 12:17:15 +01:00
Nassim Jahnke
8715c243c9
Improve additional metadata handling
Fixes #527
2023-02-10 12:10:49 +01:00
Nassim Jahnke
27dd148c69
23w06a 2023-02-08 19:31:27 +01:00
Nassim Jahnke
15aa25f0d2
Replace some deprecated api usage 2023-02-04 20:16:43 +01:00
Nassim Jahnke
f30fdc1feb
Ensure correct packet types in rewriters during compile time 2023-02-04 19:05:29 +01:00
Nassim Jahnke
a506b21f56
Don't load mappings in 1.19.4 protocol 2023-02-03 12:13:30 +01:00
Nassim Jahnke
1b4dbc1388
Fix comparator directions in 1.13->1.12
Fixes #524
2023-02-02 12:10:50 +01:00
Nassim Jahnke
f1be100b30
Catch and remove bad item nbt from hoverevents in 1.16 conversion
Closes #520
2023-02-02 11:40:12 +01:00
Nassim Jahnke
94210e92f1
Read custom_model_data field from item mappings
Closes #525
2023-02-02 10:51:26 +01:00
Nassim Jahnke
4797914556
23w05a 2023-02-01 16:30:59 +01:00
Lobo Metalúrgico
dbf103b788
(fix): 1.12.2 issue because of 1.19 goat horn mapping (#523) 2023-01-20 10:06:40 +01:00
Nassim Jahnke
78bce8895a
23w03a 2023-01-18 18:11:59 +01:00
Nassim Jahnke
4eaf01f008
Update copyright header 2023-01-12 12:41:06 +01:00
Nassim Jahnke
4a9acd6b11
Fix missed 1.19.3 pose change
Fixes #509
2022-12-21 10:44:37 +01:00
Nassim Jahnke
7c2845b884
Fix 1.19.3 player info add 2022-12-11 14:27:41 +01:00
Nassim Jahnke
7cbfffaa68
Fix 1.19.3 sound remapping
Fix #505
2022-12-09 13:24:35 +01:00
Nassim Jahnke
dc4c929108
Add missing empty sound remaps
This is definitely definitely still 4.5.0
2022-12-07 13:53:39 +01:00
Nassim Jahnke
0fe3d9410e
1.19.3-rc3
Definitely still 4.5.0 as well
2022-12-06 12:21:56 +01:00
Nassim Jahnke
cc9bf7284a
4.5.0 Release 2022-12-05 21:27:43 +01:00
Nassim Jahnke
383281cb9f
1.19.3-rc1 2022-12-01 17:21:37 +01:00
Nassim Jahnke
d18825e700
1.19.3-pre3 2022-11-29 17:33:11 +01:00
Nassim Jahnke
2427690b78
22w46a 2022-11-16 18:30:11 +01:00
Nassim Jahnke
a4261d6d9e
22w45a 2022-11-09 16:40:14 +01:00
Nassim Jahnke
091a63e45d
22w44a 2022-11-02 19:20:08 +01:00
Nassim Jahnke
9a9c6c4644
22w43a 2022-10-26 18:28:53 +02:00
Nassim Jahnke
808b1fd2f0
Finish mappings 2022-10-22 12:22:55 +02:00
Nassim Jahnke
9d3ee288df
Handle chat types 2022-10-22 11:25:45 +02:00
Nassim Jahnke
100901029e
Start working on 22w42a 2022-10-20 22:33:28 +02:00
Nassim Jahnke
c554027108
Change windswept_forest biome mapping 2022-10-09 15:57:31 +02:00
creeper123123321
4d295fbe2c
fix #410 (#499) 2022-10-09 15:56:56 +02:00
Pieter12345
98304168b8
Fix 1.18.2->1.19 CHAT_MESSAGE using static timestamp (#495) 2022-08-21 09:03:58 +02:00
EDX
3695df1e44
Update PlayerPackets1_11.java (#492) 2022-08-15 11:55:09 +02:00
Nassim Jahnke
958f265e18
Add mangrove/deep dark biome mappings 2022-08-08 13:38:23 +02:00
strider
394c944c50
Add 1.19->1.18 sound mappings (#489) 2022-08-05 16:08:18 +02:00
Nassim Jahnke
d559c7cff1
Here you go, proper 1.19.1->1.19 and 1.19->1.18.2 support
Co-authored-by: Tisawesomeness <tis_dev@protonmail.com>
2022-08-04 16:59:01 +02:00
Gero
3d4f4438a8
Alter velocity modern forwarding version (#487) 2022-08-03 16:17:55 +02:00
Nassim Jahnke
817593ee43
4.4.1 Release 2022-07-28 18:54:02 +02:00
Nassim Jahnke
044980c1a8
Simplify component building 2022-07-28 15:00:16 +02:00
Nassim Jahnke
245bd53850
Add missing 1.19.1 chat types to config 2022-07-28 12:33:36 +02:00
Nassim Jahnke
b632e4772f
Allow 1.19.0 clients on 1.19.1 servers 2022-07-28 11:47:25 +02:00
Nassim Jahnke
b336b8a1fc
Tongue 2022-07-27 19:09:40 +02:00
Nassim Jahnke
bb17bb3bfd
1.19.1-rc3 2022-07-26 18:47:14 +02:00
Nassim Jahnke
941bb91be8
1.19.1-pre6 2022-07-20 19:35:04 +02:00
Nassim Jahnke
fb334c6c14
1.19.1-pre5 2022-07-15 18:42:57 +02:00
Nassim Jahnke
90460ee99f
1.19.1-pre4 2022-07-08 21:07:57 +02:00
Gero
81a737886a
Update chat-types-1.19.1.nbt (#470) 2022-07-06 18:18:28 +02:00
Gero
356158a9d4
team_name -> target (#469) 2022-07-06 18:02:22 +02:00
Nassim Jahnke
32bd9378e1
1.19.1-pre3 2022-07-06 17:55:39 +02:00
Gero
282afe94cc Interpret translation keys with %s as the raw translation 2022-07-01 15:20:54 +02:00
Nassim Jahnke
9d86b31cb7
Bump version to 4.4.0-SNAPSHOT, update translation mappings
A break and more funky things
2022-07-01 12:40:43 +02:00
Nassim Jahnke
80041606a7
Merge 1.19.1->1.19 and 1.19->1.18.2 protocols 2022-07-01 12:14:10 +02:00
Gero
41e4172136 Fix chat type style 2022-07-01 10:19:54 +02:00
Gero
a856658399 Handle 1.19.1 chat types 2022-07-01 10:17:51 +02:00
Nassim Jahnke
7173bbbbce
1.19.1-pre2 (at least an initial pass) 2022-06-30 19:36:43 +02:00
Nassim Jahnke
fc751aedf3
1.19.1-pre1 2022-06-21 22:14:47 +02:00
Nassim Jahnke
a1da3dc11c
Fix writing books
Fixes #2959
2022-06-17 08:38:23 +02:00
Nassim Jahnke
87c37b08e8
Fix 1.18.0/1 client on 1.19 server
Fixes #454
2022-06-16 20:06:10 +02:00
Gero
187b79f4e1
Fix NPE for chat messages before join game (#456) 2022-06-14 10:39:35 +02:00
Gero
b84cda54c3
Fully implement chat types (#455) 2022-06-09 20:49:27 +02:00
Nassim Jahnke
f474067eb2
Don't forget to clear 2022-06-09 20:13:36 +02:00
Nassim Jahnke
6a700d228d
Properly deal with custom chat type registries 2022-06-09 20:07:58 +02:00
Nassim Jahnke
f08223d1e9
Fix trade offers 2022-06-08 10:10:12 +02:00
Nassim Jahnke
9da206e280
Add sanity check in 1.13->1.12 enchantment handler
Closes #2908
2022-06-03 18:19:54 +02:00
Nassim Jahnke
c2ae3df1db
Fix 1.13->1.12 item cooldown
Fixes #450
2022-05-29 15:51:02 +02:00
Nassim Jahnke
dc9fe10779
Fix join game reading 2022-05-23 19:32:54 +02:00
Nassim Jahnke
08a583526e
1.19-pre2 2022-05-23 18:17:17 +02:00
Nassim Jahnke
125fa885f6
Dont clear dimension storage on server switch 2022-05-21 10:57:39 +02:00
Nassim Jahnke
4a1eefcf87
1.19-pre1 2022-05-18 21:08:05 +02:00
Nassim Jahnke
68c0a0b333
Handle argument types, update Via usage 2022-05-14 12:32:10 +02:00
Nassim Jahnke
fdc73126f7
Timestamp is millis now, fix dimension storage 2022-05-13 10:11:26 +02:00
Nassim Jahnke
1e0c0ebb2d
22w19a (almost, also more dread) 2022-05-12 23:56:24 +02:00
Nassim Jahnke
5bffa2c51c
Fix clientbound chat message reading 2022-05-08 12:05:46 +02:00
Nassim Jahnke
34fa4f85db
More or less handle new chat type formats 2022-05-05 11:24:19 +02:00
Nassim Jahnke
ef0e412d36
22w18a
I hate codecs
2022-05-04 23:18:50 +02:00
Nassim Jahnke
7df02934f3
22w17a (and even more dread) 2022-04-27 22:38:41 +02:00
Nassim Jahnke
d64b259b77
Remove painting variant tags 2022-04-20 21:41:38 +02:00
Nassim Jahnke
8850d5c8ff
22w16b (probably, also ignoring a possible race condition) 2022-04-20 21:00:45 +02:00
Nassim Jahnke
15c7106430
22w15a 2022-04-13 18:48:53 +02:00
Nassim Jahnke
56dfc985d2
Add item mappings, rename carpets tag for older versions 2022-04-06 22:53:45 +02:00
Nassim Jahnke
dfa778942c
22w14a 2022-04-06 20:37:16 +02:00
Nassim Jahnke
bd71833f18
22w13a 2022-03-31 19:00:43 +02:00
Nassim Jahnke
c6f25bf33f
Merge remote-tracking branch 'origin/master' into dev 2022-03-30 11:08:33 +02:00
Nassim Jahnke
fc22d7e6c8
Don't warn for non-horse armor on horses
Closes #448
2022-03-30 11:07:38 +02:00
Nassim Jahnke
22f604cd7e
Fix parrot imitate warden key 2022-03-30 11:06:25 +02:00
Nassim Jahnke
a85b9e8100
Remove full frog metadata, add translation mappings 2022-03-24 20:10:19 +01:00
Nassim Jahnke
8d380f4278
22w12a 2022-03-24 19:31:11 +01:00
Nassim Jahnke
1486d58813
Comment out entity effect transformer 2022-03-21 10:42:37 +01:00
Nassim Jahnke
9d3de047a0
Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	build.gradle.kts
2022-03-18 12:21:34 +01:00
Quantum64
30a3a4fb89
Prevent 1.16 -> 1.17 cursor desync with dragging (mostly fixes #389) (#445) 2022-03-18 11:01:46 +01:00
Lucas
9fe9cd3a8a
Map smoke directions from 1.13.1 to 1.13 (#413) 2022-03-18 10:52:37 +01:00
Nassim Jahnke
12926980e2
Also remove block entities above 255 in chunk data for 1.17->1.16 2022-03-18 10:32:34 +01:00
Nassim Jahnke
d56921b611
Actually everything from 22w11a 2022-03-16 23:06:58 +01:00
Nassim Jahnke
15a5e6f710
22w11a 2022-03-16 22:52:19 +01:00
Nassim Jahnke
422f2b699b
1.19 Experimental Snapshot 1 2022-03-16 19:08:08 +01:00
Nassim Jahnke
eda8abf55c
Handle new biomes for <1.16 clients
Fixes #422
2022-03-13 11:29:34 +01:00
Nassim Jahnke
539c4e696a
Fix long scoreboard objective names for <1.18 clients 2022-03-06 15:41:51 +01:00
Nassim Jahnke
aa35ace816
Don't send block entities < 0 for 1.16- players
Fixes ViaVersion/ViaVersion#2833
2022-03-01 10:21:22 +01:00
Nassim Jahnke
6a1b0e044a
1.18.2-pre3 2022-02-23 18:13:48 +01:00
Nassim Jahnke
afe3584b70
1.18.2 pre1 2022-02-18 18:33:34 +01:00
Nassim Jahnke
d8096e7f2e
Wither skeletons don't need visible names 2022-02-16 19:15:08 +01:00
Nassim Jahnke
121c735073
Fix registry on respawn 2022-02-09 19:58:04 +01:00
Nassim Jahnke
52698423d0
22w06a 2022-02-09 18:57:28 +01:00
Nassim Jahnke
bbff706890
Merge branch 'master' into dev 2022-01-26 09:57:29 +01:00
Nassim Jahnke
2a079be7c2
Make custom world height warning actual warning
Closes ViaVersion/ViaVersion#2805
2022-01-23 17:04:30 +01:00
Nassim Jahnke
a8e767250a
Fix 1.17->1.16 heightmap conversion
Fixes ViaVersion/ViaVersion#2801
2022-01-22 11:52:09 +01:00
creeper123123321
5593dfb8e5
Fix 1.14->1.13 difficulty (#427) 2022-01-20 12:34:10 +01:00
Nassim Jahnke
afd072c313
Mmm 2022-01-19 18:14:21 +01:00
Nassim Jahnke
d26cac9622
22w03a 2022-01-19 18:13:33 +01:00
Nassim Jahnke
2c341ab7ad
Update copyright 2022-01-09 22:40:10 +01:00
Nassim Jahnke
54eaccca0d
Update Sponge module to API v8 2022-01-09 18:58:44 +01:00
Nassim Jahnke
0d5661f8a6
Remove bad 1.13->1.12 sound warning, update shadow
Fixes #424
2022-01-03 18:38:01 +01:00
FrostBird347
9fddf7b176
Update mapping-1.16.2to1.17.json (#417) 2021-12-05 09:40:42 +01:00
Lucas
f687dff702
Add missing block entity NBT on 1.18 (#414) 2021-12-04 16:36:46 +01:00
Nassim Jahnke
249280312e
Fix advancement translatables
Closes #415
2021-12-04 16:33:30 +01:00
Nassim Jahnke
0163bc8c24
4.1.1 Release 2021-12-03 13:36:40 +01:00
Nassim Jahnke
a5a789c440
Fix handling of untracked entities
Some simple meta handlers do not go through entity rewriters, suddenly having to deal with invalid metadata because of plugins' bad concurrency handling
Closes #412
2021-12-03 11:00:52 +01:00
Nassim Jahnke
87aed8f3f2
Fix NPE
Fixes ViaVersion/ViaVersion#2751
2021-12-03 08:59:28 +01:00
Nassim Jahnke
cadab9e6bb
Throw error on unhandled 1.14->1.13 metadata 2021-12-02 12:43:42 +01:00
Nassim Jahnke
13b5545999
Fix vibration and transition particle meta 2021-12-02 11:11:34 +01:00
Nassim Jahnke
ff583e40fb
Fix 1.18 mountain biomes in biome registry 2021-12-01 17:04:05 +01:00
Nassim Jahnke
8d35d16575
4.1.0 Release 2021-11-29 21:01:23 +01:00
Nassim Jahnke
e70f595f76
Handle translatable changes 2021-11-19 22:09:36 +01:00
Nassim Jahnke
888441b81d
Set mappings default values to -1 2021-11-17 19:52:31 +01:00
Nassim Jahnke
71f4012537
Update leftover Via usage 2021-11-17 11:18:46 +01:00
Nassim Jahnke
ce6ca4dc0f
1.18-pre2 2021-11-16 19:40:17 +01:00
Nassim Jahnke
becba6498e
Make mapped entity names configurable 2021-11-13 11:06:59 +01:00
Nassim Jahnke
95bc340b06
Fix play record, remove unused 1.18 code 2021-11-12 13:18:02 +01:00
Nassim Jahnke
b36052465f
Fix 1.18 spawner entity/block entity update 2021-11-10 17:34:04 +01:00
Nassim Jahnke
5695726d9a
Use new metatypes classes 2021-11-10 17:18:55 +01:00
Nassim Jahnke
025a892daf
21w44a 2021-11-03 19:17:46 +01:00
Nassim Jahnke
74aa5f4598
Merge remote-tracking branch 'origin/master' into dev 2021-10-26 11:09:59 +02:00
Nassim Jahnke
db345577a2
Fix 1.13.1->1.13 inventory title regression
Fixes #375
2021-10-26 11:09:42 +02:00
Nassim Jahnke
80f41c8c24
Merge remote-tracking branch 'origin/master' into dev 2021-10-24 16:44:35 +02:00
Nassim Jahnke
169650f17c
Remove unnecessary type reading 2021-10-24 16:44:22 +02:00
Nassim Jahnke
4361ebe636
Use correct meta type 2021-10-21 09:12:51 +02:00
Nassim Jahnke
9d52fd6212
21w42a 2021-10-20 19:02:20 +02:00
Nassim Jahnke
abb2abe5c9
Update biome palette reading 2021-10-13 21:15:59 +02:00
Nassim Jahnke
fe644127c1
Merge remote-tracking branch 'origin/master' into dev 2021-10-11 11:06:27 +02:00
Nassim Jahnke
71cc1ca4b5
Ignore invalid enchantment tags
Fixes ViaVersion/ViaVersion#2693
2021-10-11 11:05:50 +02:00
Nassim Jahnke
5df0dacf92
21w40a 2021-10-07 16:56:22 +02:00
Nassim Jahnke
448f452965
Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	gradle/libs.versions.toml
2021-10-07 15:33:06 +02:00
Nassim Jahnke
3d6c31c479
Update FU load factor usage 2021-10-07 12:37:07 +02:00
Nassim Jahnke
067c93a63a
Cancel null block entity nbt updates 2021-09-25 10:11:43 +02:00
Nassim Jahnke
04a970ef08
21w38a 2021-09-24 14:39:19 +02:00
Nassim Jahnke
3d32cb3adf
Map new sounds (to nothing) 2021-09-17 09:41:14 +02:00
Nassim Jahnke
1ef1a861ca
Fix block entity ids 2021-09-16 18:31:03 +02:00
Nassim Jahnke
deb11bf1a9
21w37a works™️
Co-authored-by: Gerrygames <gecam59@gmail.com>
2021-09-16 18:19:23 +02:00
Nassim Jahnke
87ad6bd2b1
More work on 21w37a 2021-09-16 17:05:19 +02:00
Nassim Jahnke
3054b758df
21w37a (probably) 2021-09-16 14:57:52 +02:00
Nassim Jahnke
5777f4a117
Start working on 1.18 2021-09-14 18:16:12 +02:00
Nassim Jahnke
9615a5aba2
Add todo, map world name in 1.17 packets 2021-09-14 17:37:05 +02:00
Nassim Jahnke
8fff947863
Map powder snow bucket to snow block
Fixes #397
2021-09-07 11:25:04 +02:00
kennytv
4f801b4228
Fix 1.16->1.15 wolf anger
Fixes #392
2021-08-14 10:51:49 +02:00
kennytv
54dc05046f
Fix entity id int type 2021-08-11 15:08:01 +02:00
kennytv
e05c585b37
Fix 1.14 position tracking of client
Fixes #391
2021-08-11 08:55:42 +02:00
kennytv
a03a3a2a8d
Fix NPE in 1.16 TranslatableRewriter
Closes ViaVersion/ViaVersion#2655
2021-08-09 09:08:15 +02:00
kennytv
e251565837
Don't ignore gitignores 2021-08-09 09:03:54 +02:00
kennytv
455bb546f0
Add option to replace ping packets by using container acks
Closes ViaVersion/ViaVersion#2624
2021-07-17 11:13:01 +02:00
kennytv
fa707e5391
Ignore untracked entity meta 2021-07-11 17:35:17 +02:00
KennyTV
43ebe3c3e3
Fix 1.17->1.16 and 1.16.2->1.16.1 meta types 2021-07-07 10:15:32 +02:00
KennyTV
3f01f0100c
4.0.1 Release 2021-07-05 18:41:06 +02:00
KennyTV
29d3787de8
Send doubled respawn anyways for < 1.13 clients 💩
Fixes #381 (dirty hotfix)
2021-07-03 10:35:59 +02:00
KennyTV
59df758ceb
Fix 1.15->1.14 immediate respawn flag in join game 2021-07-03 10:00:09 +02:00
KennyTV
80360bf27c
1.17.1-rc1 2021-07-01 20:09:34 +02:00
KennyTV
3da7d7513e
Merge branch 'master' into dev 2021-06-29 19:21:13 +02:00
KennyTV
a654becac8
Limit number of book pages in 1.17->1.17.1 2021-06-29 19:20:05 +02:00
KennyTV
9d41854e22
Hotfix 1.13->1.12 command suggestions
Fixes #368
2021-06-19 11:18:33 +02:00
KennyTV
edf9ccca8b
Uncache state ids on inventory close 2021-06-18 17:26:32 +02:00
KennyTV
d62165bf51
1.17.1-pre1 2021-06-18 17:22:39 +02:00
KennyTV
00bc4a9d6a
Read unsigned byte in set slot for consistency 2021-06-18 17:01:50 +02:00
KennyTV
7885babe1e
Fix particle id change in 1.16 meta 2021-06-17 12:15:05 +02:00
KennyTV
9a53678838
Remove unnecessary warning 2021-06-17 09:00:38 +02:00
KennyTV
91874ffc3b
More bandaid 2021-06-16 13:58:49 +02:00
KennyTV
e71c34255b
Bandaid fix tile entity error 2021-06-16 13:51:04 +02:00
KennyTV
3b85200641
Sanity check for bad/untracked meta packets
Fixes ViaVersion/ViaVersion#2549
Fixes ViaVersion/ViaVersion#2521
2021-06-15 22:27:56 +02:00
KennyTV
13d27a6f4d
Fix dust color transition and vibration particle id
Fixes #2543
2021-06-14 09:12:37 +02:00
KennyTV
3cec1751c9
Fix 1.17 map data
Fixes #367
2021-06-10 18:34:15 +02:00
KennyTV
80f9dce513
Fix 1.17 special type tracking 2021-06-10 08:47:32 +02:00
SuspiciousActivity
cf7c718493
Fix 1.17 ping handler (#365) 2021-06-09 15:14:42 +02:00
KennyTV
54a979c641
4.0.0 Release 2021-06-07 19:52:09 +02:00
KennyTV
e41d643488
Update VV usage 2021-06-06 17:24:41 +02:00
KennyTV
7e2775114b
Update VV usage 2021-06-04 12:16:08 +02:00
KennyTV
cbbc127360
Update translation mappings 2021-06-03 21:34:23 +02:00
KennyTV
83a566d145
Update VV usage 2021-06-03 20:25:20 +02:00
KennyTV
3d3c1a0430
Fix load order with late-bind enabled
Fixes #362
2021-06-03 11:05:51 +02:00
KennyTV
08f6c0b1f1
Update VV usage 2021-06-02 22:05:05 +02:00
KennyTV
4cc3ea0883
Replace some hardcoded packet ids 2021-06-01 23:57:54 +02:00
KennyTV
2876495b62
Fix early achievement send 2021-06-01 20:17:10 +02:00
KennyTV
7d03831ba8
Update VV usage 2021-05-31 23:18:56 +02:00
KennyTV
0514dd2ea5
1.17-pre2 2021-05-31 18:25:57 +02:00
KennyTV
f341fc132c
Fix ancient client error caused by empty meta for < 1.11
Since modern versions don't immediately send metadata in spawn packets and 1.10 clients and lower have a slight oversight in the meta getting, every mob/player spawn spammed the client console with an error. Even though it is a harmless error, I figured people would like their client console not to get spammed anymore.
2021-05-29 15:01:02 +02:00
KennyTV
27b4933262
Update build scripts 2021-05-29 09:32:55 +02:00
KennyTV
fb368a9ebe
1.17-pre1 2021-05-27 15:46:08 +02:00
KennyTV
8adb80b5eb
Don't store UserConnection in stored objects unless needed 2021-05-26 21:58:19 +02:00
KennyTV
4a60f0f903
Update VV usage 2021-05-26 15:52:37 +02:00
KennyTV
a789e2ff7b
Update EntityTracker/meta rewriter 2021-05-25 15:27:16 +02:00
KennyTV
1201c2979b
Update VV usage 2021-05-20 18:34:05 +02:00
KennyTV
0e15a98472
21w20a 2021-05-19 18:56:18 +02:00
KennyTV
51d07c1c50
Print bad component on deserialization fail 2021-05-18 09:40:22 +02:00
KennyTV
5f59a57a78
Fix legacy hover conversion
Fixes ViaVersion/ViaVersion#2471
2021-05-14 11:04:45 +02:00