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

Levels/XP aren't showed after being teleported from another dimension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15 Pre-release 4
    • None
    • Unconfirmed
    • (Unassigned)

      Description

      When you're in a dimension (Nether or End) and you're teleported by a command block in the overworld, you won't see your experience bar filled anymore. Your levels aren't displayed neither. You need to deconnect/reconnect (or quit/join the world again in single player) to display them again.

       

      How to reproduce

      1. Set a Command Block on "Repeat / Always active" mode on the chunk of the spawnpoint of the overworld, when fill it with this command :

      execute as @a if data entity @s ActiveEffects[{Id:8b,Amplifier:3b}] run tp @s ~ ~1 ~
      

      2. Create a Nether portal and go to the Nether.

      3. Give yourself some xp points and a potion that will apply the effect needed to be teleported back :

      /xp add @p 200
      
      /give @p minecraft:potion{CustomPotionEffects:[{Id:8,Amplifier:3,Duration:1}]}
      

      4. Drink the potion to be teleported.

       

      Obviously, there's no screenshot I can sent to you.

       

            Unassigned Unassigned
            Nokaaj N.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: