Minecraft: Java Edition has been obfuscated since its release. This obfuscation meant that people couldn’t see our source code. Instead, everything was scrambled – and those who wanted to mod Java Edition had to try and piece together what every class and function in the code did.

Modding is at the heart of Java Edition – and obfuscation makes modding harder. We’re excited about this change to remove obfuscation, as it should make it quicker and easier for modders to create and improve mods. Now you won’t have to untangle tricky code or deal with unclear names. What’s more, de-bugging will become more straightforward, and crash logs will actually be readable!

surprisingly fantastic and consumer friendly move from mojang, good on them

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    20 minutes ago

    Be nice if Minecraft was released on Steam so Linux users didn’t have to emulate an Android device just to play it.

    • belsedar@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 minutes ago

      Are you talking about the Bedrock edition or something? Because there are plenty of Java edition launchers available that even perform better than the Windows version

    • ameancow@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      49 minutes ago

      Playing minecraft without mods as an adult is like eating a plain potato, or like going to a party without inebriating substances.

  • chunes@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    3
    ·
    8 hours ago

    Why not go open source? What are they so afraid of, given anyone can now see the source code by using a simple tool?

    • YTG123@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      21
      ·
      4 hours ago

      Open source includes unlimited distribution. The game is still paid and they want to reserve distribution rights.

      • Derpgon@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        21 minutes ago

        Open-source and source-available are used interchangeably. Releasing the source does not mean the license will allow any form of redistribution or recompilation.

        If you decompile the game yourself you can infinitely distribute the game as well. This is not an argument.

      • chunes@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        5
        ·
        edit-2
        7 hours ago

        I mean releasing the source under a license like GPL (or whatever the modern equivalent is).

        • Korhaka@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          55
          ·
          7 hours ago

          Because then anyone could fork it and redistribute the game which I presume they don’t want.

          It would be sweet for us if they did, but I can see why they don’t want to do that.

          • chunes@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            3
            ·
            edit-2
            7 hours ago

            They could distribute source ports of the game, but you’d still have to buy the game in order to make use of them. Textures, sound effects, animations, etc. are (usually) not source code.

            That’s why people still buy Doom 2 even though it was open-sourced in 1997.

            • Korhaka@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              10
              ·
              5 hours ago

              Fork it and use your own texture and sound pack doesn’t sound like much work tbh. Any major modpack could just redistribute the game as a fork and it would be awesome. But Microsoft probably don’t want that.

            • sus@programming.dev
              link
              fedilink
              English
              arrow-up
              10
              arrow-down
              1
              ·
              edit-2
              6 hours ago

              The small amount of sales of doom 2 today is not at all comparable to the massive amount of minecraft sales and minecraft-related microtransactions that microsoft is raking in. Doom has many modern sequels that are far more popular today than doom 2, while minecraft does not have any official sequel.

  • Unattributed@feddit.online
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    8 hours ago

    Not only do I think this will generate a fair number of CVE’s, I think there will be a lot of optimization of the code going on.

    Look at what happened with OpenOffice a few years back – the Oracle buyout of Sun Microsystems forced the forking of OpenOffice to LibreOffice – during which the new Dev team took the time cleanup and refactor the code. This resulted in a suite that was about 10 percent smaller, and removed a bunch of redundant things (like multiple copies of icons).

    I bet we see something similar with Minecraft – even if it can’t be an “authorized” version.

    • DaPorkchop_@lemmy.ml
      link
      fedilink
      English
      arrow-up
      16
      ·
      6 hours ago

      This doesn’t really change too much for the modding scene, it just allows the deobfuscation step to be skipped when setting up a dev environment. Mojang has already been providing official deobfuscation mappings for years, and before that we had community-made ones which were already pretty great.

      There are already plenty of mods which drastically overhaul how major parts of the game work to get better performance, and there are some projects like Gregtech: New Horizons and CleanroomMC which have pretty much completely torn apart and rebuilt the game on older versions from before official deobfuscation mappings were even available.

      • Unattributed@feddit.online
        link
        fedilink
        English
        arrow-up
        1
        ·
        26 minutes ago

        Right, but this means these efforts can be undertaken on the current release, and done without having to work around Mohjang’s obfuscation.

        Removing this kind of barrier is a major change. Less time will be spent on trying to understand code that has been obscured from view. It will be easier to ensure “correctness” in code that is optimizing the server (ie, that new code will not break internal dependencies). It will be easier to ensure compatibility between the official release and community based extensions.

        I understand that the modding community has been able to do a lot up to this point…(I play on an optimized modpack). But, I’m betting this will actually produce a larger jump in terms of the efficiency of all codebases - including Mohjangs. Just the reports that document issues (not CVE level issues) for Mohjang will lead to them improving the base code.

    • Nicopf@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      Started experimenting with modding Luanti just last week. Was realy suprised how accesable and easy it is, even for an idiot with no experience like me!

  • Lena@gregtech.eu
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 hours ago

    Oh, wow. Just reading the title made me really excited about this.

    I don’t really care what their incentive for this was, it’s a good move for the community.

  • ZoteTheMighty@lemmy.zip
    link
    fedilink
    English
    arrow-up
    98
    arrow-down
    2
    ·
    13 hours ago

    So, what’s the catch? Surely Microsoft and Mojang didn’t just suddenly become good?

    • atopi@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      5 hours ago

      Havent they been making changes to help mod/datapack development for a while?

      Modding is such a big part of the game, helping it would get more people playing the game

      • SuperDuperKitten@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours ago

        They made “datapack” which is a way of playing with mods without having to use third-party mod loaders like Forge and Fabric but (don’t quote me on this as I’m not a mod developer) it’s not as powerful compare to the mod loaders.

    • wabafee@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      ·
      edit-2
      2 hours ago

      I guess it just doesn’t make sense to obfuscate it when mods in general runs the Minecraft community in turn making more profit to Mojang/Microsoft. My other suspicion is potential competition. There is this game called Vintage Story which kinda directly competes with Minecraft seems gaining ground and was built to be moddable from the start.

    • Prove_your_argument@piefed.social
      link
      fedilink
      English
      arrow-up
      84
      ·
      13 hours ago

      The monkeypaw says they will stop updates for the java edition or release a new version that doesn’t work on the java edition.

      They probably see how many sales are generated from the free work done by modders though. If someone wants to come along and do for free the thing you might have to actually pay designers, developers, artists and all the support staff for and they still need to pay you to play it, you’d be foolish not to encourage the exploitation of free labor.

      • lepinkainen@lemmy.world
        link
        fedilink
        English
        arrow-up
        14
        ·
        9 hours ago

        Young generations and mobile players are on bedrock

        Everyone else plays Java where you can easily self-host a server

      • LiveLM@lemmy.zip
        link
        fedilink
        English
        arrow-up
        37
        ·
        edit-2
        11 hours ago

        Call me ignorant, if this happened and it brought a new golden era of modding (1.7.10 style) where everyone’s playing the same version I’d be maybe the happiest player ever.
        Modders backporting content is nothing new, hell, they even brought the mobs that didn’t make the cut from those stupid mob votes to life.
        Let modding become the new updates, fuck it. At this point they’d likely be better realised than Microsoft’s efforts.

    • Serinus@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      13 hours ago

      I wonder how good AI is at deobfuscating code. It seems like the kind of thing it might be good at.

      • Cethin@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 hours ago

        With how bad it is at writing it, I’m guessing similarly bad. It’ll do something, but odds are it introduces a ton of errors that you then have to track down. That’s the best case. Worst case, it just creates something totally different that looks similar to the input but doesn’t do the same thing.

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      10
      ·
      10 hours ago

      It’s a 20 year old game going into abandonware mode. This is the nicest way for them to do that.

      • IngeniousRocks (They/She) @lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        19
        ·
        9 hours ago
        1. Its 16, not 20, the earliest version “Cave Game Tech Test” was in May 2009.

        2. They’re still actively pushing updates, a really big one is scheduled for the holiday season. Additional biomes and mini-bosses were added last year with structures hinting at development plans for a 4th dimension. The lighting engine is being actively redone.

        Minecraft is absolutely not gearing down into abandonware mode.

  • Justifier@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    ·
    edit-2
    13 hours ago

    This paired with the bedrock gdk release and changes to the file path so that we don’t need to use iobit unlocker to mod rtx files is some hella good vibes

    • Rob Bos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      32
      ·
      12 hours ago

      Unironically, me too. They’re there now, waiting to be discovered. We can find them now on our terms or be surprised by them later.

    • DanWolfstone@leminal.space
      link
      fedilink
      English
      arrow-up
      11
      ·
      12 hours ago

      Wasn’t log4j originally found by 2b2t players, then used maliciously and reported later on, then going onto get fixed by every major server framework like bukkit, paper, fabric, and more?

      • sus@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        5 hours ago

        Nah, it was found sometime before november 24 2021, publicly disclosed in december 9 2021, and only used by 2b2t players on december 10 2021.

  • gnu@lemmy.zip
    link
    fedilink
    English
    arrow-up
    34
    ·
    14 hours ago

    Can’t say I saw that coming, particularly after Microsoft bought them. Nice to have a surprise be pleasant once in a while.

  • Oxysis/Oxy@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    8
    ·
    16 hours ago

    Oh I see it’s that time of the year where Mojang gives the community a bone after stomping on them the rest of the year.

    Anyways as someone who has worked on Java projects extensively since 2020, very little will actually change from this. The main problem of Mojang’s asinine version numbering will continue to be a problem for any modding, server, building and resource pack projects past 1.19.

      • JustARegularNerd@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        33
        ·
        edit-2
        15 hours ago

        Previously, they had the versioning system 1.MAJOR.MINOR, where Major referred to a feature update, and minor referred to bug fixes or other non-breaking technical changes

        The first instance where they broke this was 1.16.2 by adding the Piglin Brute, but this was so minor that hardly anyone really cared, and hey, free feature with a minor update!

        Well, now they have update “drops” where the minor version means either what it used to, or it’s also a feature update, just not as big as a full update.

        From the wiki:

        • 1.20: Trails and Tales Update
        • 1.20.3: Bats and Pots Drop
        • 1.20.5: Armored Paws Drop
        • 1.21: Tricky Trials Update
        • 1.21.2: Bundles of Bravery Drop
        • 1.21.4: The Garden Awakens Drop
        • 1.21.5: Spring to Life Drop
        • 1.21.6: Chase the Skies Drop
        • 1.21.9: Copper Age Drop
        • Oxysis/Oxy@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          22
          arrow-down
          1
          ·
          edit-2
          15 hours ago

          That’s close to how the numbering system works! It’s MAJOR.MINOR.PATCH, Mojang just doesn’t use the major part at all.

          Also I completely forgot the piglin brute existed! Also netherite templates got added it the 1.16 patch versions too if I am remembering right.

          • magz :3@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            4
            ·
            8 hours ago

            the problem is that the way version numbers are handled now, it’s more like 1.MAJOR.MINOR, with no real definition of what counts as a “minor” update, so it’s hard to tell which versions are compatible. i feel like this problem would mostly go away if they either added another number to the version to signify patches, or actually used semver properly (they could mix these approaches to do something similar to java, so the next version would be 22.0.0)

            i feel like this whole version debacle is only gonna get worse because microsoft is planning to move to a “content drop” model, with smaller more frequent updates, which means even more pressure on the “patch” version. so unless their update model or versioning systen changes, we’ll probably be playing 1.21.37 in a couple of years, and good luck figuring out which of those versions are actually compatible

          • mercano@lemmy.world
            link
            fedilink
            English
            arrow-up
            17
            ·
            13 hours ago

            It’s kind of like Java itself, Sun dropped the leading 1 after 1.4, following it up with Java 5.

      • Oxysis/Oxy@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        4
        ·
        15 hours ago

        Mojang started adding in substantive resource pack changes in the patches for 1.19. Which made it more annoying for resource pack artists to support the update their since it required 2 separate versions of a pack to be made and maintained just to make sure it works properly. Let alone the annoyance of having to constantly deal with people complaining about it not working when it is an issue Mojang made.

        There is also Mojang’s censorship of their community that began in the 1.19 patch versions which allowed Mojang to just ban anyone for saying something they didn’t like. Servers largely just disable it since it’s a headache to deal with and it doesn’t benefit them at all, only Mojang.

        Then in 1.20 and 1.21 Mojang began adding content in the patches so it makes it a nightmare to support the patch versions since they now function differently than they used to. Which only makes it harder for servers to update and makes the experience of joining servers more frustrating. So plenty of servers on those updates just blacklist certain versions just to make sure things are able to function.

        Oh and at some point Mojang added censorship to player skins. And it can be triggered by just mass reporting any individual skin for any reason.

        Basically Mojang made a fuck ton of problems where none needed to be or used to be.

        • Oxysis/Oxy@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          5
          ·
          15 hours ago

          Also I just want to add this, but I was sounding the alarm on the patch version problem back in the 1.19 days. The community at the entire either ignored me or called me crazy for pointing out how it was problematic. Now the community is growing more and more annoyed and I’m just sitting over here saying I told you so.

          I’ve mostly stopped playing the game because of Mojang’s constant shitty choices and because of the community refusing to call Mojang out on their bullshit.

          • Truscape@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            9
            ·
            15 hours ago

            The no chat reports mod and having community hosted servers that don’t really need to give a damn about what Mojang thinks (I’ll convert my server to support cracked accounts if I have to) kind of pulls the heavy lifting to allowing players to keep playing without having to give a shit about overall moderation by the company.

            • Oxysis/Oxy@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              5
              ·
              15 hours ago

              The no chat reports mod is great but it still is an uphill battle to get players to install it. We also need to focus on putting on Mojang to remove the problematic system in the first place so the experience is better for everyone including Bedrock players.

              • Truscape@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                9
                ·
                14 hours ago

                Installing the mod (or plugin) server-side strips all player chat messages of the information that makes them reportable, so no requirement is needed for the client (Although recommended for complete protection and for usage on non-compatible servers)

    • Rai@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      4
      ·
      edit-2
      11 hours ago

      Fuckin right?

      ALSO can Mojang get my goshfuckin ALPHA account back that Microsoft deleted because I wasn’t paying attention to their bullshit during COVID and now it’s gone forever even if I make a Microsoft account which I will never do and now I have to pay money to Microsoft (which I will also never do and have never done)?

      I’m pretty sure it was promised to me that I’d have Minecraft access forever because I bought an alpha account, but I guess now I have to give point to a horrible soulless corp to buy it again.