Shield

Shields are tools used for protecting the player against attacks.

Repairing
Shields may also be repaired on an anvil by using planks. Shields repaired on anvils will retain their pattern.

Trading
Journeyman-level Armorer villagers have a $1/3$ chance to sell a shield for 5 emeralds.

Defense
Shields are used for blocking incoming attacks. one causes the player to slow to a sneaking pace, and after five ticks (0.25 seconds), blockable attacks coming from in front of the player will be negated, dealing no damage. When the shield blocks an attack which is or stronger, it takes damage equal to the strength of the attack (rounded down) plus 1. Most non-damage effects of ranged attacks (such as being set on fire by a fireball, or poisoned by a poisonous arrow) are prevented, while being set on fire by a flaming arrow is not. Knockback from both melee attacks and projectiles is entirely nullified, while knockback from explosions is reduced to one block or less. When a melee attack is blocked, the attacker will be knocked back slightly, one block away.

The shield blocks any directional attacks coming from up to (but not including) 90° away from the horizontal direction the player is facing, i.e. it covers almost a full hemisphere in front of the player. The player's vertical rotation normally makes no difference to the direction of blocked attacks, however, a player facing straight up or straight down might be unable to block attacks from any direction. Similarly, an attack coming from directly above or directly below cannot be blocked as it has no horizontal direction.

Blockable attacks include mob/player melee attacks, arrows, fireballs, thrown items such as tridents and snowballs (all non-magical projectiles), damage from Thorns (also includes spines of pufferfish), and some explosions (e.g. creeper explosions or TNT ignited by another player are blockable, but not TNT ignited by yourself or by a redstone mechanism). Shields do not block guardian/elder guardian lasers, and like armor, any other magical damage.

If attacked by an axe, use of the shield has a chance to be disabled for 5 seconds. The shield also does not block for 0.25 seconds after being selected.

When hit by an arrow or trident, they will ricochet off the shield and may hit other entities. The shield also prevents the pieces of armor from being damaged and harming from touching magma blocks and campfires.

Applying patterns
Unlike with banners, shields cannot be repainted or washed in a cauldron. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.

Shields with patterns can also be obtained using the same commands as banners, except  has to be replaced with.

Enchantments
A shield can receive the following enchantments, but only through an anvil:


 * Unbreaking
 * Mending
 * Curse of Vanishing

Gallery
Schild (Kampf) Bouclier 방패 Schild Tarcza Щит โล่ 盾牌