Giving the player a status effect without it showing

Started by JustyZ on

Topic category: Help with modding (Java Edition)

Last seen on 12:34, 3. Nov 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Giving the player a status effect without it showing

I'm making a mod where when you go in the water you get night vision and can breathe underwater and can swim faster.

I want to know if it is possible to give the player night vision, water breathing and dolphin's grace without those effects showing in the inventory/hud? Or make those effects in procedures?

Last seen on 12:34, 3. Nov 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much! I thought…
Wed, 09/01/2021 - 15:13

Thank you so much! I thought it only disabled those bubbles that come out of you.