#Hello i need some help understanding why i cant get the datapacks to work in my game

1 messages · Page 1 of 1 (latest)

pale urchin
#

i can make a simple function say hello and it works but when i start adding tick logic it breaks? can someone help me

lapis willow
#

Show your work

pale urchin
#

?

lapis willow
#

No, just show the function that doesn't work

pale urchin
#

no its not that it doesnt work

#

i only have 1 function

#

look

#

execute as @a[tag=!Njoined] run function toolbox:welcome

#

tick.mcfunction

#

title @s title {"text":"Welcome","color":"gold","bold":true}
title @s subtitle {"text":"@s","color":"yellow"}
tag @s add Njoined

welcome.mcfunction

#

its in the functions folder

#

.minecraft\saves\World Craft\datapacks\WorldCraft\data\toolbox\functions

#

.minecraft\saves\World Craft\datapacks\WorldCraft\data\minecraft\tags\functions

lapis willow
#

If it isn't that it doesn't work, what's the problem...?

pale urchin
#

i load the datapack and it doesnt work

lapis willow
#

...

#

So the problem is not that it doesn't work, but actually that it doesn't work...?

pale urchin
#

i do a simple function say hello

#

i reload

#

and do /function toolbox:welcome

#

it says hello

#

when i chnage it and then reload it breaks

lapis willow
#

None of this is new information dude.

#

It's all in your opening message

#

I am confused and frustrated because I said to show the function that doesn't work, and you said the problem is not that it doesn't work

#

But you're describing it not working

#

Do you understand?

pale urchin
#

yes i understand and im also confused

#

ok to make it more clear

lapis willow
#

No

#

Stop

pale urchin
#

the datapack is enabled and active but i cant manually run the function

#

make scense

lapis willow
lapis willow
#

Great.

pale urchin
#

im makeing the datapck for fabric 1.21.1

lapis willow
#

Great, that was my next question

#

Your issue is the folder is misnamed

pale urchin
#

can i send you the datapack and you can test it out

rugged gyroBOT
pale urchin
#

wait but so it broke cuz it was functions not function

#

ok ok thank you soo much @lapis willow