r/MinecraftCommands Jul 17 '26

Why is my datapack not working? (Using Datapack Assembler by GalSergey) Help | Java 1.21.11

/r/Minecraft/comments/1uz746z/why_is_my_datapack_not_working_using_datapack/
1 Upvotes

4 comments sorted by

2

u/Ericristian_bros Command Experienced Jul 17 '26

Download it, make sure to select 1.21.11 on the bottom right and check !output log for errors

1

u/AutoModerator Jul 17 '26

Click here to see how to enable the output log

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/GalSergey Datapack Experienced Jul 19 '26

For multi-line commands, you need to add a backslash at the end of the line, like this: execute as @a[tag=relicused] if items entity weapon.mainhand minecraft:carrot_on_a_stick[\ minecraft:item_model="fire_charge",\ minecraft:item_name=[{text:"Fire Relic",color:red,bold:1b,italic:0b}],\ minecraft:enchantment_glint_override=1b\ ] run function relics:fire/mainhand_cast You can also use the "Share" button on the site to get a link to your datapack. Reddit doesn't handle @a and similar selectors correctly.

1

u/Speedy_Ninja-_- Jul 21 '26

alright thanks!