Beneficial effects

Resistance

Resistance is recorded as a beneficial status effect in the current Java and Bedrock Edition datasets.

Resistance — representative authorized Minecraft assetResistance
Image source: Minecraft Wiki
Effect ID
minecraft:resistance
Edition
Java & Bedrock
Java numeric ID
10
Bedrock numeric ID
11
Type
good
Category
Beneficial effects

How the effect is applied

Resistance is classified as a good effect. Duration, amplifier behavior, particles and sources depend on the command, potion, beacon, mob or game event that applies it.

Command

/effect give @p minecraft:resistance 60 0
/effect give
Applies a status effect to a target.
@p
The nearest player to where the command runs.
minecraft:resistance
The namespaced identifier for Resistance.
60
The duration in seconds.
0
The zero-based amplifier; 0 means effect level I.

This example applies level I for 60 seconds. Instant effects and non-command sources can behave differently.

Related content