Step One
Go into alpha and save a file if you don't have one saved already.
Step Two
Go to File, then Open. Find the file and open it. If you saved them to the Minecraft temp folder, read the Sub-Step. If you saved them elsewhere, skip the Sub-Step
-Sub-Step
-- Click on your Start button and go to Run.
-- Type in %appdata%\.minecraft\saves and hit enter.
-- Copy and paste those elsewhere, such as your desktop, to find them easier.
Adding Items and Blocks to your Inventory
This will be easier if you have items or blocks in your Inventory already.
- So now your screen should look something like this:
http:/rimg.in/i/a341rpgk.png
- Go to Search, and type in LocalPlayer. Hit Enter.
- Double-Click the Inventory compound.
- Double-Click one of the Compounds in the Inventory Compound. They are the ones that should say "4 entries" if you have something in that slot.
- If you're editing an existing slot, all you need to edit is the Count byte and the id Short.
*I'll explain how to make and edit empty slots after this.
- Click on the Count Byte and click Edit. You can also just Double-Click it. Edit it to whatever you choose. 250 seems to be the limit.
- Now, click on the id Short and click Edit. Double-Clicking it works the same way.
- Type in the DEC value (Such as 256 for the Iron Shovel,) and hit Enter.
Do the same for the rest of the slots. Save the file and then load it into /indev/ and your edits should be there.
*- To create edit empty slots, click on the Inventory compound and then click on Compound.
- Click on that compound and add a Byte and name it Slot .
- Add another Byte and name it Count .
- Add a Short and name it Damage .
- Add another Short and name it id .
- Now, edit the Slot Byte to the next slot. (If the last one is 3, make the Slot Byte's value 4, and so on.)
- Edit the Count Byte to however many of the item or block you want.
- Keep the Damage Short and 0.
- Edit the id Short to whatever DEC value you want from the two links I gave you earlier.
Save the file and load it up in /indev/ and your edits should be there.
Giving yourself seemingly infinite Health
- Go to Search and type in LocalPlayer and hit Enter.
- Edit the Health value to whatever you'd like. 9999 is the limit.
Save the file and you should have seemingly infinite Health.
Giving yourself seemingly infinite Air
- Go to Search and type in LocalPlayer and hit Enter.
- Edit the Air value to whatever you'd like. 9999 is the limit.
Save the file and you should be able to stay underwater for what seems like forever.