drackiseries

Minecraft Forge - Starting a Mod

Nov 3rd, 2012
960
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.93 KB | None | 0 0
  1. // CODE FOR FIRST TUTORIAL
  2.  
  3. ackage Tutorial;
  4.  
  5. import cpw.mods.fml.common.Mod;
  6. import cpw.mods.fml.common.Mod.Init;
  7. import cpw.mods.fml.common.Mod.PreInit;
  8. import cpw.mods.fml.common.event.FMLInitializationEvent;
  9. import cpw.mods.fml.common.event.FMLPreInitializationEvent;
  10. import cpw.mods.fml.common.network.NetworkMod;
  11.  
  12. @Mod(modid = "Tutorial", name = "Minecraft Forge Tutorial", version = "v1.0")
  13. @NetworkMod(clientSideRequired = true, serverSideRequired = true)
  14.  
  15. public class mod_tutorial
  16. {
  17.     @PreInit
  18.    
  19.     public void initConfig(FMLPreInitializationEvent fpe)
  20.     {
  21.        
  22.     }
  23.    
  24.     @Init
  25.    
  26.     public void load(FMLInitializationEvent fie)
  27.     {
  28.         registeringBlocks();
  29.         itemNames();
  30.         recipes();
  31.         smelting();
  32.     }
  33.    
  34.     public void registeringBlocks()
  35.     {
  36.         //BLOCKS
  37.     }
  38.  
  39.     public void blockNames()
  40.     {
  41.  
  42.         }
  43.    
  44.     public void itemNames()
  45.     {
  46.        
  47.     }
  48.    
  49.     public void recipes()
  50.     {
  51.        
  52.     }
  53.    
  54.     public void smelting()
  55.     {
  56.        
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment