mojira.dev
MC-212446

Wandering traders have unused Age and ForcedAge tags

Wandering Traders have unused Age and ForcedAge tags. Most likely because their model, texture, and NBT data was copied from villagers. Side note: these tags are always valued at 0. If you change them, they instantly change back to 0. Why have these tags if: first off, there's no such thing as a baby wandering trader. Secondly, they are reset to 0 every tick, causing minor(depending on how many you spawned) performance issues.

Comments 8

Here are some steps to reproduce this issue:

Steps to Reproduce:

  • Summon a wandering trader through the use of a spawn egg or /summon.

  • Run the following commands:

/data get entity @e[type=minecraft:wandering_trader,sort=nearest,limit=1] Age
/data get entity @e[type=minecraft:wandering_trader,sort=nearest,limit=1] ForcedAge

→ ❌  Notice how both of these commands return a value of 0, despite these tags being unused.

Can confirm in 21w15a.

Can confirm in 1.19.3 and 23w03a

Confirmed for 1.19.4, seeing as the reporter hasn't done anything to this report since 2021, I'd like to request ownership of this report.

Confirmed for 1.19.4, seeing as the reporter hasn't done anything to this report since 2021, I'd like to request ownership of this report.

Bobby N.

user-f2760

(Unassigned)

Confirmed

Mob behaviour, Save Data

nbt-tags, wandering_trader

21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, ..., 23w03a, 1.19.4, 1.20.1, 1.20.2, 23w43b

Retrieved