How do i make my mod change/manipulate the game settings of a player

Started by eeScore on

Topic category: Help with modding (Java Edition)

Last seen on 12:31, 13. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make my mod change/manipulate the game settings of a player

im making a horror mod and i want the players chunk render distance thing be locked at 2

if somebody knows how to do this please tell me

Last seen on 02:33, 27. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...To the best of my…
Thu, 02/08/2024 - 15:06

...To the best of my knowledge, not possible- definitely not using MCreator's built in tools. There might be a way to do this with custom code, but I'm pretty sure the settings are kind of off limits when it comes to modding.

Last seen on 19:14, 20. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wouldn't advise changing…
Thu, 02/08/2024 - 15:08

I wouldn't advise changing the render distance. It's very intrusive and can cause problems if you're using shaders. I'd recommend using fog instead.