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

Commands that affect the player have no effect if run from a command block while the player is teleported to another dimension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 24w34a
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      I realized by accident, entering a Nether portal at the same time a /kill command is run lets you survive. The death message still shows in the chat. This also works with certain other commands such as /gamemode, it says the game mode has been changed but nothing happens.

      Steps to Reproduce:

      1. Be in Creative mode to make it easier (same thing happens in survival though)
      2. Set up a command block with the command /kill (your name)
      3. Set up a few repeaters in front of it for a delay. 
      4. Activate the first repeater with a redstone torch, and walk into the nether portal right before the last repeater turns on.

      Observed Results:
      You will see in chat, the text "Killed (your name)" but you will not die.

      Expected Results:
      You die because the command to kill you was activated

       

       

       

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

              Created:
              Updated:
              CHK: