A Minecraft mod is a mod that changes the game Minecraft, and it can add additional content, make some changes to features, and make the game run better. Mojang does not provide a loader for modding so the players of the game who are programmers made their own loader. The popularity of mods for the game also helped the game get on the best selling video games list.
The first mods were created for the first version of Minecraft written in Java by decompiling and changing the source code of the game. The first version of the game that has been renamed to Minecraft: Java Edition still has many mods made in this way but more advanced tools are used. Today most mods are using the Fabric or NeoForge to mod recent versions of the game. Both support the the use of Mixins which can be used to mod the game,[1][2] but NeoForge does also patch the game to add API for mod developers
The other version of the game Minecraft: Bedrock Edition is written in C++ and cannot be modded using the same method so DLL injection or the built-in add-ons features is used for modding.[3][4][5]