JustDogYT Posted May 12, 2021 Share Posted May 12, 2021 Is there a way to use set target to see if a mob is infront of you by 5 blocks like you left click there is a mob less that 5 blocks away then you target it Link to comment Share on other sites More sharing options...
Pocan Posted May 12, 2021 Share Posted May 12, 2021 You can do it like looping mobs radius x of player Link to comment Share on other sites More sharing options...
CoolProgrammer Posted May 12, 2021 Share Posted May 12, 2021 11 hours ago, JustDogYT said: Is there a way to use set target to see if a mob is infront of you by 5 blocks like you left click there is a mob less that 5 blocks away then you target it You can first check the target entity, and then find out the distance between this targeted entity and player. Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
JustDogYT Posted May 13, 2021 Author Share Posted May 13, 2021 10 hours ago, CoolProgrammer said: You can first check the target entity, and then find out the distance between this targeted entity and player. Can you give me an example? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now