I am trying to make a mod that will allow me to toggle though the 3 Particle options in minecraft. I have been playing with this for a good 4 - 5 hours now. I have got everything down along the lines of button presses and keybinds and things.
setOptionValue(GameSettings.Options.PARTICLES, 1);
^ i tried this but it just right out crashes and says the name can not be a null.
I have been into the GameSettings .java but the variable names are still looking silly.
Any help would be great. Thanks