Minecraft Java Effect ID

Hunger Effect ID (minecraft:hunger)

Hunger is a harmful (negative) status effect in Minecraft Java Edition 1.21.

Namespaced effect ID minecraft:hunger

Hunger Effect Facts

CategoryHarmful
Legacy ID (1.12.2)17

/effect Command for Hunger

Give Hunger II for 60 seconds (Java Edition 1.13+; duration in seconds, then amplifier where 0 = level I):

/effect give @p minecraft:hunger 60 1

Remove the effect from the nearest player:

/effect clear @p minecraft:hunger

Hunger Effect FAQ

What is the effect ID for Hunger?

The effect ID for Hunger is minecraft:hunger. Java Edition 1.13+ /effect commands use this namespaced form. On Java 1.12.2 and earlier the numerical ID was 17.

How do I give myself the Hunger effect?

Run /effect give @p minecraft:hunger 60 1 to get Hunger II for 60 seconds. The first number is the duration in seconds; the second is the amplifier (0 = level I, 1 = level II). Remove it with /effect clear @p minecraft:hunger.

Is Hunger a positive or negative effect?

Hunger is a harmful (negative) status effect in Minecraft Java Edition, based on its registry category (harmful).

Related effects and lists