Minecraft – How to install Single Player Commands on Minecraft for Ubuntu? I need Step-by-Step instructions

minecraft-java-edition

I'm trying to download this Mod for Minecraft from this link http://www.minecraftforum.net/topic/94310-125-single-player-commands-v322-official-download/

I have no idea how to install the mod. I've seen videos on Youtube but most of their comments state that there wrong. I have Ubuntu.

Best Answer

Similarly to Risugami's Mac OS X scripts for applying modifications, I have made these two scripts that will 1) open the minecraft.jar, which allows you to drag and drop the *.class files into the mctmp folder. And 2) close and apply whatever changes were made to the mctmp folder, to the minecraft.jar

Here: openjar.sh

#!/bin/bash
cd ~
mkdir mctmp
cd mctmp
jar -xf ~/.minecraft/bin/minecraft.jar

closejar.sh

#!/bin/bash
cd mctmp
rm META-INF/MOJANG_C.*
jar -uf ~/.minecraft/bin/minecraft.jar ./
cd ..
rm -rf mctmp