Resistance

Resistance is a status effect that reduces incoming damage.
== Effect ==
Resistance reduces incoming damage by 20% × level from all sources except for starvation, the void, , and explosions with extreme power values (negative values (128 to 255 (mod 256) or -128 to -1 (mod 256)) stored in an NBT, see entity format) such as creepers and ghast fireballs.
Resistance is applied only to the remaining damage after all other damage reductions (armor and enchantments), but before rounding down to a whole number. This means any equipped armor pieces still loses the usual amount of durability, even at level 5+ where the potion effect grants complete immunity to most sources.
== Causes ==
Cause 	Potency	Length 	Notes
set to Resistance 	I 	0:08 – 0:17	Replenishes when in range. Requires beacon pyramid level 2.
set to Resistance II	II 	0:17 	Replenishes when in range. Requires beacon pyramid level 4.
 	I 	5:00 	
 	III 	0:20 	
(extended) 	III 	0:40 	
II 	IV 	0:20 	
 	III 	0:20 0:15 	
(extended) 	III 	0:40 0:30 	
II 	IV 	0:20 0:15 	
 	III 	0:05 	
(extended) 	III 	0:10 	
II 	IV 	0:05 	
 	III 	0:02 	
(extended) 	III 	0:05 	
II 	IV 	0:02 	
== Immune mobs ==
Withers and ender dragons are immune to Resistance; it grants no benefit to them.
== Notes ==
* Level 5+ gives the player or mob full immunity to all damage, with the exceptions mentioned earlier.
== Data values ==
=== ID ===
:
:
== Advancements ==
== History ==
 
== Issues ==
ja:耐性
pt:Resistência
zh:抗性提升