-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 18w01a
-
None
-
Unconfirmed
Otherwise known as "Unable to replace vanilla data 2: Electric Boogaloo"
The bug:
When using /datapack enable and disable in the same function, things can get odd.
This error was found when attempting to make a function that automatically orders a data pack first.
Inside that function:
datapack disable "file/bug_pack" datapack enable "file/bug_pack" first
As you can see, the first thing is disabling the data pack that contains the function. Then, it enables the same function again, and nothing should be changed but the order of the data pack in the list.
Except the game forgets how to replace vanilla loot tables, and recipes.
To reproduce:
- Download the data pack below and install it.
- Look at the bucket crafting recipe and see that is is now made of gold.
- Run the function /function test:run
-> Observe that the same bucket recipe is no longer gold.