Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-169481

/function command can't find function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.15.1
    • None
    • Windows 10, Java-version(1.15.1),
    • Unconfirmed
    • (Unassigned)

      Hello,

      I've spent the last two days trying to fix an issue:

      let's say my new world on minecraft is called "bunny".
      then I'd like to create a new function called "feed" in a namespace called "carrot".

      According to this snapshot1 for the version 1.13, where the function commands were last changed, I must put the .mcfunction file to the folder .minecraft/saves/bunny/datapacks/carrot/data/carrot/functions/feed.mcfunction
      This will later be callable as carrot:feed

      when I excecute the command:

       

      /function carrot:feed

       

      I get the response 

      unknown function carrot:feed

      What am I doing wrong?
      Could anyone upload a world with a working function so it is clear how it all must be allocated?^

      Thanks for your help,
      Tim

       

      1)https://www.minecraft.net/en-us/article/minecraft-snapshot-17w43a

            Unassigned Unassigned
            tim.t Tim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: