2

Function is not showing up

AggelMast 4/10/23 11:56 am
256
4/11/2023 8:30 am
I wanted to make a function to be executed when a player dies but It doesn't show up as a function...
I tried to make a test function with just "time set day" and it recognised it along with my other prexisting ones.
Why doesn'tit recognise that particular one?

here is the file:
https://www.mediafire.com/file/95ubm2160s3dfed/somethingdata.zip/file
Posted by
AggelMast
Level 34 : Artisan Artist Engineer
9

  Have something to say?

JoinSign in

4

imk
04/11/2023 8:30 am
Level 38 : Artisan Pirate
you need datapacks name include datapack word
1
Kefaku
04/10/2023 4:33 pm
Level 45 : Master Nerd
I don't know if there are multiple problems, but the problem I saw was:

gamemode @a adventure

The target needs to be after the gamemode:

gamemode adventure @a
2
AggelMast
04/10/2023 4:53 pm
Level 34 : Artisan Artist Engineer
Thank you I had spent too much time trying to find the issue XD. Its very embarassing that I didn't notice... Now I know at least that the functions dont show up if something is written wrong!
So again thank you for your time! :)
2
Kefaku
04/10/2023 5:01 pm
Level 45 : Master Nerd
np, if you encounter any more problems, feel free to ask.
You might also want to look at the Minecraft output log, that usually mentions why a function failed to load.
2

Welcome