Clear a mob's display name

Started by CyberTuttel on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Clear a mob's display name

I'm making a ranged item that can rename a mob it hits to "Dinnerbone", turning it upside down for a short period. After that period of time, I want it to revert back to being unnamed. However, when I use the procedure Set display name to "" (No spaces), it leaves the display name as a space (" ") in-game. Is there a way to just completely clear its name?