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

/function not working... at all

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12 Pre-Release 5
    • None
    • Windows 7 unknown java verson
    • Unconfirmed

      Function command dosn't work

      so what i thought would work is a function to put barriers in all the slots except the hot-bar

      what managed to happen was it giving an error that it wasn't found

      steps i took was 1.make a function the specific function was this
      #barrier

      /replaceitem enetity @a slot.invotory.9 barrier
      /replaceitem enetity @a slot.invotory.10 barrier
      /replaceitem enetity @a slot.invotory.11 barrier
      /replaceitem enetity @a slot.invotory.12 barrier
      /replaceitem enetity @a slot.invotory.13 barrier
      /replaceitem enetity @a slot.invotory.14 barrier
      /replaceitem enetity @a slot.invotory.15 barrier
      /replaceitem enetity @a slot.invotory.16 barrier
      /replaceitem enetity @a slot.invotory.17 barrier
      /replaceitem enetity @a slot.invotory.18 barrier
      /replaceitem enetity @a slot.invotory.19 barrier
      /replaceitem enetity @a slot.invotory.20 barrier
      /replaceitem enetity @a slot.invotory.21 barrier
      /replaceitem enetity @a slot.invotory.22 barrier
      /replaceitem enetity @a slot.invotory.23 barrier
      /replaceitem enetity @a slot.invotory.24 barrier
      /replaceitem enetity @a slot.invotory.25 barrier
      /replaceitem enetity @a slot.invotory.26 barrier
      /replaceitem enetity @a slot.invotory.27 barrier
      /replaceitem enetity @a slot.invotory.28 barrier
      /replaceitem enetity @a slot.invotory.29 barrier
      /replaceitem enetity @a slot.invotory.30 barrier
      /replaceitem enetity @a slot.invotory.31 barrier
      /replaceitem enetity @a slot.invotory.32 barrier
      /replaceitem enetity @a slot.invotory.33 barrier
      /replaceitem enetity @a slot.invotory.34 barrier
      /replaceitem enetity @a slot.invotory.35 barrier

      the second thing i did was save it in the functions folder in the data folder of the world i was put it in a folder i made named "survival" (its not a zip folder) inside the functions folder inside the data folder and named my function command barrior.mcfunction

      the third thing i did was type /reload then i typed /function survival:barrior

      it came up with an error saying that there was no function so i went off my world came back on it did the same i as well typed /function survival:barrior.mcfunction and still nothing worked

      if this is not a bug but something i did wrong then please tell me.

        1. 1.png
          1.png
          247 kB
        2. 2.PNG
          2.PNG
          368 kB

            Unassigned Unassigned
            TheZoruaBitGamer Josh Kleiser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: