Uncategorized

Code for Minecraft Modding

The following is the code that was used to make the Base Mod in my video tutorial on Minecraft Modding.   package tutorial.generic; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; @Mod(modid=Generic.MODID, name=Generic.MODNAME, version=Generic.MODVER) //Tell forge “Oh hey, there’s a new mod here to load.” public class Generic //Start the class Declaration { //Set …