Posted February 16, 20241 yr Hello forgers, Can someone help me with with player detection functionality. I want the client to check if there is a player within 10 chunks of my character (same chunk included). So i need a way to constantly check if there is a player nearby. Maybe using the onClientTick event but i don't know what to use to achieve that. I've made mods back in forge 1.8 and a lot of things have changed since. Some methods got removed and some got changed. Any help is appreciated. Thank you!
February 18, 20241 yr On 2/16/2024 at 1:53 PM, RoyMods said: Hello forgers, Can someone help me with with player detection functionality. I want the client to check if there is a player within 10 chunks of my character (same chunk included). So i need a way to constantly check if there is a player nearby. Maybe using the onClientTick event but i don't know what to use to achieve that. I've made mods back in forge 1.8 and a lot of things have changed since. Some methods got removed and some got changed. Any help is appreciated. Thank you! I have something similar in my mod, what do you wanna do if there is a player within this radius?
February 20, 20241 yr Author On 2/18/2024 at 2:50 AM, SwimmingTuna said: I have something similar in my mod, what do you wanna do if there is a player within this radius? I have found a solution. Thank you though!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.