Having Trouble with Limiting Nausea: Forge 1.20.1

Started by zyloyoutube on

Topic category: Advanced modding

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Having Trouble with Limiting Nausea: Forge 1.20.1

trying to limit the stretchy effect of nausea for a potion effect of mine, rather than fully remake it with a shader. 

i was having trouble sharing my code, so it is provided here: https://procedure-code.tiiny.site/

 

With that code, i was getting some errors that i shared here: https://ibb.co/tpbW1D27

 

Im sorry i wasnt able to share this right here, but i was having issues with the website. Does anyone have any ideas of how to make this better?

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plugins are not official…
Mon, 09/01/2025 - 22:35

Plugins are not official from Pylo, so they may contain bugs.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This code feels AI generated
Tue, 09/02/2025 - 07:31

This code feels AI generated

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something like this might…
Tue, 09/02/2025 - 07:38

Something like this might work, but changing setting is probably never a good idea. Remember to set it back to the original setting when the effect wears off,

Options options = Minecraft.getInstance().options;

OptionInstance<Double> screenEffectScale = options.screenEffectScale();
options.screenEffectScale().set(screenEffectScale.get() * 0.25);
Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hang on how does it feel ai…
Tue, 09/02/2025 - 21:07

hang on how does it feel ai generated?

 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The completely redundant…
Wed, 09/03/2025 - 06:24

The completely redundant comments and, I at least, couldn't find getNauseaStrength() anywhere