Mojira Archive
MC-151339

Data packs load extension-only files

What I expected to happen was...:
Files with no name, only an extension, fail to load.
 
What actually happened was...:
Instead, they load with IDs such as foo: and foo:bar/
 
Steps to Reproduce: # Create or download a datapack with the following functions:

    1. data/foo/functions/.mcfunction
    2. data/foo/functions/bar/.mcfunction
  1. Load the datapack, noting the number of functions includes those nameless files.
  2. Note that you can run the following commands:
    1. /function foo:
    2. /function foo:bar/

I acknowledge it's possible this is intended, but it seems too weird and unexpected.

Unresolved

Timothy Southwick

2019-05-09, 06:03 PM

2024-10-12, 03:37 PM

1

3

Confirmed

Data Packs

Minecraft 1.14 - 1.21.2 Pre-Release 3Minecraft 1.14, 1.16.1, 20w29a, 1.16.2 Pre-release 2, 1.21.1, 1.21.2 Pre-Release 3

-