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

Some Functions do not work.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12.2
    • None
    • Windows 10 / Java Version 8 Update 101 (build 1.8.0_101-b13) / Vanilla Single Player
    • Unconfirmed

      After searching for a solution to my issue and not finding anything on it, figured it was time to make a report.

      I created a function in the file location: "Kingdom/Minecraft/world/data/functions/test/brown_cow.mcfunction"

      The contents are as follows:

      say How
      say Now
      say Brown
      say Cow
      

      I reloaded the game and ran it successfully using the "/function test:brown_cow" command.

      I tried creating a serious function after testing the above one successfully under the following path:
      "Kingdom/Minecraft/world/data/functions/tracker/time.mcfunction"

      The contents are as follows:

      scoreboard players add @a[score_ticks_min=1200] Minutes 1
      
      scoreboard players remove @a[score_ticks_min=1200] ticks 1200
      
      scoreboard players add @a[score_Minutes_min=60] Hours 1
      
      scoreboard players remove @a[score_Minutes_min=60] Minutes 60
      
      scoreboard players add @a[score_Hours_min=24] Days 1
      
      scoreboard players remove @a[score_Hours_min=24] Hours 24
      
      scoreboard players add @a[score_Days_min=30] Months 1
      
      scoreboard players remove @a[score_Days_min=30] Days 30
      
      scoreboard players add @a[score_Months_min=12] Years 1
      
      scoreboard players remove @a[score_Months_min=12] Months 12

      I reloaded the game and tried running it using the "/function tracker:time" command.
      All I get when trying to run this new function is "Unknown function 'tracker:time'"

      I created both functions using the same methodology. One worked, the other did not. Why is this?

        1. 2017-11-30_14.09.02.png
          2017-11-30_14.09.02.png
          4.11 MB
        2. help.png
          help.png
          322 kB
        3. hmmmm.png
          hmmmm.png
          70 kB
        4. thisworks.png
          thisworks.png
          70 kB
        5. time.mcfunction
          0.6 kB
        6. time.MCFUNCTION
          0.6 kB

            Unassigned Unassigned
            I3ladeDragon Nikolas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: