How Minecraft Got Better Combat

This is The Mechanic, where Alex Wiltshire invites a developer to help him put their game up on blocks and take a wrench to hack out one its features, just to see how it works.

“I feel that combat got quite boring over the long term, it mainly felt like monsters were standing in your way.” For a long time, Minecraft’s combat has been, well, not exactly premium. Clicky clicky clicky. Swords flailing at air, the basic principle behind combat being the player who clicks most wins most.

For its lead developer Jens Bergensten, it was time for change in the form of Minecraft 1.9, the Combat Update, which released on February 29. “The combat system wasn’t very interesting and we simply wanted to give it a little bit more variation,” he tells me. But how could he design something that would be accepted by Minecraft’s huge playerbase, work with Minecraft’s networking system, and be as playable on touchscreens as mouse and keyboard? The answer was…

THE MECHANIC: Timing

What came first, though – and this is really helpful in explaining where the timing concept came from – was an almost idle experiment in wondering, wouldn’t it be cool if Minecraft had shields. Bergensten and the team were already working on a dual-wielding system which would mean less switching between items during play, and shields simply made sense for Minecraft.

And in the way these things happen, from the shield prototype cascaded a problem. A big part of PVP play in 1.8 was constant parrying, which gave a 30% reduction to damage, then briefly releasing to attack before parrying again. With a shield, the same behaviour became even stronger, meaning that it’d be very hard for opponents to time their attacks. The solution was to instigate a short cooldown after you raise your shield before it actually activates, which equates to the time it takes for the animation of the shield to fully raise. “It’s long enough that if you spam attack and block you won’t get the benefit of having the shield, so it’s encouraging of planning, I guess,” Bergensten says. So timing was now a thing in the game.

Bergensten was also concerned by the common use of scripts on servers that allowed players to attack supernaturally quickly. It was time to stop combat being a matter of spam-clicking, and the timer concept seemed to the solution. He explored several ideas, including a charge attack, where you’d hold the button and release, and a combo-based rhythm one, but a simpler approach won out. After you attack, you must wait a short period before being able to strike effectively again. If you spam attacks, you do no damage.

Simplicity is often its own reward, but there was another factor. “Now we need to always consider how functions like this are going to work on touchscreens,” Bergensten says. Today, Minecraft is far bigger on iOS and Android than PC. “On touchscreens, holding wouldn’t be an option because it means something different, so with this system we knew it would act the same because you still just tap to attack.” The elegance of the design is that in practice, 1.9’s combat feels precise and immediate and not watered down by concession to other platforms.

The timer also introduces greater variation, and this gave new relevance to items like the axe and hoe. “I don’t want to say we planned it all along, because that wouldn’t be the truth,” Bergensten admits, but he was able to make the axe do the most damage on a single strike, but take the longest to recharge, while making the hoe recharge fast, but do low damage. The sword, meanwhile, does the highest overall DPS.

Still, it’s initially pretty tricky to pull off. By default there’s no UI gauge to tell you when the weapon is recharged; its status is instead communicated by the time it takes the weapon to raise back to its usual idle position. But it’s hard to notice in a melee. “I really want to avoid adding a heads-up display, I’m very strongly trying to avoid that,” says Bergensten. So to get a gauge either next to the hotbar or at the crosshair, you have to enable it in the video options. “And the feedback I got is that everyone tells all of their friends to go into options and enable it,” Bergensten says, laughing.

In fact, the overall system was a lot to get heads around. “A lot of people complained that axes do more initial damage than swords – if you time your attacks correctly, axes seem superior,” says Bergensten. “I designed it that way, but people – I’m talking mainly about the kids – they only look at the damage and feel the diamond sword isn’t worth it any more.” It’s probably just a matter of the concept bedding in, since the sword also benefits from combat-related enchantments, while the axe gets you woodcutting ones, and the sword has a special sweep attack.

The sword sweep was a response to a problem with the timer system where, if you were swarmed by mobs, you couldn’t effectively fight back because your hurried attacks wouldn’t do damage. So the sweep attack, which triggers when the timer is full, unleashes a horizontal swipe animation, hitting the targeted mob for full damage, and knocking back all other mobs in range for one point of damage. It works really well, encouraging careful, deliberate play.

The combat changes were, after all, balanced for mobs, not PVP. To hardcore PVPers, 1.9 is probably a bust, because for them 1.7 is the hallmark. “Because it’s the version that has the most mods, I think,” says Bergensten, philosophically. “These changes, I would say, are almost universally hated by the PVP community. If you look at them, they’re super-skilled at playing this really weird, wonky game, which is a lot about strafing around your opponent so they can’t hit you as well, and also they use a lot of fishing poles to hit you back, and flint and steel to put them on fire, and so on. It’s a very skilful game, but that’s not what we look at when we design new features.”

Bergensten seems sad but resigned to the splintered nature of a community stretched across versions. But he remembers how he felt when people started to move from Quake to Quake II. “Competitive players don’t like change. On one hand I always want to improve the game and move forward, but on this it feels like I’m one of those bad developers who don’t speak to the community. There will be people who feel that this is too big a difference to what it was before, so they will never move on, stay on 1.7 and play with their friends and in their clans, and then there will be those who will play the most recent version, and these two groups will not cross.”

But it’s not like 1.9’s changes are cemented into place. 1.9.1 is on the way, and it addresses two specific problems that have arisen from the main update. The first, and rather controversial, change is to ignore attacks when they won’t do damage. This allows the weapon to recharge, despite the button being spammed, and when the gauge will grant a 75% damage attack or more, it’ll perform the attack.

“People were very upset about it, but I wanted to penalise you less if you play the game as you did before,” says Bergensten. “It’s very tough to know sometimes, because the base is so large, if people complain about something if you’re actually doing the right thing. I try to just shield out the world and think, what do I want?” He laughs. “I feel this is a necessary nerf – which I shouldn’t call it. Adjustment!”

The second change in 1.9.1 concerns armour. Previously, diamond armour reduced damage by 80% and mob balancing had to take this into account. But if a mob dealt 20 points of damage, a diamond armour wearer would only take four points while someone without any would be instantly killed. Bergensten’s response was the Wither effect, which bypasses armour by dealing constant damage to all, but that’s a trick you can only pull once. Simultaneously, fully enchanted armour added a further 80% reduction on remaining damage, which was hardly worth the considerable expense when applied to full diamond armour.

1.9’s solution was to reduce armour effectiveness by adding the concept of armour penetration: strong attacks would ignore armour. But when released, players complained that armour had become worse. “My response was that, yeah, that was the idea. So I didn’t really understand the feedback. But then someone pointed out that the real problem was that the difference between iron and diamond wasn’t big enough any more.” The trouble of finding diamonds wasn’t worth the smaller increase in effectiveness of diamond armour.

So 1.9.1 adds armour toughness. Stronger armour will reduce penetration less. Bergensten laughs. “I feel I’m making the system more and more complicated but I’m hoping that people will figure it out.”

Much of what defines the design of the combat update – and Minecraft in general – is really about networking, however. When you attack, your client sends the mob or player’s ID to the server, and then the server calculates the combat mechanics. This means that there is no physical sword-swing in the world, unlike in the likes of Skyrim. The reason for this network design is that, rather than the server, your client has a lot of authority over your actions, because loading the world from the server is very resource-heavy. Minecraft would feel less than fluid, especially for those with bad connections, if the client had to wait for the server to perform every action. “Of course, a block can disappear or reappear, there can be lag, but most of the time it feels very fluid.”

It also means that Minecraft’s design requires a degree of simplicity, as well as exposing it to various hacks which detect when an enemy comes into range of the player and attacks it, regardless of where the player’s looking. “So that’s a bit annoying but it’s very tricky to fix,” says Bergensten. “But you have to consider what Minecraft is for. Are we trying to make a battlefield, or are we trying to make an open-world building game?”

Bergensten says that despite all these complications and considerations, 1.9 wasn’t an exceptionally complex update. But it highlights the subtle intelligence in balancing all the interplays between technical necessities and design goals, open adaptiveness in understanding and adjusting to how people play, and quiet fortitude in holding by decisions. Such things are necessary in continuing to build and improve such a vast and established game. Bergensten always sees problems and things that could be better – from its animation to its balancing. Hopefully he can cherish all that is great about the game, too.

From this site

18 Comments

  1. Moonracer says:

    This article hits on one of the big issues with Minecraft updates for me. They tend to add interesting features to the game, but not enough so to make the game as enjoyable as modded Minecraft. And most Minecraft mods use versions of the game from 2013 or earlier.

    I’m tempted to try this version out, but I doubt I’d actually “play” vanilla Minecraft for long.

    • PseudoKnight says:

      Yet these features and improvements do trickle down to the modded community — sometimes negatively, but it’s mostly positive in the long haul, just a lot of work.

      Now if they’d only add anti-aliasing. It’s 2016.

      • brucethemoose says:

        Indeed. 1.9 finally optimized (read: fixed horribly buggy) tile entities, for example… That’s a huge deal.

    • brucethemoose says:

      MC and modded MC aren’t even the same game.

      Fortunately, 1.9 modding is progressing unbelievably well. Whereas the last 2 major updates basically forced entire mod rewrites (and, consequentially, some big Forge changes), 1.8.9 -> 1.9.x is an easy transition… There’s already a good Forge Alpha out, and SSR, for example, was literally ported in 30 minutes.

      Many major devs have been chugging away at 1.8.9 updates for months. Expect the 1.9 ports of those to come out very soon.

    • Jabberslops says:

      You talk about vanilla Minecraft not being as fun as Modded, but at the same time modded Minecraft has become such a complicated mess of mods, mod-packs, crafting recipes, and excessive grind to build and acquire, that it has killed my interest in playing Minecraft almost entirely.

      I’ve had enough of having 3 or more of the same ore type that need to be ground up and smelted to be compatible per mod. Why do I need to build expensive machines just to make steel? No one can agree on using one type of power and make it compatible across all the most popular and new mods so I don’t have to build a ridonkulously expensive converter for EU, RF and MJ per mod.

      At this point I would just prefer vanilla Minecraft with simple mods to make mining, harvesting, crafting and other general automation easier but still feel like vanilla.

      • gunny1993 says:

        Well it really depends on what you want from the game, for instance of you just want a relaxing way to Porter around then yeah vanilla is proably fine. But if youre like me and want more from it then vanilla is not really fit for purpose.

        I like to do what I call “rube goldburging” where I am just creating more and more complex machines to do simple tasks for no reason than the simple amusement of creating such pointless devices, like applied energy stubs which is basically a complex way of not having chests everywhere.

        Also the problems with multiple press and energy types is mostly fixed in the feed the beast packs

      • brucethemoose says:

        What packs did you play?

        -Any decent modpack is going to have unified ores via minetweaker.

        -Pretty much every mod uses RF bar a few “nostalgia” or very specialized mods. Worrying about conversion is a relic of the past.

        -Plenty of packs have non-grindy progression, with simple coal + iron = steel recipes, for example.

        The fact that you even brought up MJ suggests that you haven’t played in awhile… That was killed long ago. You should give some of the recently updated 1.7.10 or bleeding edge 1.8.9 packs a try.

    • Chaoslord AJ says:

      Agree, I play mostly HQM-packs and they all stay on 1.7.10.

    • Kamalen says:

      Some issue we can hope to see disappear the day they release the legendary official SDK..

      • kavika says:

        Ugh. How hard is this modding that 3B+$ and 4 years later, they still can’t get this sorted out? I’d love to see their cash stream and understand why their list of patch notes ran the way it did.

  2. whorhay says:

    I haven’t played much in the last year or two and I can barely tell a difference in the combat other than the player just doing less damage on a whole. The AoE damage on the sword is nice I guess but I’m underwhelmed by the combat given the hype I heard for it.

    • Artist says:

      Thats not a surprie. Most Minecraft “updates” in the recent years are more geared to recover media presence than actually “adding something” to the game.

  3. Artist says:

    Now I have to play Mount&Blade Multiplayer again…. Best fencing ever designed!

  4. dakotabeeton says:

    “my .friend’s mate Is getting $98. HOURLY. on the internet.”….

    two days ago new Mc.Laren. F1 bought after earning 18,512$,,,this was my previous month’s paycheck ,and-a little over, 17k$ Last month ..3-5h/r of work a days ..with extra open doors & weekly. paychecks.. it’s realy the easiest work I have ever Do.. I Joined This 7 months ago and now making over 87$, p/h.
    Learn. More right Here
    cr05
    ➤➤
    ➤➤➤ http://www.Careers-Report.com

  5. ikehaiku says:

    I, for one, give this combat a big, big “meh”. (vanilla-only player here, either in Solo or MP)

    “it mainly felt like monsters were standing in your way.””
    Well, yeah, that was the point. Be a reason to be careful at night or in unlit areas, and that was it.
    I don’t play Minecraft to fight – there’s plenty of games for that.

    OTOH, my i5 and GTX660 are still choking up whenever I still even remotely come close to a jungle biome, so yeah…

    • ikehaiku says:

      But to give credit is due: MC is still one of the only, or at least the easiest, game that allow you to play on an older version with about 2 clics of a mouse, so in the end, everything’s good.

      • try2bcool69 says:

        Players sticking with the old versions instead of playing the latest, greatest version is not a very good community builder.
        Personally, I am not really bothered by the new combat, it will just take some adjustment, but I think that they needed to make it an option instead of the default behavior, simply because children are going to find it a bit more frustrating to survive than it already is, especially for the youngest of them. The fanbase is way younger than it was when it all got started, and I don’t think they have kept that in mind.
        Other than that, the most annoying thing to me, is the slow animations for all of the tools rising up. They do break blocks without being in full view, but it bugs the crap out of me that they don’t snap in place as you scroll across them.

        • 12345566f says:

          I can see your opinion but no. You may not play many competitive pvp servers but there is a large community of older players. This revolves around strategies,tactics and clicking. The clicking in the competitive pvp community is normally either butterfly clicking:
          ( link to youtube.com )
          or jitter clicking:
          ( link to youtube.com )

          Both of these mainly used techniques are skillful and take practice. 1.9, (as well as adding useless items like shield and special arrows that no one in the pvp community asked for) will ruin these by adding a “hit cool down”. Loads of competitive servers getting thousands of daily players like badlion and kohi, will suffer. Kohi and other pvp youtubers will have to COMPLETELY change their style ( link to youtube.com ) (link to youtube.com )

          Despite this I think you had a point with the “optional hit cool down” which could be used in different game modes.