Minecraft Is Finally Closing a 12-Year-Old PvP Exploit Known as Attribute Swapping

Mojang has started the process of permanently removing Attribute Swapping from Minecraft, a PvP exploit that has existed since 2013. The PvP community is divided.

Mojang has officially begun the process of removing Attribute Swapping from Minecraft, an exploit tracked on the Mojira bug tracker as MC-28289 that dates all the way back to Minecraft version 1.6.2 in 2013. The fix was first applied silently in the 26.2 Pre-Release 2 snapshot on May 30, 2026, then temporarily reverted in Pre-Release 3 on June 2, 2026, due to unrelated technical issues. Mojang confirmed that Attribute Swapping “is not a supported functionality” and will be patched permanently in a future snapshot.

What Exactly Is Attribute Swapping?

Attribute Swapping is a combat exploit where a player switches between two weapons within the same game tick while attacking, causing the base damage and cooldown of the first weapon to combine with the enchantments, attributes, and special properties of the second. For example, a player can swing a sword and instantly hotkey to a Breach-enchanted mace, applying the sword’s full attack speed with the mace’s armour-piercing enchantment on a single hit.

The technique goes by many names in the PvP community: breach swapping, sword swapping, hit swapping, stun slamming, and one-ticking. It became significantly more impactful after Minecraft 1.21 introduced the mace and its Breach enchantment (which bypasses 60% of armour protection), the spear with its lunge mechanic, and expanded shield interactions. Players discovered they could chain spear lunges by swapping away the cooldown, disable shields with sword-to-axe swaps, and even grant tools functionally infinite durability by transferring wear to an empty hand slot.

MC-28289: A Five-Digit Bug From 2013

The Mojira bug report MC-28289 is one of the oldest unresolved issues in Minecraft’s tracker. Created in 2013 during the Minecraft 1.6.2 era, it describes the core problem: switching items at the same time as attacking causes attributes and enchantments from the previously held item to carry over to the new item’s hit. On GitHub, the PaperMC community described it as a “12-year-old bug” when they patched it on their own server software in early 2025.

