Commit Graph

655 Commits

Author SHA1 Message Date
Nassim Jahnke
0b3a792a51
Properly read unused light data in 1.17->1.16
Some servers for some reason do this
2024-08-18 15:13:51 +02:00
Nassim Jahnke
eb4d30ae73
Always map command to signed command in 1.20.5->1.20.3
Sending any message, any non-message command, and again any message would kick the client with a chat validation error. Let's see if this is better
2024-08-15 13:35:37 +02:00
Nassim Jahnke
9ca523620d
Map wind charges to shulker bullets instead of llama spit
Spit has gravity by default and a short lifespan
Fixes #868
2024-08-15 13:10:48 +02:00
Nassim Jahnke
c2b5a5f545
Update template protocol classes 2024-08-14 09:42:32 +02:00
EnZaXD
9c3255d5a4
Only play totem animation for dying player in 1.11->1.10 (#860) 2024-08-14 09:38:27 +02:00
EnZaXD
b03be8ecfe
Properly handle custom item data in 1.20.5->1.20.3 (#865) 2024-08-14 09:36:44 +02:00
Nassim Jahnke
55ea81f9c7
Hotfix item ids in 1.21 item hover events 2024-08-07 17:37:24 +02:00
Nassim Jahnke
6a766f2467
Handle custom armor trims in 1.20.5->1.20.3
Fixes #847, closes #850
2024-08-07 12:47:26 +02:00
Nassim Jahnke
87d05ae487
Only change container data for enchantment tables
Fixes #853
2024-08-06 15:37:28 +02:00
EnZaXD
bc06d9ecc1
Handle experience orb spawn via add entity packet in 1.14->1.13.2 (#849) 2024-08-03 10:41:03 +02:00
EnZaXD
a0d063d93e
Handle data->pitch/yaw item frame rotation change in 1.17->1.16.4 (#848) 2024-08-02 10:29:54 +02:00
EnZaXD
24f994ff2a
Convert components in sign block entities in 1.12->1.11 (#845) 2024-07-31 18:21:42 +02:00
Nassim Jahnke
f4bc485408
Only create custom data tag in enchantment rewriter if necessary 2024-07-31 17:07:45 +02:00
Nassim Jahnke
b4a4b540cc
Always remap body armor slot 2024-07-30 22:39:56 +02:00
Nassim Jahnke
9fed88c1a3
5.0.2 Release 2024-07-28 14:38:59 +02:00
EnZaXD
2df954de90
Cleanup 1.20.5->1.20.3 SET_EQUIPMENT translation (#841) 2024-07-27 21:47:30 +02:00
EnZaXD
d3721307b1
Cleanup 1.20.2->1.20 item and recipe rewriter (#840) 2024-07-27 19:58:29 +02:00
RK_01
0ed3efc643
Fix typo (#837) 2024-07-27 19:54:16 +02:00
EnZaXD
4536ca41e2
Fix enchantment rewriter description conversion in 1.21->1.20.5 (#833) 2024-07-24 20:39:15 +02:00
EnZaXD
1413bd63ef
Handle attribute_modifiers inside container components in 1.21->1.20.5 (#829) 2024-07-24 14:33:56 +02:00
EnZaXD
136678b0b7
Use enhanced switch in more places, fix typo (#831) 2024-07-24 14:33:16 +02:00
Nassim Jahnke
99618af747
Fix enchantment table hints 2024-07-22 18:00:28 +02:00
EnZaXD
b5319dbb32
Check if item is null in 1.17.1->1.17 book conversion (#826) 2024-07-20 17:09:34 +02:00
EnZaXD
b6caa30c16
Add alternative sculk shrieker mapping in 1.19->1.18.2 (#820) 2024-07-17 19:06:44 +02:00
EnZaXD
bb2f26a5eb
Handle keep all player attributes boolean in LOGIN in 1.16->1.15.2 (#822) 2024-07-17 19:02:34 +02:00
EnZaXD
c9d57aab8d
Fix possible NPE in 1.17->1.16.4 bedrock at 0 emulation (#821) 2024-07-14 10:10:03 +02:00
EnZaXD
7e08534f4f
[ci skip] Fix player combat packet value comments (#818) 2024-07-13 10:59:39 +02:00
EnZaXD
d7e7992ca4
Include new bedrock-at-0 config option in world height warning (#815) 2024-07-09 18:26:49 +02:00
EnZaXD
e56920c7b1
Fix possible BannerHandler NPE in 1.13->1.12.2 (#814) 2024-07-09 17:59:06 +02:00
EnZaXD
e0ec308fa0
Handle rarity changes in trident/banner pattern item in 1.21->1.20.5 (#813) 2024-07-08 12:34:37 +02:00
EnZaXD
1c8438d2a6
Change BlockEntityHandler#handleOrNewCompoundTag to a void function (#812) 2024-07-07 17:31:15 +02:00
EnZaXD
33d8485852
Rename missing metadata references to entity data (#811) 2024-07-06 21:13:55 +02:00
EnZaXD
16f1bdff02
Put enchantment level into translatables in enchantment rewriters (#807) 2024-07-05 16:10:00 +02:00
EnZaXD
dd6bc4f1db
Handle translatables in lore tag conversion in 1.14->1.13.2 (#810) 2024-07-05 16:09:43 +02:00
Nassim Jahnke
22508f6ab7
Add setting to send bedrock at y 0
Closes #670
2024-07-04 08:58:42 +02:00
Nassim Jahnke
520552fe69
Properly swift sneak in lore 2024-07-03 11:31:02 +02:00
EnZaXD
355ca898d7
Rewrite falling block state ids in 1.20.3->1.20.2 (#806) 2024-07-02 11:50:23 +02:00
Nassim Jahnke
2cb3fd186b
Move bee entity mapping to onMappingDataLoaded method 2024-06-26 10:55:59 +02:00
EnZaXD
7ccb5634ff
Rewrite title/player_combat components in 1.17->1.16.4 (#801) 2024-06-24 22:17:24 +02:00
Nassim Jahnke
2daa1aa39e
Handle infinite effect duration in 1.19.4->1.19.3
Fixes #796
2024-06-20 13:53:33 +02:00
Nassim Jahnke
38af6f883b
Fix 1.21 enchantment remapping
Fixes #795
2024-06-20 13:21:54 +02:00
Nassim Jahnke
418357d8eb
Add empty axolotl_tempt_items tag 2024-06-19 23:01:11 +02:00
Nassim Jahnke
13a74f43ef
Remove old particles type handling code 2024-06-18 18:42:39 +02:00
Nassim Jahnke
a921337178
Add music_discs item tag for 1.20.5 clients
Needed back in 1.17
Fixes #794
2024-06-18 10:03:13 +02:00
Nassim Jahnke
da5837d794
Move particles type handling into generic handler
This allows for handling of data for untracked entities
2024-06-18 10:00:20 +02:00
EnZaXD
4dded860ce
Rewrite window title in 1.20->1.19.4 (#792) 2024-06-17 16:52:05 +02:00
EnZaXD
8e99dddb91
Write player rotation on USE_ITEM in 1.21->1.20.5 (#791) 2024-06-17 16:27:55 +02:00
Nassim Jahnke
e662640377
Handle item_name item data for component rewriting 2024-06-17 12:58:39 +02:00
Nassim Jahnke
bba0a3a3a6
Handle new trial chamber map decoration type
Fixes #789
2024-06-17 12:26:27 +02:00
Nassim Jahnke
4061e91e53
Update translations 2024-06-17 12:12:36 +02:00
Nassim Jahnke
14e208e9d7
Enable experimental 1.21 features for 1.20 clients
Fixes #790
2024-06-17 11:59:38 +02:00
Nassim Jahnke
5f57041413
Fix item data handling order 2024-06-16 11:05:50 +02:00
Nassim Jahnke
f91a25cba7
Make sure we have block mappings before trying to apply them 2024-06-16 10:22:37 +02:00
Nassim Jahnke
547041cb62
Merge branch 'refs/heads/dev' into preview 2024-06-15 16:11:26 +02:00
Pantera (Mad_Daniel)
b7af3b7d8e
Fix player head in 1.20.2->1.20 (#786) 2024-06-15 15:10:20 +02:00
Nassim Jahnke
bb927b31f7
Some fixups
Informative commit message I know
2024-06-14 00:58:32 +02:00
EnZaXD
eceda8ac58
Add remaining item array type in BlockItemPacketRewriter1_13 (#784) 2024-06-13 18:42:17 +02:00
Nassim Jahnke
65d829065a
Read proper sound event type in 1.20.5->1.20.3 2024-06-13 18:33:43 +02:00
Nassim Jahnke
4b58f6d154
1.21-rc1 2024-06-12 18:08:23 +02:00
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