Mojira Archive
MC-168976

Spawner with invalid entity data spams log

The bug

A mob spawner with invalid entity data spams the log:

Failed to parse entity custom name [{malformed}]
...

Expected would be that the spawner refuses invalid spawn data on creation / update or that the warning is only logged once.

How to reproduce

/setblock ~ ~ ~ spawner{SpawnData:{entity:{id:"minecraft:armor_stand",CustomName:"[{malformed}]"}},MinSpawnDelay:5s,MaxSpawnDelay:5s,SpawnCount:1s}

The log is spammed with the warning.

Do not forget to break the spawner afterwards again.

Unresolved

Marcono1234

2019-12-28, 12:30 AM

2023-10-26, 08:34 PM

8

6

Confirmed

Low

Platform

Commands

1.15.1 - 23w43a1.15.1, 20w51a, 21w03a, 1.18.2, 22w12a, 22w18a, 1.19, 23w43a

-