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

Player owned projectiles lose their player ownership when exiting portals

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w41a
    • Minecraft 1.7.5, Minecraft 16w38a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w17b, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w48a, Minecraft 18w03b, Minecraft 18w16a, Minecraft 1.13.1, Minecraft 1.14 Pre-Release 3, 1.15 Pre-release 6, 1.15.2, 20w06a, 1.16.5, 1.18.2, 22w15a, 1.19.3, 1.19.4
    • Community Consensus
    • Player, Projectiles
    • Low

      When players send projects through portals that are tagged as coming from a player, they lose that player tag once they leave the other side of the portal.

      This affects Nether portals and End portals.
      End gateways work as we would expect them to. (fishing rod bobber still doesn't go through gateways)

      Entities that have player tags (remind me if I have over looked any)
      Arrow, potion, snowball, egg, enderpearl, fishing rod bobber, TNT

      What should happen is that when the player tag entity leave a portal it should keep the tag from which player it came from so that if it kills a player or mob on the other side of the portal it is registered as a player kill.

      This causes arrows shot by a player through a portal to kill a player on the other side despite PVP being disabled on the server config.

      Original Post

      What I expected to happen was the arrows would just look cool

      What actually happened was the arrows shot through the portal set the other player on fire

      Steps to Reproduce:
      1. Shoot a arrow through a portal whilst pvp is off, (which is possible to do in a vanilla servers config) at another player who is on the other side of the portal

            Dat12 [Mojang] etanaratsastaja
            Rays Ray
            Votes:
            52 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: