Datapack 1.21.1 loot_tabel
I brought a datapack from 1.20.4 to 1.21.1 and now have a problem with my loot table
Failed to load function test:main
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 9: Failed to parse structure: Failed to get element ResourceKey[minecraft:loot_table / pillar_game:item/normal_items] at position 165: ...rmal_items<--[HERE]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 9: Failed to parse structure: Failed to get element ResourceKey[minecraft:loot_table / pillar_game:item/normal_items] at position 165: ...rmal_items<--[HERE]
at net.minecraft.commands.functions.CommandFunction.fromLines(CommandFunction.java:86) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
at net.minecraft.server.ServerFunctionLibrary.lambda$reload$2(ServerFunctionLibrary.java:97) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 3 more
[23:15:22 ERROR]: Couldn't load tag minecraft:tick as it is missing following references: test:main (from file/1.21.1.zip)
Continue to help post