mojira.dev
MC-226630

Water Breathing Icon Not Shown Out of Inventory

I used a command block to give myself water breathing. I clicked the button and it didn't appear in the top right. I was in survival mode, and when I went into my inventory the icon was there, just not out of my inventory. I did still have the effect, though. The command I used was: /effect give @p minecraft:water_breathing 999999 99 true. Probably because hideparticles was on true.

Attachments

Comments 2

Could you please provide the command that you used? There can be a tag on that command tht disables all particles, also the display at the top of your screen.

Hello there!

After testing around I found out this is indeed caused by the fact that you hid the particles. This most likely works as intended.
Commands:

Without particles: /effect give @s minecraft:water_breathing 10 1 true

With particles: /effect give @s minecraft:water_breathing 10 1

 

Kyle

(Unassigned)

Unconfirmed

(Unassigned)

1.17 Pre-release 1

Retrieved