Started by
_.kolby._
on
Topic category: Help with Minecraft modding (Java Edition)
I want an effect that simply does the opposite of water breathing and makes you drown faster than normal
Topic category: Help with Minecraft modding (Java Edition)
I want an effect that simply does the opposite of water breathing and makes you drown faster than normal
In the potion effect tick procedure, have a set oxygen of entity to get oxygen of entity -2(have this higher for faster drowning, you can also have it be the amp of the potion effect +1 for it get get faster based on the level of the potion) reminder that oxygen for the player is maxed at 300, so each bubble on the hud is about 30 oxygen value and 300 means full oxygen meter.
THATS ACTUALLY REALLY HELPFUL THANK YOUUU