Started by
SomeoneElse4202
on
Topic category: Help with Minecraft modding (Java Edition)
So I want to make a block, that locates the nearest player by shooting a harmless beam in a certain radius every couple seconds. I also wanted to make a second version of it that outputs a redstone signal whenever it finds a player.
Could somebody please help me do it?
Use the if entity exist in a ____ cube block. The bigger the number the further it will detect them from. I think you can also set a redstone signal on the sides if it is found. Let me know if you need more help.
I do indeed need further help. How do I shoot a harmless beam at the player that goes through walls?
You would have to make it do no damage, and when it hits a block spawn one on the other side of it. Why do you want to shoot a beam? You could just use the locate.