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

Inventory effect bars hide for active ones after /execute in <> run tp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1, 23w33a
    • None
    • Unconfirmed
    • (Unassigned)

      If a player has effects, he/she should see them in the inventory and (optionally) in the right upper corner. After teleporting in other dimension with "/execute in <dimension> run tp <arguments>", there are no effects to see in the inventory (right upper corner). Although, the effects are still there. This can be proven with "/data get entity @s ActiveEffects" and by seeing the effect particles around the player. New effects (applying after /tp) work fine as well as clearing and applying the old ones.

       

      What I expect:
      See active effects in my inventory.

      What happens:
      I see no active effects in my inventory.

      How to reproduce:
      1) Join any world or server (where you are opped);
      2) Apply any effect(s) to yourself with vanilla potions or "/effect give" command (mind the duration, as it should be longer, than the time you need to tp);
      3) Teleport to any other dimension with "/execute in" command. If you are in overworld, then try "/execute in the_nether run tp ~ ~ ~"

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

              Created:
              Updated:
              Resolved: