Mojira Archive
MC-78716

Summoned entities have invalid / wrong dimension tag

The "Dimension" tag of a summoned entity will always default to 0, no matter which dimension the entity was summoned into. The tag is not updated until the entity changes dimensions, such as travelling through a portal.

Steps to reproduce:

  1. Go to the nether.
  2. Spawn a cow using a spawn egg
  3. Run
    /testfor @e[type=Cow] {Dimension:-1}
    • The result in the chat window will be "Found Cow"
  4. Kill the cow
  5. Summon a cow using /summon Cow
  6. Run the same testfor command again
    • The result in chat will be "Cow did not match the required data structure"

Fixed

KingSupernova

2015-03-15, 05:40 PM

2015-09-11, 09:52 AM

2015-09-11, 09:52 AM

1

2

Confirmed

/summon, dataTag

Minecraft 1.8.3

Minecraft 15w36d