Commands cannot effect an entity's custom name
Entity names cannot be created or modified using the /summon or /data commands. The command returns "Unable to summon entity" or "An unexpected error occurred trying to execute that command"
How to reproduce:
Attempt to summon an entity using
/summon bat ~ ~ ~ {CustomName:"Gun",NoAI:1b,Silent:1b}
Attempt to rename an entity using
/data merge entity @e[type=bat,limit=1] {CustomName:"Gun"}
2018-01-18, 07:48 PM
2018-02-09, 05:15 AM
2018-02-09, 05:15 AM
0
0
-