Amos Lastmann
- Ning1253
- ning1253
- Europe/London
- Yes
- No
Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below:
{{---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!Time: 23/04/20 19:24
Description: Rendering entity in worldjava.lang.ClassCastException: lg cannot be cast to la
at bhr.a(SourceFile:124)
at bhr.a(SourceFile:29)
at bhr$1.call(SourceFile:54)
at ebr.a(SourceFile:39)
at ebs.a(SourceFile:50)
at efw.a(SourceFile:164)
at efw.a(SourceFile:160)
at efu.a(SourceFile:63)
at efu.a(SourceFile:18)
at efb.a(SourceFile:260)
at eam.a(SourceFile:1287)
at eam.a(SourceFile:1101)
at eai.a(SourceFile:718)
at eai.a(SourceFile:541)
at dkr.e(SourceFile:1007)
at dkr.d(SourceFile:630)
at net.minecraft.client.main.Main.main(SourceFile:204)A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------– Head –
Thread: Render thread
Stacktrace:
at bhr.a(SourceFile:124)
at bhr.a(SourceFile:29)
at bhr$1.call(SourceFile:54)
at ebr.a(SourceFile:39)
at ebs.a(SourceFile:50)
at efw.a(SourceFile:164)
at efw.a(SourceFile:160)
at efu.a(SourceFile:63)
at efu.a(SourceFile:18)– Entity being rendered –
Details:
Entity Type: minecraft:item (bab)
Entity ID: 7
Entity Name: Lodestone Compass
Entity's Exact location: 11.06, 56.00, 10.20
Entity's Block location: World: (11,56,10), Chunk: (at 11,3,10 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~ERROR~ NullPointerException: null– Renderer details –
Details:
Assigned renderer: efu@8eb1297
Location: 3.95,-1.62,2.72 - World: (3,-2,2), Chunk: (at 3,-1,2 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Rotation: 127.96875
Delta: 0.05997145
Stacktrace:
at efb.a(SourceFile:260)
at eam.a(SourceFile:1287)
at eam.a(SourceFile:1101)
at eai.a(SourceFile:718)– Affected level –
Details:
All players: 1 total; [dzw['ZeGamer253'/1, l='MpServer', x=7.11, y=56.00, z=7.48]]
Chunk stats: Client Chunk Cache: 1369, 961
Level dimension: minecraft:overworld
Level name: MpServer
Level seed: 5407234007490296044
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options: NBT[{}]
Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 2471 game time, 2471 day time
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Known server brands:
Level was modded: false
Level storage version: 0x04ABD - Anvil
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at dxd.a(SourceFile:430)
at dkr.c(SourceFile:1980)
at dkr.d(SourceFile:648)
at net.minecraft.client.main.Main.main(SourceFile:204)– System Details –
Details:
Minecraft Version: 20w17a
Minecraft Version ID: 20w17a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 641910320 bytes (612 MB) / 1979711488 bytes (1888 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 20w17a
Backend library: LWJGL version 3.2.2 build 10
Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.75, NVIDIA Corporation
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: vanilla
Current Language: English (US)
CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz}}Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below:
---- Minecraft Crash Report ----
{{ // Hey, that tickles! Hehehe!}}Time: 23/04/20 19:24
{{ Description: Rendering entity in world}}java.lang.ClassCastException: lg cannot be cast to la
{{ at bhr.a(SourceFile:124)}}
{{ at bhr.a(SourceFile:29)}}
{{ at bhr$1.call(SourceFile:54)}}
{{ at ebr.a(SourceFile:39)}}
{{ at ebs.a(SourceFile:50)}}
{{ at efw.a(SourceFile:164)}}
{{ at efw.a(SourceFile:160)}}
{{ at efu.a(SourceFile:63)}}
{{ at efu.a(SourceFile:18)}}
{{ at efb.a(SourceFile:260)}}
{{ at eam.a(SourceFile:1287)}}
{{ at eam.a(SourceFile:1101)}}
{{ at eai.a(SourceFile:718)}}
{{ at eai.a(SourceFile:541)}}
{{ at dkr.e(SourceFile:1007)}}
{{ at dkr.d(SourceFile:630)}}
{{ at net.minecraft.client.main.Main.main(SourceFile:204)}}A detailed walkthrough of the error, its code path and all known details is as follows:
{{ ---------------------------------------------------------------------------------------}}– Head –
{{ Thread: Render thread}}
{{ Stacktrace:}}
{{ at bhr.a(SourceFile:124)}}
{{ at bhr.a(SourceFile:29)}}
{{ at bhr$1.call(SourceFile:54)}}
{{ at ebr.a(SourceFile:39)}}
{{ at ebs.a(SourceFile:50)}}
{{ at efw.a(SourceFile:164)}}
{{ at efw.a(SourceFile:160)}}
{{ at efu.a(SourceFile:63)}}
{{ at efu.a(SourceFile:18)}}– Entity being rendered –
{{ Details:}}
{{ Entity Type: minecraft:item (bab)}}
{{ Entity ID: 7}}
{{ Entity Name: Lodestone Compass}}
{{ Entity's Exact location: 11.06, 56.00, 10.20}}
{{ Entity's Block location: World: (11,56,10), Chunk: (at 11,3,10 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Entity's Momentum: 0.00, 0.00, 0.00}}
{{ Entity's Passengers: []}}
{{ Entity's Vehicle: ~ERROR~ NullPointerException: null}}– Renderer details –
{{ Details:}}
{{ Assigned renderer: efu@8eb1297}}
{{ Location: 3.95,-1.62,2.72 - World: (3,-2,2), Chunk: (at 3,-1,2 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Rotation: 127.96875}}
{{ Delta: 0.05997145}}
{{ Stacktrace:}}
{{ at efb.a(SourceFile:260)}}
{{ at eam.a(SourceFile:1287)}}
{{ at eam.a(SourceFile:1101)}}
{{ at eai.a(SourceFile:718)}}– Affected level –
{{ Details:}}
{{ All players: 1 total; [dzw['ZeGamer253'/1, l='MpServer', x=7.11, y=56.00, z=7.48]]}}
{{ Chunk stats: Client Chunk Cache: 1369, 961}}
{{ Level dimension: minecraft:overworld}}
{{ Level name: MpServer}}
{{ Level seed: 5407234007490296044}}
{{ Level generator: ID 01 - flat, ver 0. Features enabled: false}}
{{ Level generator options: NBT[{}]}}
{{ Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Level time: 2471 game time, 2471 day time}}
{{ Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)}}
{{ Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false}}
{{ Known server brands: }}
{{ Level was modded: false}}
{{ Level storage version: 0x04ABD - Anvil}}
{{ Server brand: vanilla}}
{{ Server type: Integrated singleplayer server}}
{{ Stacktrace:}}
{{ at dxd.a(SourceFile:430)}}
{{ at dkr.c(SourceFile:1980)}}
{{ at dkr.d(SourceFile:648)}}
{{ at net.minecraft.client.main.Main.main(SourceFile:204)}}– System Details –
{{ Details:}}
{{ Minecraft Version: 20w17a}}
{{ Minecraft Version ID: 20w17a}}
{{ Operating System: Windows 10 (amd64) version 10.0}}
{{ Java Version: 1.8.0_51, Oracle Corporation}}
{{ Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation}}
{{ Memory: 641910320 bytes (612 MB) / 1979711488 bytes (1888 MB) up to 2147483648 bytes (2048 MB)}}
{{ CPUs: 8}}
{{ JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M}}
{{ Launched Version: 20w17a}}
{{ Backend library: LWJGL version 3.2.2 build 10}}
{{ Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.75, NVIDIA Corporation}}
{{ GL Caps: Using framebuffer using OpenGL 3.0}}
{{ Using VBOs: Yes}}
{{ Is Modded: Probably not. Jar signature remains and client brand is untouched.}}
{{ Type: Client (map_client.txt)}}
{{ Resource Packs: vanilla}}
{{ Current Language: English (US)}}
{{ CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz}}}}
Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below:
---- Minecraft Crash Report ----
{{ // Hey, that tickles! Hehehe!}}Time: 23/04/20 19:24
{{ Description: Rendering entity in world}}java.lang.ClassCastException: lg cannot be cast to la
{{ at bhr.a(SourceFile:124)}}
{{ at bhr.a(SourceFile:29)}}
{{ at bhr$1.call(SourceFile:54)}}
{{ at ebr.a(SourceFile:39)}}
{{ at ebs.a(SourceFile:50)}}
{{ at efw.a(SourceFile:164)}}
{{ at efw.a(SourceFile:160)}}
{{ at efu.a(SourceFile:63)}}
{{ at efu.a(SourceFile:18)}}
{{ at efb.a(SourceFile:260)}}
{{ at eam.a(SourceFile:1287)}}
{{ at eam.a(SourceFile:1101)}}
{{ at eai.a(SourceFile:718)}}
{{ at eai.a(SourceFile:541)}}
{{ at dkr.e(SourceFile:1007)}}
{{ at dkr.d(SourceFile:630)}}
{{ at net.minecraft.client.main.Main.main(SourceFile:204)}}A detailed walkthrough of the error, its code path and all known details is as follows:
{{ ---------------------------------------------------------------------------------------}}– Head –
{{ Thread: Render thread}}
{{ Stacktrace:}}
{{ at bhr.a(SourceFile:124)}}
{{ at bhr.a(SourceFile:29)}}
{{ at bhr$1.call(SourceFile:54)}}
{{ at ebr.a(SourceFile:39)}}
{{ at ebs.a(SourceFile:50)}}
{{ at efw.a(SourceFile:164)}}
{{ at efw.a(SourceFile:160)}}
{{ at efu.a(SourceFile:63)}}
{{ at efu.a(SourceFile:18)}}– Entity being rendered –
{{ Details:}}
{{ Entity Type: minecraft:item (bab)}}
{{ Entity ID: 7}}
{{ Entity Name: Lodestone Compass}}
{{ Entity's Exact location: 11.06, 56.00, 10.20}}
{{ Entity's Block location: World: (11,56,10), Chunk: (at 11,3,10 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Entity's Momentum: 0.00, 0.00, 0.00}}
{{ Entity's Passengers: []}}
{{ Entity's Vehicle: ~ERROR~ NullPointerException: null}}– Renderer details –
{{ Details:}}
{{ Assigned renderer: efu@8eb1297}}
{{ Location: 3.95,-1.62,2.72 - World: (3,-2,2), Chunk: (at 3,-1,2 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Rotation: 127.96875}}
{{ Delta: 0.05997145}}
{{ Stacktrace:}}
{{ at efb.a(SourceFile:260)}}
{{ at eam.a(SourceFile:1287)}}
{{ at eam.a(SourceFile:1101)}}
{{ at eai.a(SourceFile:718)}}– Affected level –
{{ Details:}}
{{ All players: 1 total; [dzw['ZeGamer253'/1, l='MpServer', x=7.11, y=56.00, z=7.48]]}}
{{ Chunk stats: Client Chunk Cache: 1369, 961}}
{{ Level dimension: minecraft:overworld}}
{{ Level name: MpServer}}
{{ Level seed: 5407234007490296044}}
{{ Level generator: ID 01 - flat, ver 0. Features enabled: false}}
{{ Level generator options: NBT[{}]}}
{{ Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)}}
{{ Level time: 2471 game time, 2471 day time}}
{{ Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)}}
{{ Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false}}
{{ Known server brands: }}
{{ Level was modded: false}}
{{ Level storage version: 0x04ABD - Anvil}}
{{ Server brand: vanilla}}
{{ Server type: Integrated singleplayer server}}
{{ Stacktrace:}}
{{ at dxd.a(SourceFile:430)}}
{{ at dkr.c(SourceFile:1980)}}
{{ at dkr.d(SourceFile:648)}}
{{ at net.minecraft.client.main.Main.main(SourceFile:204)}}
– System Details –
{{ Details:}}
{{ Minecraft Version: 20w17a}}
{{ Minecraft Version ID: 20w17a}}
{{ Operating System: Windows 10 (amd64) version 10.0}}
{{ Java Version: 1.8.0_51, Oracle Corporation}}
{{ Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation}}
{{ Memory: 641910320 bytes (612 MB) / 1979711488 bytes (1888 MB) up to 2147483648 bytes (2048 MB)}}
{{ CPUs: 8}}
{{ JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M}}
{{ Launched Version: 20w17a}}
{{ Backend library: LWJGL version 3.2.2 build 10}}
{{ Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.75, NVIDIA Corporation}}
{{ GL Caps: Using framebuffer using OpenGL 3.0}}
{{ Using VBOs: Yes}}
{{ Is Modded: Probably not. Jar signature remains and client brand is untouched.}}
{{ Type: Client (map_client.txt)}}
{{ Resource Packs: vanilla}}
{{ Current Language: English (US)}}
{{ CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz}}}}Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below.
{{}}
Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below.
{{}}Upon editing nbt of a (lodestone) compass item on the floor if the LodestonePos is set to a value not supported (eg. setting it to player Pos) instead of cancelling the nbt edit the item nbt will change to this and cause the world to be permamently crashed. How to:
1. Create new world
2. Give a compass to a player and a lodestone
3. Use the compass on the lodestone to create a lodestone compass
4. Throw Lodestone compass on the ground
5. Run /data modify entity @e[type=minecraft:item,limit=1] Item.tag.LodestonePos set from entity @s PosThe world will then freeze and crash, and provide a log similar to the one below.
Confirmed in 20w17a, but the game now also stops responding before crashing, instead of immediately closing (tested on both 20w16 and 20w17a, only the latest does this)
/item command removes LodestonePos NBT when attempting to replace either LodestonePos.X, Y or Z using the newitem modifiersLodestonePos NBT is removed if one uses item modifiers to edit i
LodestonePos NBT is removed if one uses item modifiers to edit i/item modify still plays the new item animation (hand bringing up the item) despite there being no new item
When using a datapack on the new snapshot, if you try to edit data within LodestonePos of a Lodestone Compass, then this will instead remove the entire LodestonePos NBT from the compass.
Steps to reproduce:
1. Create a new world in the snapshot.
2. Create a datapack which contains the item_modifier:[ { "function": "copy_nbt", "source": { "type": "storage", "source": "minecraft:coords" }, "ops": [ { "source": "X", "target": "LodestonePos.X", "op": "replace" } ] } ]3. Call this item modifier on a Lodestone Compass using
/item entity @s weapon.mainhand modify pathtomodifier:modifier4. Run:
/data get entity @s SelectedItemThe LodestonePos tag should have dissappeared.
An example json has been put below.
When editing an item with "/item entity @s weapon.mainhand" with any item_modifier, the player's hand will go through the picking up new item animation, despite no new item having been picked up. This is extremely annoying when it comes to immersion in datapacks, as it is quite jarring having the player seemingly pick up the same item over and over again every few seconds / however often the item will be updated. This can be annoying for compass tracking / waypoints creation, some kind of weapon enchantment randomizer, and various animations which are created through editing the texture values of the item.
Here is a link with a premade datapack:
LinkTo call the modifier in-game, use: "/item entity @s weapon.mainhand modify compass:compass"
Update: after more messing around this seems to be a bug which occurs when LodestoneTracked is set to 1. When it is set to 0 the command works perfectly - if I remember correctly, what should happen is that the compass starts spinning because no Lodestone is in that block, I don't remember it straight up deleting the tag...
When editing an item with "/item entity @s weapon.mainhand" with any item_modifier, the player's hand will go through the picking up new item animation, despite no new item having been picked up. This is extremely annoying when it comes to immersion in datapacks, as it is quite jarring having the player seemingly pick up the same item over and over again every few seconds / however often the item will be updated. This can be annoying for compass tracking / waypoints creation, some kind of weapon enchantment randomizer, and various animations which are created through editing the texture values of the item.
When editing an item with "/item entity @s weapon.mainhand" with any item_modifier, the player's hand will go through the picking up new item animation, despite no new item having been picked up. This is extremely annoying when it comes to immersion in datapacks, as it is quite jarring having the player seemingly pick up the same item over and over again every few seconds / however often the item will be updated. This can be annoying for compass tracking / waypoints creation, some kind of weapon enchantment randomizer, and various animations which are created through editing the texture values of the item.
Turns out the glitch is also audible - and is present with the loot replace command in 1.16.4 as well as the 1.17 item command - any time an item is replaced by itself with any of these commands, it also place the picking up sound, which in datapacks causes a loud buzz anytime someone is affected by the commands multiple times in a row, cpletely breaking the immersion of the game
/item modify still playsthe new item animation (hand bringing up the item) despite there being no new item/item modify and /loot replace still play the new item animation (hand bringing up the item) and the "thud" sound of receiving a new item despite there being no new item
Confirmed for 20w14infinite... but actually it is confirmed for 20w13
btw Nethonos thanks so much for confirming this each snapshot, it's really cool of you! (I hope someone decides to fix this soon though, it's a bit annoying of a bug...)
Of course, thank you very much! It makes it a lot clearer to read and test, so thanks for taking the time to do that.
Confirmed 20w18a
Have you considered it could be an optifine bug? Especially if you have shaders on, chunk borders do not work at all
Oh sorry, I've reported sometimes on bugs so I'm used to that, but I've never reported my own, so I did not realise I could edit that. Thanks for telling me, I'll make sure to do so if it appears in later versions!
Yay the bug is fixed!! Thank you so much Matthew Garland and Marcono1234 for taking care of this, it's super appreciated!!
Confirmed for 20w48a
By the way the attachment is a json I made for testing, so if you shove it in an empty datapack you can still quickly test for or look at the bug.
And... The glitch is even worse than I thought... I usually don't play with sound but when I did it made this aweful buzz each time someone held an item to be replaced, with both versions 1.16.4 and with the new item command in 1.17 snapshots
Also in 1.17.1... This gets really annoying on the server logs for sure, I keep on thinking the server is crashing on boot. As well as this, the weird entity tag starting dd12be always makes me think that there is some entity corruption or something... This really needs fixing for sure
I'm also having the exact same bug - it makes it impossible to manage multiple minecraft versions in different directories.