How to check for Players render distance?

Started by Leobaker on

Topic category: Help with modding (Java Edition)

Last seen on 16:04, 16. Apr 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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