Entity Procedure Block: Find Player/Entity of name (String)

Started by BittleLit on

Topic category: Feature requests and ideas for MCreator

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Procedure Block: Find Player/Entity of name (String)

So there's a module that requests an entity's global variable, though it can have only the "Event/target entity" procedure block. It would be great if this procedure block existed:

Find Player/Entity with display number (text)

 

 

 

 

I mean I was making a mod that would make people have money in almost the same way as in reality, and I wanted to make a function to get the amount of money a person has. (not the player requesting that)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah i found the solution to…
Tue, 12/28/2021 - 13:01

Ah i found the solution to my problem thanks to this twitter page. Though this block would be really useful.

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, how you'been to get…
Tue, 02/13/2024 - 10:13

Hello, how you'been to get an entity thanks to name? Look I have a GUI that inputs a player's name and I want to know how to do things to the player thanks to the text input, if you could help mewith it thank you.

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind I found a solution
Tue, 02/13/2024 - 15:20

Nevermind I found a solution

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! What solution have…
Wed, 02/14/2024 - 14:47

Hello! What solution have you found, MathCraft44?

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This solution but it only…
Thu, 02/15/2024 - 09:14

This solution but it only works for players that are on the same computers, (for example if you lanch two minecraft with different accounts) bc I think than the dev said the textfield was client-side only,

also when I tried this on two differents computers, the PC1 take the input from the PC2 if it's non empty and vice versa so I don't think we'll get a such block or a such way to target other player on a server sadly ;(

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But I think than if you…
Thu, 02/15/2024 - 09:15

But I think than if you replace the "for each player" with the "for each entity" block it works fine to target entity by their names or UUID or something other