Tutorial by Examples

This example shows you how to implement proxy classes for your Minecraft Mod Application, which are used to initialize your mod. First of all you will need to implement the base CommonProxy.java class which contains the 3 mainly used method: public class CommonProxy { public void preInit(FMLP...
This example show you how you add new sounds to your MOD and play them. First of all you need a sound file which has the format *.ogg. Any other format is not allowed by the Minecraft application and will be rejected. The soundfile has the name: sound1.ogg Put the sound file under the following pa...
This example shows you different ways to execute 'commands' for Minecraft from code: EntityPlayerSP player = Minecraft.getMinecraft().player; player.sendChatMessage("/Command here"); to send a command in SinglePlayer

Page 1 of 1