Commit Graph

576 Commits

Author SHA1 Message Date
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
Nassim Jahnke
5a49413dbc
Merge branch 'refs/heads/dev' into preview 2024-04-18 16:26:20 +02:00
Nassim Jahnke
c64e9acf35
Override getTagRewriter methods 2024-04-18 16:26:03 +02:00
Nassim Jahnke
00f773d150
Merge branch 'refs/heads/master' into dev 2024-04-18 16:19:39 +02:00
EnZaXD
1ac504afb9
Use correct constructor in MappedLegacyBlockItem (#721) 2024-04-17 08:46:48 +02:00
EnZaXD
09eda34051
Use VVs IdAndData class for block id conversions (#719) 2024-04-16 21:05:45 +02:00
EnZaXD
9cf5f98ed1
Replace incoming/outgoing usages with client/server bound (#720) 2024-04-16 21:00:20 +02:00
Nassim Jahnke
1e8cf198e7
Update missed call 2024-04-15 17:29:22 +02:00
Nassim Jahnke
caa28df36d
1.20.5-pre2 2024-04-15 17:17:19 +02:00
Nassim Jahnke
d2edf3fbfe
1.20.5-pre1 2024-04-10 17:41:19 +02:00
Nassim Jahnke
68807be880
Track banner patterns 2024-04-09 13:18:40 +02:00
Nassim Jahnke
7d6c330fa3
Handle entity effect particle color 2024-04-08 15:05:01 +02:00
FlorianMichael
fe708ba0eb
Fix chat command handling 2024-04-07 19:58:44 +02:00
Nassim Jahnke
fccd5b3f3b
Fix trade list handling 2024-04-07 13:41:51 +02:00
Nassim Jahnke
9f652ad24a
Update VV usage 2024-04-06 21:33:41 +02:00
Nassim Jahnke
f7dad9b5d7
Add StructuredEnchantmentRewriter, update translation mappings 2024-04-06 21:30:19 +02:00
Nassim Jahnke
1507f788ec
24w14a 2024-04-06 21:28:59 +02:00
Nassim Jahnke
41b04f9902
24w13a 2024-04-06 21:28:59 +02:00
Nassim Jahnke
9beaf71196
Handle new argument types 2024-04-06 21:28:59 +02:00
Nassim Jahnke
0c7aa1d037
Update mappings 2024-04-06 21:28:59 +02:00
Nassim Jahnke
7a7d2f1fa1
Handle lore and name in StructuredItemRewriter 2024-04-06 21:28:56 +02:00
Nassim Jahnke
37711d0079
Set rewritten item in metadata rewriter 2024-04-06 21:28:21 +02:00
Nassim Jahnke
e1f2f151c9
24w11a 2024-04-06 21:28:21 +02:00
Nassim Jahnke
a453163822
Some 24w10a changes 2024-04-06 21:28:21 +02:00
EnZaXD
1647b18233
Override nbtTagName() correctly (#717) 2024-04-05 20:36:03 +02:00
vadage
c7dc80b71b
Support config loading from input stream (#718) 2024-04-05 20:32:47 +02:00
EnZaXD
39d3265463
Update VV ItemRewriter API Usage (#716) 2024-04-04 09:48:19 +02:00
Nassim Jahnke
2b953556ec
Update VV API usage 2024-04-01 14:20:15 +02:00
EnZaXD
4e5b6fe876
Fix minor inconsistencies in older protocols (#714) 2024-04-01 13:01:07 +02:00
EnZaXD
0e74527342
Update Via API usage (#713) 2024-03-31 15:14:33 +02:00
EnZaXD
75fddd0fb9
Allow platforms to disable dummy enchantment in LegacyEnchantmentRewriter (#710) 2024-03-28 14:32:13 +01:00
EnZaXD
0aacfe3bcb
Add item handler methods to LegacyEnchantmentRewriter (#709) 2024-03-28 11:22:34 +01:00
EnZaXD
4547d5c702
Move methods in LegacyBlockItemRewriter and expose handleChunk method (#707) 2024-03-27 20:15:57 +01:00
EnZaXD
b438484dc7
Keep original item data in LegacyBlockItemRewriter (#706) 2024-03-27 17:04:50 +01:00
EnZaXD
ed52ef21ee
Add calculation methods for block id and data (#704) 2024-03-27 16:49:14 +01:00
EnZaXD
9d1a5a05f5
Expose EntityRewriterBase#alwaysShowOriginalMobName (#705) 2024-03-27 16:48:35 +01:00
EnZaXD
4e856ef396
Various API changes to LegacyBlockItemRewriter (#703) 2024-03-27 13:27:19 +01:00
EnZaXD
082cc010b2
Update Via API usage (#702) 2024-03-24 22:10:06 +01:00
EnZaXD
59a621315b
Allow platforms to use BackwardsMappingDataLoader (#701) 2024-03-24 12:14:51 +01:00
EnZaXD
d8b7e7d9ff
Update mapping data loader (#700) 2024-03-24 11:46:08 +01:00
Nassim Jahnke
51561d143c
Merge branch 'master' into dev
# Conflicts:
#	.github/workflows/publish.yml
2024-03-22 20:55:44 +01:00
Nassim Jahnke
ac86d891fe
Check if id is present in EnchantmentRewriter
Closes #699
2024-03-17 19:58:05 +01:00
Nassim Jahnke
9d8aa9a232
Update mappings 2024-03-17 16:29:32 +01:00
Nassim Jahnke
f3b26c5aa5
Fix 1.20.2->1.20 entity sound reading
Fixes ViaVersion/ViaVersion#3744
2024-03-14 14:41:49 +01:00
Nassim Jahnke
d96cef7134
Merge branch 'master' into dev 2024-03-09 13:09:17 +01:00
Nassim Jahnke
ced1a65230
Replace some generic CompoundTag get usages 2024-03-09 13:08:36 +01:00
Nassim Jahnke
6ad1dc4195
Merge branch 'master' into dev
# Conflicts:
#	gradle.properties
#	gradle/libs.versions.toml
2024-03-07 13:51:41 +01:00
Nassim Jahnke
c6ea04fd33
Update ViaNBT 2024-03-07 13:37:42 +01:00
Nassim Jahnke
39e9d6dd04
Use new SoundEvent type 2024-03-01 14:23:13 +01:00
Nassim Jahnke
445d798a17
Partially implement mapped item handling 2024-02-29 20:30:46 +01:00
Nassim Jahnke
05b1a6bacd
Start working on 24w09a 2024-02-29 12:41:39 +01:00
EnZaXD
2f60c79ed8
Use equals for legacy custom payload channel handlers (#693) 2024-02-29 12:09:50 +01:00
Nassim Jahnke
8f417b6caa
Rename methods once again 2024-02-14 19:27:40 +01:00
Nassim Jahnke
96d6c0697e
Fix compilation 2024-02-14 18:15:41 +01:00
Nassim Jahnke
c112044b5a
24w07a 2024-02-14 17:39:31 +01:00
Nassim Jahnke
45c44c8f7e
Update VV usage 2024-02-14 11:13:58 +01:00
Nassim Jahnke
5a3a82a83d
Update VV usage 2024-02-13 19:03:56 +01:00
Nassim Jahnke
bc03235f42
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_16_4to1_17/packets/EntityPackets1_17.java
2024-02-12 11:08:17 +01:00
Nassim Jahnke
073488abcf
Update template 2024-02-12 11:03:39 +01:00
Nassim Jahnke
b60464296b
Small cleanups 2024-02-12 11:02:55 +01:00
Nassim Jahnke
9241213fb5
Replace tag instanceof/unchecked casts with helper methods 2024-02-11 10:42:44 +01:00
Nassim Jahnke
f90861dbce
Remap breeze wind charge 2024-02-08 16:19:17 +01:00
Nassim Jahnke
06f07d2b2c
24w06a 2024-02-07 19:07:34 +01:00
Nassim Jahnke
fa1c3e1520
24w05b 2024-02-01 17:53:18 +01:00
EnZaXD
dca8ecf1db
Fix notes color from note block being wrong in 1.13->1.12 (#680)
Closes https://github.com/ViaVersion/ViaBackwards/issues/679
2024-02-01 16:28:40 +01:00
Nassim Jahnke
680d0642c9
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_2to1_20_3/rewriter/BlockItemPacketRewriter1_20_3.java
2024-01-31 22:58:51 +01:00
Nassim Jahnke
170e5f224f
Fix writable book handling in 1.16->1.15 2024-01-31 22:58:11 +01:00
Nassim Jahnke
f6def0c97c
24w05a (mostly) 2024-01-31 18:06:46 +01:00
EnZaXD
4375a259dd
Fix 1.17.1 -> 1.18 mappings loading (#676)
Closes https://github.com/ViaVersion/ViaBackwards/issues/568
2024-01-29 20:30:59 +01:00
Nassim Jahnke
b3b4d0f618
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_2to1_20_3/rewriter/BlockItemPacketRewriter1_20_3.java
2024-01-29 17:33:42 +01:00
Nassim Jahnke
8fc82cd331
Update book conversion error logging 2024-01-29 17:33:08 +01:00
EnZaXD
de21548a8e
Clean up more item type usage in ItemRewriter (#675) 2024-01-29 17:29:17 +01:00
Nassim Jahnke
8759f059b7
Ignore errors in book conversion 2024-01-29 10:17:50 +01:00
Nassim Jahnke
1f3555df4a
Put books through component conversion in 1.20.3->1.20.2 2024-01-27 21:04:32 +01:00
Nassim Jahnke
9abfdfb8f9
Include config packets in Protocol generic types 2024-01-26 16:23:17 +01:00
Nassim Jahnke
8c2f80a632
Fix missed type removal from last commit 2024-01-26 14:38:55 +01:00
Nassim Jahnke
3e89641448
24w04a 2024-01-24 20:23:29 +01:00
Nassim Jahnke
8ffbc7047f
Add cookie handling, TransferProvider for other platforms 2024-01-20 10:26:56 +01:00
Nassim Jahnke
e6814a13a9
24w03b (probably) 2024-01-18 16:34:00 +01:00
EnZaXD
6b1f913b91
Fix VV API usage (#664) 2024-01-13 09:54:39 +01:00
Nassim Jahnke
de42850dd1
Merge branch 'master' into dev
# Conflicts:
#	template/src/main/java/com/viaversion/viabackwards/template/protocol/rewriter/EntityPacketRewriter1_99.java
2024-01-12 10:33:40 +01:00
Nassim Jahnke
88df61605b
Update VV usage 2024-01-09 20:59:26 +01:00
Nassim Jahnke
6c2d43d7f9
Handle 1.20->1.20.2 tags 2024-01-09 17:19:19 +01:00
Nassim Jahnke
62765d03ce
Merge remote-tracking branch 'origin/master' into dev 2024-01-04 17:51:18 +01:00
Nassim Jahnke
2889daed61
Update license header 2024-01-01 12:38:33 +01:00
Nassim Jahnke
651bf052fc
Update ViaNBT 2023-12-31 14:04:57 +01:00
Nassim Jahnke
59660a5bdc
Merge branch 'master' into dev 2023-12-27 19:48:40 +01:00
Nassim Jahnke
5334f77d49
Finish up things 2023-12-27 17:30:47 +01:00
Nassim Jahnke
96293e6e66
Start working on mcstructs usage (missing TranslatableRewriter1_16) 2023-12-27 00:24:56 +01:00
Nassim Jahnke
19ec92c261
Merge remote-tracking branch 'origin/master' into dev 2023-12-26 21:51:03 +01:00
Nassim Jahnke
65faeb8574
Fix 1.20.3->1.20.2 configuration resource pack id 2023-12-26 21:49:34 +01:00
Nassim Jahnke
6ad4a29d30
Allow specifying unmapped data in legacy mappings 2023-12-20 12:10:15 +01:00
Nassim Jahnke
ba725df33e
23w51b 2023-12-18 19:50:25 +01:00
Nassim Jahnke
a390990178
Read correct method type in update score
Fixes #650
2023-12-13 12:04:43 +01:00
Nassim Jahnke
e020dd69ef
Fix tab complete tooltip reading in old versions
Fixes #648
2023-12-11 11:27:52 +01:00
Nassim Jahnke
b09950dc64
Update Via usage 2023-12-10 12:15:35 +01:00
Nassim Jahnke
7b8fd2b061
Fix 1.17->1.16 map data type reading
Fixes #646
2023-12-09 14:59:43 +01:00
Nassim Jahnke
2d57e8c212
Clone tag instead of abusing tag conversion 2023-12-08 21:06:30 +01:00
Camden Cove
dcc3824a8c
Fix 1.13.1->1.13 item type in some cases (#645) 2023-12-08 12:05:52 +01:00
EnZaXD
2dd19c778b
Handle chunk loading game state in 1.20.3 -> 1.20.2 (#643) 2023-12-08 09:37:20 +01:00
Nassim Jahnke
e24a170e77
Fix reset score reading 2023-12-07 23:17:55 +01:00
Nassim Jahnke
c44bc88d2d
Convert chat type in disguised chat packet 2023-12-07 10:11:18 +01:00
Nassim Jahnke
deede5347e
Fix 1.13 map data type
Fixes #641
2023-12-07 09:54:30 +01:00
Nassim Jahnke
255536e9d0
Handle tags packet 2023-12-06 09:47:11 +01:00
Nassim Jahnke
8a2c18863c
Fix map marker reading 2023-12-05 22:23:48 +01:00
RK_01
3dd6e5043e
Change gamemode data type in JOIN_GAME handlers (#639) 2023-12-03 18:35:47 +01:00
Nassim Jahnke
d30766a17a
Fix ordering issue in login ack send on the server
Fixes 1.20.2+ Fabric servers with Fabric API

Co-authored-by: EnZaXD <60033407+FlorianMichael@users.noreply.github.com>
2023-11-30 18:39:41 +01:00
Nassim Jahnke
f556a29d38
1.20.3-rc1 2023-11-30 17:13:05 +01:00
Nassim Jahnke
8a19fbdead
Update translation mappings 2023-11-30 15:54:54 +01:00
Nassim Jahnke
d4011f3646
1.20.3-pre3 2023-11-27 17:12:42 +01:00
EnZaXD
2bd687b19d
Implemented ViaVersion's SignableCommandArgumentsProvider (#633) 2023-11-26 15:34:55 +01:00
Nassim Jahnke
4f4bff6898
Update mappings 2023-11-21 07:36:29 +01:00
Nassim Jahnke
adac67b85c
Handle new resource pack actions 2023-11-21 07:13:37 +01:00
Nassim Jahnke
0949ff4ba9
1.20.3-pre1 (maybe) 2023-11-20 19:09:05 +01:00
Nassim Jahnke
8f5683f764
23w46a (mostly) 2023-11-19 16:48:24 +01:00
Drex
995c0bf4c3
Implement keep blocks explosion types (#632) 2023-11-19 16:19:40 +01:00
Nassim Jahnke
0f77acdc9f
Remove todos 2023-11-09 18:00:08 +10:00
Nassim Jahnke
ac5fbdd7f4
Allow null mapped entity name 2023-11-09 17:58:10 +10:00
Nassim Jahnke
fb7cd2d9e3
23w45a 2023-11-09 17:57:28 +10:00
Nassim Jahnke
5284a581b3 Handle new 1.20.2 map markers 2023-11-08 11:55:03 +10:00
Nassim Jahnke
bce716caa4 Don't expect enables features to always be sent
The client defaults to the vanilla registry, so it doesn't need to be sent
2023-11-05 11:50:33 +10:00
Nassim Jahnke
71f08b9e4e
Add 1.20.3 translations, fix unlit bulb mappings 2023-10-26 17:44:17 +10:00
Nassim Jahnke
59fc7f6a1a
23w43a 2023-10-26 13:13:23 +10:00
RK_01
232180ee61
Fix identifier handling in old protocols (#624) 2023-10-24 09:55:13 +10:00
RK_01
48907be813
Implement support for chat signing (#621) 2023-10-22 19:51:00 +10:00
EnZaXD
ff87b1dc92
1.13.2 -> 1.14: Change bamboo mapping (#622) 2023-10-22 12:36:21 +10:00
Nassim Jahnke
e68ddf42b0 Update VV usage 2023-10-21 13:41:39 +10:00
Nassim Jahnke
8a9d4bd971
Update VV usage 2023-10-20 12:46:29 +10:00
Nassim Jahnke
7f85d074af
Update VV usage 2023-10-19 21:31:00 +10:00
Nassim Jahnke
4cd65dd956
23w42a (if the ci manages to find VV) 2023-10-19 11:50:31 +10:00
Nassim Jahnke
719bb11938
Update TranslatableRewriter 2023-10-18 14:56:44 +10:00
Дмитрий
e419831e8a
Big Dripleaf mappings change (#614) 2023-10-18 11:48:45 +10:00
Nassim Jahnke
65158455cc Fix early sending of resource pack
Fixes #3476
2023-10-15 18:12:39 +10:00
Nassim Jahnke
0912e33358
Merge pull request #611 from SplotyCode/fix/scoreboatd 2023-10-13 21:20:00 +10:00
David Scandurra
02f595b109 ChatUtil: Append unwritten formatting in prefix mode 2023-10-12 23:03:18 +02:00