Skip to content
[/craft]

Resistance Effect Command

Copy the /effect command for Resistance in Minecraft Java 26.2 and Bedrock 26.32. Default, infinite-duration, amplifier variants, and the clear command are all below.

Infinite duration (Java)

Java/effect give @p minecraft:resistance infinite

The infinite keyword was added in Java 1.19.4. Use the legacy form below for older versions.

Max-duration / legacy (Java)

Java/effect give @p minecraft:resistance 1000000 0
Bedrock/effect @p resistance 9999 0

Resistance II (Amplifier 1)

Amplifier is 0-indexed in commands: amplifier 0 = Level I, amplifier 1 = Level II.

Java/effect give @p minecraft:resistance 1000000 1
Bedrock/effect @p resistance 9999 1

Clear Resistance

Java/effect clear @p minecraft:resistance
Bedrock/effect @p resistance 0

To clear all effects at once: /effect clear @p

What Resistance does in-game

Reduces all incoming damage by 20% per level (capped at 80% at level IV). At Resistance V (Amplifier 4) you become immune to most damage sources.

Frequently asked questions

What does Resistance do in Minecraft?
Reduces all incoming damage by 20% per level (capped at 80% at level IV). At Resistance V (Amplifier 4) you become immune to most damage sources.
How long does Resistance last with the infinite command?
On Java Edition, the 'infinite' keyword makes the effect last until you manually clear it with /effect clear. On Bedrock, the maximum you can specify is 1,000,000 ticks (about 13.8 hours).
Does the Resistance command work in Bedrock Edition?
Yes — use the Bedrock command shown above. Bedrock syntax omits the 'give' subcommand and 'minecraft:' namespace prefix, and does not support the 'infinite' keyword.
Browse all Effect commands →/effect builder →Java vs Bedrock guide →