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

Functions, advancements and loot tables allow other filetypes than .mcfunction and .json

    XMLWordPrintable

Details

    • Confirmed

    Description

      I tried naming a function test.txt by forgetting to add the .mcfunction at the end, but the game still noticed the file. And because "txt" is 7 characters less than "mcfunction", the function name was cut off so it tried to load a function with a name length of less than 0 which caused an error.

      Attachments

        Issue Links

          Activity

            People

              dinnerbone [Mojang] Nathan Adams
              chokoboy3 Myldero
              Votes:
              12 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: