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

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    2 days ago

    Finally we can view Mojang’s shitty server multi-threading implementation in all its glory.

    spoiler

    ___

  • ZoteTheMighty@lemmy.zip
    link
    fedilink
    English
    arrow-up
    104
    arrow-down
    2
    ·
    3 days ago

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

    • Prove_your_argument@piefed.social
      link
      fedilink
      English
      arrow-up
      96
      arrow-down
      1
      ·
      3 days 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.

      • Honytawk@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        If that happens, the modding scene would boom incredibly

        And you’d have some smart nerds who take it upon them to keep updating the game much better than Mojang ever could.

        It would become open source almost

      • LiveLM@lemmy.zip
        link
        fedilink
        English
        arrow-up
        43
        ·
        edit-2
        3 days 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.

        • CertifiedBlackGuy@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 days ago

          1.7.10

          Y’all can try and pull it from my cold, dead hands.

          I should boot up the ol modpack and see what it do—oh, right, it crashes 🥹

      • lepinkainen@lemmy.world
        link
        fedilink
        English
        arrow-up
        15
        ·
        3 days ago

        Young generations and mobile players are on bedrock

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

      • ChapulinColorado@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        I was thinking the same thing. If the de-obfuscation tools are already out there, it might cost them more money to keep that layer. Their developers also have to use it to read the crash logs and the like from the sounds of it. Less layers = less maintenance = less cost. More mods = keeps the game relevant.

          • Trainguyrom@reddthat.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            Complete with microtransactions and a horrible lack of customizability! Seriously I just wanted to play some Minecraft in RTX but you literally can’t use the nVidia RTX stuff outside of the demo maps, otherwise you have to purchase a different texture pack with real money. And basically everything in the Bedrock Marketplace costs real money, and very little is free.

            Meanwhile Java edition doesn’t have any paid content in part because the original Minecraft license specified anyone was free to make mods and custom content but were explicitly restricted from charging money for it

    • wabafee@lemmy.world
      link
      fedilink
      English
      arrow-up
      38
      ·
      edit-2
      3 days 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.

      • PlexSheep@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Exactly. Community bindings do exist and are used over the official bindings already, and I think the source code obfuscation is just an annoyance by now.

    • Serinus@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      3
      ·
      3 days 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
        7
        arrow-down
        2
        ·
        3 days 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
      4
      arrow-down
      10
      ·
      3 days 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
        arrow-down
        1
        ·
        3 days 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.

    • PlexSheep@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      That would be good though. Better the communities finds them and they can be patched than when only some black hats know them.

    • Rob Bos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      43
      ·
      3 days 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.

    • ameancow@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      2
      ·
      3 days ago

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

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I’d say its more like going to a fancy ice cream shop with amazing ice cream and ordering vanilla (hehe see what I did there?) or a fancy pizza place known for their amazing topping combinations and just getting a slice of cheese pizza. Its perfectly fine and probably better than some other places you’ve had vanilla ice cream or cheese pizza, but holy crap are you missing out!

      • XM34@feddit.org
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        Then I must be the most plain motherfucker out there. I meddle with Create and Biomes o’ plenty every couple of years, but about 90% of my worlds are vanilla with the exception of a couple of Vanilla Tweaks data packs.

        I tried Feed the Beast once… never again. That was the worst Minecraft experience I’ve had in my entire life!

        • Rekorse@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 day ago

          I started with one of the optimized packs and then added stuff I thought was useful: maps, minimaps, backpacks, way stones, ultimine via enchants.

          After I played that for a while and beat most of the game I wanted to, I tried a vanilla plus pack, betterMC. It had a lot of the same mods but more. After I finished that, I went with allthemods10, but at that point you do need youtube and discord open to ask questions or look up how to do certain things.

          Anyways, had a blast with all of it, I’m on vacation now so I’m playing no mods on my steam deck and as long as I turn on keep inventory its not bad at all. The new copper update is pretty cool!

          Edit: just want to add that applied energistics and mekanism are fantastic mods, I’d put them up there with create, so if you haven’t tried them it might be worth just adding one or both to an otherwise unmodded playthrough.

        • Allero@lemmy.today
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 days ago

          Feed the Beast is commonly overloaded and also commonly shoves things like progression and questing, which are not to everybody’s liking.

          The best approach is always to add the mods you want manually to tailor the experience.

          I personally had most fun with Terrafirmacraft, Thaumcraft, Electrical Age, and GregTech. But those were the days gone, and most of them got stuck at 1.7.10

          • astropenguin5@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            22 hours ago

            Terrafirmacraft and Gregtech do actually have modern 1.20.1 versions! I am currently actually playing a modpack with some friends called Terrafirmagreg, which as the name implies is tfc and Gregtech integrated, along with a bunch of other QOL and add-ons. It is a very fun, and very very long pack.

            Edit: I believe there is a 1.7 version of the pack as well

          • Ice@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            most of them got stuck at 1.7.10

            As did I :) The few times I boot up MC it’s the same old modpacks on the same old versions.

            • Allero@lemmy.today
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              2 days ago

              I too find myself returning back there :)

              So many great mods died after this version that it was impossible to recreate the experience - and I feel bad for those who joined the party later and never knew what 1.7.10 (or 1.6.4, or 1.5.2 for that matter) has to offer.

              It goes so bad that when I recently loaded a newer version, I was like “what the hell is going on here” :D

              • Trainguyrom@reddthat.com
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 day ago

                1.7.10 (or 1.6.4, or 1.5.2 for that matter)

                1.3 was another nasty one. That was the one where multiplayer and singleplayer were merged and LAN play was introduced. Before that mods were released specifically for either single or multiplayer and authors would have to specifically build 2 versions of every mod if they wanted to enable use in multiplayer. This shift killed a ton of mods and version 1.2.5 was a peak for mods like Red Power for example

                If you use an alternate launcher like Prism Launcher it is trivial to install tons of modpacks for any version of Minecraft and manage many different mod loadouts (with handy search and auto-download of both modpacks and individual mods, plus it makes it super easy to modify a modpack you downloaded and add/remove mods) Its really the best way to play modded Minecraft (and has been since the fork from MultiMC) plus unlike most launchers which are super-simplified to not scare newbies, Prism Launcher also exposes tons of handy technical stuff if you want to dive deeper, such as optionally displaying full logs, java version and argument management, world edit and other tool integrations and more.

                It goes so bad that when I recently loaded a newer version, I was like “what the hell is going on here” :D

                Duude. I was super big into reading all of the changelogs and learning all of the undocumented changes from the wikis for every version and preview from when I first started playing back in Beta 1.7.3 until around version 1.6.4 or so. Booting up modern… 1.20something? I can’t even remember whats currentish anymore…anyways I’m so lost and then I try to play like a Beta 1.7.3 player and everyone else just goes “the fuck are you doing?”

                • Allero@lemmy.today
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  edit-2
                  1 day ago

                  No need to advertise Prism - using it already :)

                  Also, UltimMC is a decent offline fork for pirates and privacy enthusiasts (Disclaimer: I do not promote piracy and own a legal Minecraft license)

                  I’m so lost and then I try to play like a Beta 1.7.3 player and everyone else just goes “the fuck are you doing?”

                  Happily, I joined Minecraft when it was already 1.7.2 (release versioning, not Beta), so my ways are not THAT outdated, and obviously I never had issues with 1.7.10 because it’s literally my first version with two minor updates. Who would have known that it will all stop there…

                  Also, I struck some delicate balance with mods at version 1.21.1, but it is for sure still a much different experience.

      • 87Six@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        2
        ·
        edit-2
        11 hours ago

        Not… Really? I mean I get it if you like mods, i do too, but Minecraft offers so much out of the box that I find it extreme to claim that…

        • xttweaponttx@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          Yeah dude I totally agree! Mods are great in their own right, but there’s something to be said for the insane variety of gameplay you can get outta the base game!

  • chunes@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    3
    ·
    3 days 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
      37
      arrow-down
      3
      ·
      3 days 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
        9
        arrow-down
        4
        ·
        3 days 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.

        • Jerkface (any/all)@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 days ago

          No don’t look it up, simply assume that you know what it means without ever seeing a definition because your brain is just better than everyone else’s.

          https://opensource.org/osd

          The Open Source Definition
          Page created on July 7, 2006 | Last modified on February 16, 2024

          Introduction

          Open source doesn’t just mean access to the source code. The distribution terms of open source software must comply with the following criteria:

        • XM34@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 days ago

          Open source and source available are not and cannot be used interchangeably. They mean two extremely different things!

      • finitebanjo@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        2 days ago

        To add to this, it’s exclusively available on the Microsoft Store, which has gotten so bad lately that I refused the terms on their most recent update and haven’t had it installed on any machines since.

        • Lorem Ipsum dolor sit amet@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          2 days ago

          It isn’t? Minecraft: Java Edition (which is getting deobfuscated) is available on their website for Windows, MacOS and Linux. Minecraft: Bedrock Edition has nothing to do with these news.

          • finitebanjo@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            edit-2
            2 days ago

            I could be mistaken but I’m 90% sure the website redirects you to buy it on the Microsoft Store, which is also how it will be installed and launched.

            • Lorem Ipsum dolor sit amet@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              No it isn’t. On Windows there are two versions of Minecraft. “Minecraft: Bedrock Edition” available as a UWP using the Microsoft Store, written in C++ and supporting crossplay with the Minecraft releases for consoles and mobile phones and “Minecraft: Java Edition” available through minecraft.net, written in Java and supporting crossplay with the MacOS and Linux versions.

              • finitebanjo@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                1 day ago

                The Java and Bedrock edition came bundled together for me. Maybe theres a way to redeem it somewhere other than the store, but I am still pretty sure its been the way I described ever since Minecraft was purchased by Microsoft.

      • chunes@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        5
        ·
        edit-2
        3 days 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
          59
          arrow-down
          1
          ·
          3 days 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
            5
            arrow-down
            2
            ·
            edit-2
            3 days 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
              9
              ·
              3 days 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
              11
              arrow-down
              2
              ·
              edit-2
              3 days 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.

              • chunes@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                2 days ago

                Open-sourcing Doom increased, rather than decreased sales.

                Doom also went open source long before there were any sequels, and while it was still the hottest shit in PC gaming.

              • azertyfun@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                And Hytale got shitcanned!

                It’s actually amazing that in an industry so hell-bent on copying successful formulas ad-nauseam (e.g. Quake&Doom spawning the whole genre of First Person Shooters), Minecraft has not seen anything reach the status of spiritual successor in over 15 years of charts-topping sales performance. Not from its own studio, not from its former creator, not with the Late Hypixel Studios.

                There are survival games and base-building games and exploration games, but none of them are “Minecraft-likes” in the way that early FPS were “Quake-likes”. CS has Valorant. LoL has Dota. Tekken has Street Fighter. PUBG has Fortnite has Roblox. Minecraft somehow remains truly one-of-a-kind, a gaming UFO that eludes suits looking for a replicable formula. I actually believe Mojang themselves don’t understand why Minecraft works in the first place either, which is why every update seemingly either underwhelms or angers everyone. That game is lightning in a bottle and no-one knows what to do with it.

                If Nadella had a stroke so bad he decided to make Minecraft FOSS, I’d be really interested to see what would happen. If any for-profit company was allowed to make direct Minecraft derivatives, I do think we would see a level of creativity and innovation that would dwarf even the already extremely prolific current modding scene.

              • C8r9VwDUTeY3ZufQRYvq@sopuli.xyz
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                What proportion of those sales are for Java edition? This sounds like an attempt to make mods and therefore java edition into a more popular/appealing product. They know that most users are not going to do anything with source code.

  • Justifier@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    edit-2
    3 days 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

  • gnu@lemmy.zip
    link
    fedilink
    English
    arrow-up
    30
    ·
    3 days ago

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

    • Nicopf@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days 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!

      • WhiskyTangoFoxtrot@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        When I’m finished with my current game (a 2D platform-adventure game made in Godot) I’m thinking of prototyping my next game in Luanti. It’ll let me experiment with ideas for a large, open-world game without needing to implement my own world-generation system and, since everything is block-based and the expected graphical fidelity is low, it’ll make creating the content a lot easier.

    • Warl0k3@lemmy.world
      link
      fedilink
      English
      arrow-up
      34
      ·
      edit-2
      3 days ago

      As I understand it no, the modloaders will still handle things like file management and conflicts and load orders and etc. Individual mods could implement solutions for that, but it makes more sense to centralize that effort around the modloaders.

      What this will do is make it much less tedious to develop the mods in the first place.

      (I may be wrong and the role of modloaders may have changed in the six years since I was last active in the modding scene without my knowing it)

  • Treczoks@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Obfuscation got more and more useless, as there was a serious pressure that AFAIK even tools popped up to specifically de-obfuscate Minecraft.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      They’ve had something for quite a while now that made it so names weren’t changed between releases so stuff would work better. I don’t remember what it’s called. Like it used to be that a new version meant figuring out everything again.

  • neeeerrrdd@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 days ago

    Would the people developing mod loaders need to completely rewrite their source code to fit this new deobfuscated minecraft?

    • simple@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 days ago

      from what I understand mod loaders will need to remove the part where they deobfuscate code then translate mods. this update will break modloaders for a while but in the end it should simplify the process and make modding easier.