What is 'displayname'?

Started by mrgwbland on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 months ago
Joined Oct 2018
Points:
837

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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!

Active 8 months ago
Joined Jun 2019
Points:
2791

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3704
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

Active 6 months ago
Joined Oct 2018
Points:
837

User statistics:

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

yes please send working example

Active 8 months ago
Joined Jun 2019
Points:
2791

User statistics:

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

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

Active 6 months ago
Joined Oct 2018
Points:
837

User statistics:

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

Thank you sir

Active 2 years ago
Joined Jun 2017
Points:
900

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 167
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 ? :(((