Started by
BittleLit
on
Topic category: Feature requests and ideas for MCreator
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:
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)
Ah i found the solution to my problem thanks to this twitter page. Though this block would be really useful.
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.
Nevermind I found a solution
Hello! What solution have you found, MathCraft44?
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 ;(
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