Hacking is altering software in order to make it work in a way not originally intended. This is not be confused with 'Cracking' or Black Hat hacking - the process of defeating of security devices in computer networks or software copy protection. For more on the difference between types of hacking, see this article.
In Minecraft, hacking refers to using a memory editor in order to alter the variables which the Minecraft Java runtime, or standalone application is storing on your computer. This allows you to do virtually anything, including access blocks not usually available (such as a Monster Spawner).
Items
Method
Alpha/Beta
Note: All Cheats in Beta appear to be patched on SMP
- Open Minecraft and start a new game or load a saved game.
- Open Cheat Engine (Windows) or Game Conqueror (Linux).
- Select process 'javaw.exe' near the bottom ('java' for Linux). (Please note: If you have downloaded the standalone, select 'Minecraft.exe' from the list instead.)
- Get at least 3 of some block type in your quick slot.
- Start a new search and search for that quantity.
- Drop an item (Q).
- Search for the new value.
- Drop another (or pickup the old one, doesn't matter).
- Search for the new value. You should only have a few now. Repeat until you only have ONE entry.
- Double click to add entry.
- In the bottom pane, right click and choose 'Browse this memory region'.
- Exactly 8 bytes to the right of the block's quantity is the block's TYPE. Compare with the hex values found here.
- To change the type, copy the DECIMAL value from the data values page, double click on the type in the memory viewer, select 2 bytes, and paste. You can do this for items (e.g. Ingots) as well as blocks.
Here is a video going through the process
Item Duplication/ for alpha,beta
- Exactly do the steps mentioned above but instead of right clicking and choosing "Browse this memory region"( if you don`t want to change the item though) you proceed click on the value of the entry that was left because the procedure mentioned above , right there you can type how many blocks(or items) you want.
- It is recommended to not go pass 999 blocks/items. Also if you have more than 64 keep them in your quick slot because if you try to put them in your inventory or in a chest the blocks will be divided by 64 and they will fill all your inventory. To avoid this just simply have 999 of some block/item, save and quit , restart the game and the block/item will appear but without a number and thanks to this you can put the 999 blocks/items in your inventory or chest , this is because it will trick the game that you only have 1 block/item of that kind but instead you have 999* (*whatever number you typed)
- Have fun with unlimited lava for making volcanoes, unlimited snow, unlimited water, obsidian and TNT to make huge atomic explosions ( believe me 64 makes a big hole,let yourself experiment with 999+ blocks of TNT.
Here is a video going through the process.
Classic
- Open Cheat Engine (Windows) or Game Conqueror (Linux).
- Select process 'javaw.exe' near the bottom ('java' for Linux). (Please note: If you have downloaded the standalone, select 'Minecraft.exe' from the list instead.)
- In minecraft, make sure you have the first block in your UI as stone.
- Scan for the exact value 1.
- Go to minecraft and change the first block in the UI to cobblestone.
- Scan for the exact value 4.
- Go to minecraft and change the first block back to stone.
- Repeat step 4.
- This should yield one or two addresses. Pick one (or both) and change the value to one of the following material values from this list.
Health
Even with peaceful mode set, it is easy to fall into lava and die, losing all your hard earned valuable in the process. Luckily, it is very easy to hack your health to become truly invulnerable.
Method
- Open Minecraft.
- Open Cheat Engine and select javaw.exe.
- Get your number of hearts, and double it, adding one if you have a half heart (full hearts = 20), and start a new search in CE with this value.
- Get hurt a bit, or heal a bit, and recalculate your HP. Enter this value for the next search.
- Repeat until one value remains. Double click to add.
- Either set to a very high value (~34567), or set to 20 and freeze.
- Enjoy (near) invulnerability.
Here is a video going through the process.
NOTE: If you freeze your value, do not enter/leave The Nether, this will move the address where you HP is stored, possibly leading to data corruption and crashed games. Also, you won't be invulnerable again. You can re do the above hack WHILE in The Nether, though, and it works fine.
Or:
- Open an inventory editor, such as INVedit.
- Put any type of armor on the player.
- Set the damage to something low like -34567.
- Save it to a world.
- Open the world you saved it to.
- Enjoy (near) invulnerability.
NOTE: If you wade in lava or fall off of something, then close the game and reload it, you may be dead.
Unbreakable Tools
A unbreakable tool is a tool that will never wear down or break from being used.
Method
- Open Minecraft.
- Open Cheat Engine and select javaw.exe.
- Equip a tool that is in perfect condition.
- Find a block that is used by that tool (i.e. stone for a pickaxe, dirt for a shovel).
- Destroy the block with the tool and search for a value of 1 in CE.
- Do this again destroying another stone block and search for 2.
- Repeat until you have only one address left.
- Edit the value to something like -30000 and enjoy. You can now close Cheat Engine as these changes will persist (even across saves).
Here is a video going through the process.
- This can also be done by using an inventory editor and changing the "Damage" value to a negative number when the tool is selected.
Other Hacks
A cube of destruction after the action.
A 3x3 cube of destruction after its effect.
Cube of destruction (CoD)
A cube of destruction is actually a n*n*n cube of tnt, that has been frozen on the TNT state and will never change back to air until the JVM changes block addresses.
- Open minecraft and load/start a new game.
- Collect a few of any block type (dirt recommended) and place your cube (any size, any shape).
- Open Cheat Engine and select javaw.exe at the bottom of the process list.
- Select size 'Byte'.
- Search for the value of the type of block you used (3 for dirt, find other data values if you used another block type).
- Destroy the cube.
- Return to CE, and search again for value '0'.
- Reconstruct the cube at the same exact spot.
- Search again for the block's value.
- Repeat placing, filtering for block type, destroying, and filtering for 0 until only a few items are on the list (i.e. 8 for a 2*2*2 cube), then select the values and click the red arrow.
- Set the values to 46, and then freeze.
- In game, whack a few of the TNT and run.
- You will die unless you hacked your health. Before respawning, un-freeze the values, and respawn to see the damage.
There is a video showing the how to do the hack here.
There is a video better showing the effects here.
Changing Blocks Already Placed
Namely Bedrock
changing a cube on the field is very similar to creating a Cube of destruction in that you are trying to find a cube that has been placed and changing it to something else
- Open minecraft and load/start a new game.
- Collect a few of any block type (i used torches because they don't occur naturally and therefore there are fewer of them to sort through) and place it on top of the cube you are trying to change
- Open Cheat Engine and select javaw.exe at the bottom of the process list.
- Select size 'Byte'.
- Search for the value of the type of block you used (50 for torches, find other data values if you used another block type).
- Destroy the block.
- Return to CE, and search again for value '0'.
- place the block at the same exact spot.
- Search again for the block's value.
- Repeat placing, filtering for block type, destroying, and filtering for 0 until only one item is on the list, then select the values and click the red arrow.
- repeat the process only this time placing the block under the one you want to change
- once you have the 2 items in the list check their addresses and the last value should be the only difference (example the one on top 1B901B6A and 1B901B68 it counts from down to up starting from 0 to 9 then A to Z)
- now search the same way but for the number of the block you want to change (7 for bedrock) and repeat searching for the number several times to weed out the values that change
- now this list will be long but it is in order so scroll down to the addresses close to the 2 you already have and look for the one that falls in between them (example 1B901B69) add it to your list and change it's value to what you want ( like 3 for dirt so you can destroy it) or change your entire castle into diamond with out having to tear it down first (find the values of a lot of blocks by getting the adresses from the top of the building and bottom at each spot btw this could take a while)
The is a video going through a similar process here.
Consequences
Trying to do this can result you in getting banned/kick/ipbanned in multiplayer servers, though the server will know when you're cheating/hacking. It will display "Cheat detected: Tile type" and will reset everything back to normal, so it only works in Single player. It should be noted that hacking is only feasible in single player mode, and attempting it on a multiplayer server can result in the software kicking you from the server. Hacking in Multiplayer is severely frowned opon.