Commit Graph

510 Commits

Author SHA1 Message Date
Nassim Jahnke
903a49b96a
Apply IJ code reformat 2024-05-14 20:48:17 +02:00
FlorianMichael
b85046f11d
Rework logging inside protocols and rewriters 2024-05-14 20:48:07 +02:00
FlorianMichael
264cce865b
Rename data, protocol and mapping classes
Syncs names with a2b7fc82e2
2024-05-14 20:47:58 +02:00
FlorianMichael
c27f720316
Update Via API usage
Question to EntityPacketRewriter1_16_2: is it intended that the LOGIN handler doesn't copy the written dimensions tag or was that just forgotten?
2024-05-14 20:47:43 +02:00
Nassim Jahnke
a946632e8b
Lots of renames 2024-05-14 20:47:40 +02:00
Nassim Jahnke
5e7371d39b
Start working on 5.0.0 2024-05-11 15:01:36 +02:00
EnZaXD
abb1803aaf
Cache dimensions without namespace in 1.19->1.18.2 (#744) 2024-05-10 21:47:45 +02:00
Nassim Jahnke
17bda0fc29
4.10.2 Release 2024-05-10 13:24:40 +02:00
EnZaXD
1a22b371cd
Handle bad heightmaps in 1.17->1.16.4 (#743) 2024-05-09 21:56:14 +02:00
EnZaXD
6292c5a5a5
Use backup tag remove method when rewriting trade list (#742) 2024-05-09 20:55:31 +02:00
Nassim Jahnke
6b616d8b07
Fixup banner handling 2024-05-09 19:44:03 +02:00
Nassim Jahnke
fd43ca56d7
Properly write properties 2024-05-09 18:04:13 +02:00
Nassim Jahnke
91193cf602
Handle player head block entities
Fixes #741
2024-05-09 17:22:31 +02:00
EnZaXD
1680f9985d
[ci skip] Use login/status packet enums in older protocols (#740) 2024-05-09 09:25:17 +02:00
EnZaXD
e8602adf5b
Fix red nether brick name in 1.11->1.10 (#739) 2024-05-07 19:35:18 +02:00
EnZaXD
7f0982e59c
Fix item mappings with explicit data (0) (#738) 2024-05-07 18:54:38 +02:00
EnZaXD
633b4b393b
Remove alpha channel from particle colors in 1.20.5->.3 (#737) 2024-05-06 09:50:33 +02:00
Nassim Jahnke
093328db11
Handle missing mappings 2024-05-05 16:53:36 +02:00
Nassim Jahnke
5bd8786737
Update entity mapping usage 2024-05-05 12:22:17 +02:00
EnZaXD
fedda03062
Use TagUtil#removeNamespaced in 1.19.4->.3 (#735) 2024-05-02 16:07:22 +02:00
EnZaXD
99f6356230
Make chat_types handling in 1.19 protocols optional (#733) 2024-05-02 15:59:51 +02:00
EnZaXD
9b8e65c59d
Implement handleTranslate() for tags in TranslatableRewriter (#734) 2024-05-02 15:28:40 +02:00
Nassim Jahnke
bd2eb42374
Add advancement criteria if possible in 1.20.2->1.20
Fixes #616

Co-authored-by: Krakenied <Krakenied1@gmail.com>
2024-05-01 11:31:03 +02:00
Nassim Jahnke
e9db3f040f
Check both namespaced and implicit key when replacing registries 2024-05-01 10:35:48 +02:00
Nassim Jahnke
ce0e01abec
Auto: Update copyright headers 2024-04-30 22:29:02 +02:00
Nassim Jahnke
025603027e
Remove default components from trade list 2024-04-30 22:29:02 +02:00
EnZaXD
67ae00faeb
Add support for different mapping types with same id (#731) 2024-04-30 18:29:45 +02:00
Nassim Jahnke
325e3f92ed
Remove 1.19.4 registries without namespace as well 2024-04-29 23:12:37 +02:00
Nassim Jahnke
42897030f7
Fix entity effect reading below 1.20.2
Fixes #3811
2024-04-28 11:39:43 +02:00
Gero
bf7ed14506 Fix remapping of 1.20.5 CLICK_WINDOW_BUTTON 2024-04-27 21:31:49 +02:00
FlorianMichael
78a667c5b9
Add constructors to LegacyBlockItemRewriter to define item types 2024-04-26 15:15:24 +02:00
Nassim Jahnke
27dd2e39bd
Merge branch 'refs/heads/dev' into preview
# Conflicts:
#	common/src/main/java/com/viaversion/viabackwards/api/data/BackwardsMappings.java
2024-04-26 14:32:00 +02:00
Nassim Jahnke
b3115ea71d
Fix some namespace parsing issues 2024-04-26 13:31:14 +02:00
Nassim Jahnke
be742fc493
Fix 1.20.3->1.20.2 cloud particle handling 2024-04-26 13:19:09 +02:00
EnZaXD
100febf575
Rework legacy item/block mappings format (#728) 2024-04-26 09:18:42 +02:00
Nassim Jahnke
cddf30b60f
Read normal byte array type for cookie packet 2024-04-25 19:11:19 +02:00
EnZaXD
c4c15fb047
Add EntityRewriterBase#getDisplayVisibilityMetaValue (#725) 2024-04-23 22:18:58 +02:00
EnZaXD
ab11527c86
Reuse existing logger getter in BackwardsMappings (#726) 2024-04-23 22:18:45 +02:00
Nassim Jahnke
a4147a24f1
Merge branch 'refs/heads/dev' into preview 2024-04-23 11:00:24 +02:00
EnZaXD
87f2a6ba7b
Add mob spawn rewriter function for pre 1.11 (#724) 2024-04-23 10:45:12 +02:00
EnZaXD
948c615622
Replace LegacyEntityRewriter#getObjectTypeFromId with existing method (#723) 2024-04-22 23:30:15 +02:00
Nassim Jahnke
0996fc9270
Merge branch 'refs/heads/dev' into preview
# Conflicts:
#	common/src/main/java/com/viaversion/viabackwards/api/rewriters/EntityRewriterBase.java
#	common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/rewriter/BlockItemPacketRewriter1_20_5.java
2024-04-21 23:43:33 +02:00
Nassim Jahnke
0cd46fdac9
Also to component rewriter methods 2024-04-21 23:37:00 +02:00
Nassim Jahnke
2a4bfb936f
Add UserConnection param to item rewriter methods 2024-04-21 22:48:56 +02:00
Nassim Jahnke
3b9b3ab257
Use getFullItemMappings 2024-04-21 20:50:04 +02:00
FlorianMichael
e52210a674
Update mappings 2024-04-21 10:11:17 +02:00
Nassim Jahnke
11286b2162
Fall back to keys without namespace in registry data 2024-04-20 12:13:06 +02:00
Gero
471d4acf20 Add missing dust_color_transition data remapping (changed in 24w03a) 2024-04-19 16:54:52 +02:00
Nassim Jahnke
23955e5385
Update particle format in biome registry data 2024-04-18 19:16:42 +02:00
Nassim Jahnke
bf635cc6c5
1.20.5-rc1 2024-04-18 16:30:58 +02:00