Minecraft 1.18, also known as the Battle Update, is an update expanding combat and replacing the Combat Update's changes to PVP and PVE, as well as adding new weaponry and mobs.
- Unarmed player attacks now deal 2 damage.
- Sticks and blaze rods now deal 3 damage.
- Torches, bricks, nether bricks, and ingots, along with cobblestone, stone, brick, nether brick, and stone brick blocks (and variants of those blocks) all now deal 4 damage.
- Torches and Fire charges have a 5% chance to light the target on fire, but fire charges will be used up in the process.
- Lava buckets, if used to punch, have a 15% chance to light both the user and target on fire.
- Hoes now deal the same damage as shovels of the same material.
In order to make combat more responsive, the timed attack system has changed. For weapon combat (with swords, non-thrown tridents, axes, shovels, etc.) Instead of waiting for a cooldown to attack, the player now has two options:
- Heavy Attack - A player can hold down the left mouse button to charge a heavy attack, filling up the charge bar (the sword icon which indicated a cooldown from 1.9 to 1.17) until it turns orange. Once the bar has turned orange, the player can release the left mouse button at any time to perform an attack. Heavy attacks deal the damage indicated by the weapon (IE: 4 damage for a wooden sword), stun enemies, and knock shields away, making an opponent vulnerable to a followup attack. When a heavy attack is being performed, the player raises the weapon over their shoulder, making their attack apparent and leaving them slightly vulnerable. Heavy attacks can be interrupted during charging, so it is imperative to back up enough from an attacker to avoid being hit while charging.
- Light Attack - Simply clicking without holding down performs a light attack. Light attacks have a cooldown like 1.9-1.17 attacks, though it is somewhat shorter. Light attacks only deal 50% of the knockback and damage as would normally be dealt out, and are completely blocked by shields.
In addition to players, several mobs can take advantage of this new system, they are:
- Wither Skeletons
Of course, some of these mobs, such as skeletons, spawn only with ranged weapons, and thus do not take advantage of the new system. Other mobs, even those that spawn with weapons, such as zombies, mummies, and zombie pigmen, are not affected.
Similarly, unarmed combat has been updated. Instead of punching with their right fist over and over again, the player will now alternate fists used, and can deliver both heavy and light attacks, as with weapons. Additionally, the player can now block with both hands by pressing down the right mouse button, negating 20% of damage.
Another important addition is the ability to dodge. The player can dodge by pressing the sprint key (ctrl by default), space, and a directional key all at the same time, causing them to leap in that direction and out of harm's way. The player cannot dodge while charging up a heavy attack or blocking. Dodging is made slower by a player's armor rating, so it becomes less and less effective with more durable armor.
As with many combat-focused games, Minecraft received a lock-on target ability with 1.18. By pressing the grave accent (`) key, the player can lock onto a mob. Pressing the key again will change targets, and holding it down before releasing it will disengage it completely. The current target is indicated by an orange crosshair with a black outline.
When targeting, the camera will stay focused on the opponent and allow the player to strafe around them. As a result, the player can always reliably press the S key to backpedal away from their attacker, or the W key to advance on them. The lock-on targeting is intended primarily for use in one-on-one combat, and its effectiveness diminishes when fighting multiple enemies.
The Dinocerous is a hostile mob that comes in three varieties, it was made to take advantage of and show off the new combat system.
Dinocerouses can use all melee weapons, as well as shields and armor other than helmets. These mobs also use both heavy and light attacks. Dinocerouses can replicate the lock-on targeting and dodging abilities of the player, making them tough opponents as they can circle around, attack, and dodge player attacks.
Dinocerouses use a model similar to the player, though with a few changes, such as the head being farther forward and the addition of a tail. Three pairs of claws have been added, located on the hands; The dinocerous' claws either extend out or fold in depending on whether the dinocerous' hand is unoccupied or holding a weapon, respectively.
The red dinocerous is the most common, spawning rather rarely in the wild but more commonly near jungle and desert temples. The red dinocerous, despite not burning in the sunlight, prefers to hide in dark caves and crevices in the day and has a fear of fire. These monsters have 20 health () and by default deal 4 damage () with their large, easily visible claws.
Able to swim, climb, and jump like the player, the red dinocerous has a large detection radius and an intelligent AI, making it a deadly foe. Even worse, the red dinocerous can shatter glass panes and knock down wooden doors to gain entrance to a player's home. Thankfully, the red dinocerous only spawns on Hard Mode, and even then it's a rare sight and not immune to various traps.
On death, the red dinocerous drops various metals and ores which it has collected.
The blue dinocerous is functionally identical to the red, with the exception of it's spawning behavior and appearance. The blue dinocerous spawns only in strongholds and, very rarely, in frozen oceans. In frozen ocean biomes, the blue dinocerous can be found frozen in a 2x1 pillar of ice blocks, which can either be mined (killing the mob and dropping nothing but ice in the process) or burned away to unleash the monster inside.
The frozen blue dinocerous is a separate entity and can be placed in Minecarts for transport, allowing the player to unleash it at an enemy base, use it for a trap, display it as a trophy, or some other such purpose. The frozen blue dinocerous pillar can melt if exposed to heat for long enough, however, so care must be taken with its storage and transport conditions.
The black dinocerous is a deadly mob that appears only in nightmares. With 30 health (), able to deal 7 damage () with its claws, and the ability to outrun and overtake the player, the black dinocerous can rip humans apart even without a weapon.
A mastery of the new combat system and quick thinking are required to beat the black dinocerous, especially in the unfamiliar locale the player is forced into in the nightmare. If killed, the black dinocerous drops a diamond. One black dinocerous spawns with an iron axe per dream, while the rest are unarmed.
The demised knight is a hostile undead mob that uses a sword and a shield to attack the player. This heavily armed and armored miniboss can be encountered in some ruins, such as the overgrown castles of the deep woods. Demised knights will use a wide variety of different techniques and moves to attack the player, and they can combine sprinting and jumping with their attacks to overwhelm the player. Like dinocerouses, the demised knight mimics the combat system used by the player.
The demised knight deals the same damage as an elder guardian, and has the same armor rating as a player in full diamond armor; As a result, only masters of the new combat system are likely to be able to take them on in a fair fight in hard mode. The demised knight has a spinning attack to whirl TNT, potions, and creepers away from itself and prevent cheap damage from the player that way, but it is weak against the fire aspect, flame, and smite enchantments.
New animations were added for:
- Dodging (Similar to jumping)
- Heavy Attacking (Player raises sword above his/her shoulder and delivers a more powerful, complete swing from right to left [or left to right if using the left hand])
- The lock-on targeting stance
- When wielding a melee weapon, player takes a stance similar to a real swordsman wielding a rapier or similar blade, with their dominant arm and leg forward to give maximum reach and reduce vulnerability
- When wielding a revolver or similar weapon, the player now aims properly.
- There is no change to the lock-on targeting done when unarmed.
- Blocking with fists (the player's arms go up in a /\ shape to guard his/her face)
If a weapon [any item capable of dealing damage directly or through projectiles] is placed in the first hotbar slot, yet not currently selected, it will be displayed as though equipped on the player's model. The system for displaying it is similar to that used by item frames, and its placement can be adjusted using the "skin options" setting of the menu.
When the player hits certain mobs, a few black pixels will fly off in the direction the strike was going to emphasize the damage. This occurs when fighting most hostile but non-aquatic mobs, so mobs like sheep and guardians are not affected.