3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-18 05:50:08 +01:00
Commit graph

642 Commits

Autor SHA1 Nachricht Datum
Nassim Jahnke
6d8fee053d
1.21-pre3 2024-06-12 18:08:23 +02:00
Nassim Jahnke
59f7ce339e
Remove jukebox_playable 2024-06-12 18:08:22 +02:00
Nassim Jahnke
a9b9c48b26
Handle item changes in show item text components 2024-06-12 18:08:22 +02:00
Nassim Jahnke
8fb814ef11
Handle chat and horse container changes 2024-06-12 18:08:22 +02:00
Nassim Jahnke
ab1467dba5
Handle jukebox song level event 2024-06-12 18:08:21 +02:00
Nassim Jahnke
3749a5d5da
Update data component ids 2024-06-12 18:08:21 +02:00
Nassim Jahnke
6f8da18f65
24w21b, mostly 2024-06-12 18:08:21 +02:00
Nassim Jahnke
1a24ce6d87
24w20a 2024-06-12 18:08:21 +02:00
Nassim Jahnke
e9d142e2ec
Rebase onto 5.0.0 2024-06-12 18:08:20 +02:00
Nassim Jahnke
218b2abe45
24w19a 2024-06-12 18:08:20 +02:00
Nassim Jahnke
263790e9f6
24w18a 2024-06-12 18:08:20 +02:00
EnZaXD
094bfe34c6
Use trade list rewriter functions (#782) 2024-06-11 15:10:22 +02:00
Nassim Jahnke
bfbc086f44
Revert "Send registry data before finish configuration in 1.20.5->1.20.3 (#778)"
This reverts commit e93e30c235.
2024-06-08 20:09:10 +02:00
EnZaXD
7bd43e0234
Use TagRewriter#registerGeneric in 1.20.3->1.20.2 (#779) 2024-06-07 18:38:29 +02:00
EnZaXD
e93e30c235
Send registry data before finish configuration in 1.20.5->1.20.3 (#778) 2024-06-07 18:19:49 +02:00
Nassim Jahnke
2f5fbd93ea
Make items in 1.20.5+ non null 2024-06-07 13:52:45 +02:00
EnZaXD
f86fdd1eb4
Update VV API usage (#776) 2024-06-06 11:09:39 +02:00
Nassim Jahnke
993608b4b4
Also apply MC-68487 workaround to items 2024-06-06 10:56:43 +02:00
EnZaXD
a786152dfc
Handle UPDATE_LISTED state in 1.19.3->1.19.1 (#775) 2024-06-05 09:24:47 +02:00
EnZaXD
89caecef4f
Ignore errors in 1.14->1.13.2 lore tag conversion (#773) 2024-06-04 12:42:43 +02:00
EnZaXD
8a675923d1
Emulate recovery compass using lodestone compass in 1.19->1.18.2 (#770) 2024-06-03 09:49:39 +02:00
EnZaXD
3370383481
Add firework flight length fix from VV (#769) 2024-06-02 09:04:17 +02:00
EnZaXD
1c45e41934
Fix horse/llama's armor/carpet not visible in 1.20.5->.3 (#765) 2024-05-30 15:47:06 +02:00
EnZaXD
b53c0aeb9b
Handle block state particles when identifier is used in 1.20.5->.3 (#764) 2024-05-30 10:45:02 +02:00
EnZaXD
1bf5f7408b
Add missing translation mappings and component rewriter (#761) 2024-05-28 10:52:08 +02:00
EnZaXD
9e63243003
Make TranslatableRewriter usable in other projects as well (#762) 2024-05-27 19:37:57 +02:00
RK_01
98fad11060
Update Via API usage (#760) 2024-05-27 13:35:14 +02:00
Nassim Jahnke
fe4986b042
Fix sniffer entity data removal
Fixes #757
2024-05-22 10:11:09 +02:00
Nassim Jahnke
0618037a0e
Rename Position 2024-05-21 13:12:18 +02:00
Nassim Jahnke
d7f550fc4f
Remove empty item tags
Fixes #752
2024-05-21 11:20:55 +02:00
Nassim Jahnke
a9ed655d95
Add extra slot to horse inventories
Fixes #754
2024-05-21 10:36:02 +02:00
EnZaXD
6e75026681
Add config option to suppress emulation warnings (#751) 2024-05-19 09:27:22 +02:00
EnZaXD
f9890db702
Use legacy chunk rewriter functions (#750) 2024-05-15 17:27:43 +02:00
EnZaXD
dd4ab8082e
Update data class names to indicate target version (#749) 2024-05-15 11:16:50 +02:00
EnZaXD
8f92d55747
Update Via API usage (#747) 2024-05-14 20:48:49 +02:00
EnZaXD
4d6c6a2da1
Fix wrong Protocol1_8To1_9#STRING_TO_JSON usages in 1.12->1.11.1 (#746) 2024-05-14 20:48:19 +02:00
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
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