mojira.dev
MC-124546

/datapack disable <pack> only works in the overworld

The bug

When disabling a datapack in the nether or the end, the datapack doesn't get disabled. This happens when you either change the execution dimension with execute in ... run datapack disable <pack> to the nether or the end, or if you're are already in one of those dimensions and run datapack disable <pack>

How to reproduce

  1. Open a world (which has the vanilla datapack enabled) and make sure you're in the overworld:

    /execute in the overworld run teleport @s 0 0 0
  2. Run either one of these commands and it will not disable the vanilla datapack:

    /execute in the_nether run datapack disable vanilla
    /execute in the_end run datapack disable vanilla
  3. Check what datapacks are enabled

    /datapack list

    → as you can see, the vanilla datapack is still enabled

  4. Teleport to the nether or the end

    /execute in the_nether run teleport @s 0 0 0
    /execute in the_end run teleport @s 0 0 0
  5. Disable the datapack

    /datapack disable vanilla
  6. List all the datapacks

    /datapack list

    → the vanilla datapack is still enabled

Comments 3

It seems as though it is disabled, then instantly re-enabled.

Also I can confirm it affects user data packs as well as vanilla.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

AlexMCool

boq

Confirmed

/datapack

Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w07b, , Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4

Minecraft 1.13-pre5

Retrieved