How to check for Players render distance?

Started by Leobaker on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Nov 2023
Points:
196

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 38
How to check for Players render distance?

Working on a Herobrine mod thats accurate to the creepypasta, so far i got him following, and watching the player properly

Now i need to make it so He can ONLY Spawn if the render distance is at 2 (am using some else other then the spawning properites to spawn him btw for more control, so am not fully limited by whatever that has, BUT i am using the Fabric Plugin which does have some limits for specifice global events)

 

 

so, How would i make it so He'll only appear if the render distance is 2, and disappear as soon as its above 2