NeoForge
NeoForge copied to clipboard
[1.20.5] `minecraft:stored_enchantments` item subpredicate does not function
Minecraft Version: 1.20.5
NeoForge Version: 20.5.20-beta
Logs: https://mclo.gs/bjV9DXR
Steps to Reproduce:
- Download this datapack.
- Put it in your world folder.
- Give yourself an Aqua Affinity enchanted book.
- Run the command
/item modify entity @s weapon.mainhand test:oops
. - It does not work on NeoForge, but works on vanilla.
Description of issue:
The minecraft:stored_enchantments
item subpredicate does not function properly. This is because there is no component check to make sure that the enchantments specified are base enchantments before applying the NeoForge enchantment changes.
Vanilla Instance:
NeoForge Instance:
The datapack download link does not seem to be working for me
Alright, I'll send a better link over.
https://wormhole.app/xEkAx#u-J2X6NuMZ_l3RTrxW3AMA. This will only last for 24h as of sending.
Ok got the datapack. Posting it here directly so it stays forever for future testing purposes. With github, you can upload up to 10mb files here without needing external links