What is 'displayname'?

Started by mrgwbland on

Topic category: Help with modding (Java Edition)

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is 'displayname'?

I want to make a sheep drop a specific item upon death, I have used a global trigger entity dies and used an if with if "get displayname of provided entity"="sheep" then drop the item but something isn't working. I think the sheep bit might be something else but I am not sure, thanks for any help!

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Display name is like player…
Fri, 03/13/2020 - 01:07

Display name is like player name, for mobs you need to use “is current entity entitySheep”

I can send you an example procedure if you want

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes please send working…
Fri, 03/13/2020 - 17:25

yes please send working example

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use this procedure block…
Sat, 03/14/2020 - 00:10

use this procedure block instead. it is in the workspace section

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you sir
Sat, 03/14/2020 - 00:31

Thank you sir

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it me or "Display Name"…
Tue, 07/07/2020 - 05:55

Is it me or "Display Name" of target/event entity is not working for player name ? :(((