Paper’s fix (merged via pull request #12275 in March 2025) reset the attack cooldown and refreshed player attributes when an item swap occurred, effectively neutralising the exploit on Paper-based servers. However, vanilla Minecraft, Realms, and non-Paper servers remained affected for over a decade.

What Happened in the 26.2 Update Cycle?

Minecraft 26.2, officially named “Chaos Cubed,” is confirmed for release on June 16, 2026 across both Java and Bedrock Editions. The update introduces the Sulfur Caves biome, the sulfur cube mob, geysers, and various technical changes. But the biggest controversy of the pre-release cycle has been the Attribute Swapping situation:

  • Pre-Release 2 (May 30, 2026): Attribute Swapping was silently disabled. The official changelog contained no mention of the change, which sparked immediate backlash from the PvP community. Players noticed that weapon swapping no longer transferred attributes during combat.
  • Pre-Release 3 (June 2, 2026): Mojang published a direct statement: “With today’s pre-release we’re reverting a fix that patched an exploit, known as ‘Attribute Swapping’, for unrelated reasons. Please note that this does not mean ‘Attribute Swapping’ is a supported functionality. It will instead be fixed in a future snapshot.”

Community analysis on Reddit’s r/CompetitiveMinecraft suggests Mojang’s revert was not a concession to player demand but rather a practical decision: the fix likely broke other backend systems, and the team opted to revert it rather than ship a broken pre-release with the June 16 stable deadline approaching. The exploit is expected to be permanently patched in the 26.3 snapshot cycle.

Why the PvP Community Is Divided

Attribute Swapping has been woven into competitive Minecraft PvP for years. Removing it fundamentally changes how several game modes work:

  • Mace PvP: Breach swapping allowed players to apply the mace’s Breach enchantment through a faster sword swing, dramatically increasing damage output against armoured opponents.
  • UHC and shield-based combat: Axe-to-sword swapping let players disable an opponent’s shield with axe properties while retaining sword damage, creating a critical skill expression layer in Ultra Hardcore modes.
  • Spear combat: Spear lunge swapping bypassed the weapon’s long cooldown, enabling rapid chain-lunges that defined the emerging spear meta.
  • Crystal PvP: The fix also affected rapid hotbar swapping in crystal PvP scenarios, making item switching feel sluggish according to affected players.
  • Infinite durability: Swapping to an empty hand during an attack prevented durability loss on the main weapon, effectively giving tools unlimited lifespan.

On r/CompetitiveMinecraft, some players argued that a 12-year-old mechanic should be considered a feature rather than a bug. Others, including server-side developers, maintained that it was always unintended behaviour that distorted combat balance. Mojang’s position is clear: the official Minecraft.net post labels it an “exploit” and “not a supported functionality.”

What This Means for Server Operators

For server operators running Paper, Spigot, or similar modified server software, Attribute Swapping has already been addressed through community patches. The PaperMC fix from March 2025 resolved the issue server-side with a configuration option. Third-party plugins like “hit-swap-fix” on GitHub also provided standalone solutions.

For vanilla server operators and Realms users, Mojang’s official fix is the only path forward. When the permanent patch arrives in a future snapshot, it will apply automatically across all vanilla installations. Server operators planning to upgrade to 26.2 stable on June 16 should note that Attribute Swapping will still be functional in that build, as the permanent fix is scheduled for a later snapshot.

The 26.2 update also carries other operator-relevant changes: Java SE 25 remains a requirement, data pack format numbers have been updated, team colour commands now require lowercase underscore format, and the minecraft:bed block entity has been removed. Full backups before any version change are strongly recommended.

The Bigger Picture: Chaos Cubed Content

Beyond the Attribute Swapping controversy, Minecraft 26.2 Chaos Cubed brings substantial new content:

  • Sulfur Caves biome: A new underground biome generating between Y -48 and Y -64, featuring sulfur and cinnabar blocks, sulfur pools, and stalactite/stalagmite formations.
  • Sulfur cube mob: A passive mob that spawns in Sulfur Caves and can absorb TNT blocks. Absorbed TNT can be primed via redstone or fire with a 6-second fuse, creating potential griefing concerns for server operators.
  • Geysers: Geological features that erupt at roughly 50-second intervals, launching entities upward. More water above the geyser increases launch height.
  • Hoglin reclassification: Hoglins are now classified as hostile mobs and will not spawn in Peaceful difficulty.
  • Experimental Vulkan renderer: A client-side graphics option with no impact on server performance.

Questions Players Are Asking

Is Attribute Swapping currently working?

Yes, as of 26.2 Pre-Release 3 (June 2, 2026), Attribute Swapping has been temporarily restored. It will function in the 26.2 stable release on June 16. However, Mojang has confirmed it will be permanently patched in a future snapshot, likely during the 26.3 cycle.

Does this affect Bedrock Edition?

No. Attribute Swapping is exclusive to Java Edition because Bedrock Edition uses a different combat system without attack cooldowns. The PvP mechanics that enable this exploit simply do not exist on Bedrock.

Can PvP servers bring it back after the fix?

Yes, through custom server plugins. Some developers on r/CompetitiveMinecraft have already announced they are building plugins to restore Attribute Swapping on their servers. However, vanilla servers and Realms will follow Mojang’s official patch.

Is Attribute Swapping considered cheating?

Mojang officially classifies it as an exploit, not a supported feature. On most competitive servers, it has been treated as a legitimate advanced technique rather than cheating, since it requires no modified clients. The distinction is important: it was a bug that became culturally accepted, not a designed mechanic.

When will the permanent fix arrive?

Mojang stated the fix will come “in a future snapshot” without specifying a date. The community expects it during the 26.3 snapshot cycle, which would begin after the 26.2 stable release on June 16, 2026.

The End of a 12-Year Era

MC-28289 will go down as one of the longest-lived exploits in Minecraft history. From a quiet bug report in 2013 to a defining mechanic of modern PvP, Attribute Swapping has shaped how millions of players approach combat in the world’s best-selling game. Mojang’s decision to finally close this gap marks a significant turning point for competitive Minecraft. How the PvP meta evolves from here will depend on community adaptation, server-side solutions, and whatever combat refinements Mojang introduces alongside the permanent fix.

More NEWS & POSTS