Advertisement
SlyCooper152

Untitled

Sep 17th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. @Mod(modid = "pt", name = "Practice Mod", version = "1.0")
  2. public class Practice {
  3.  
  4. public static Item itemTable;
  5.  
  6. @EventHandler
  7. public void preInit(FMLPreInitializationEvent event) {
  8. //Item/Block init and registering
  9. //Config handling
  10. itemTable = new ItemTable().setUnlocalizedName("ItemTable").setTextureName("pt:itemtable.png");
  11. GameRegistry.registerItem(itemTable, itemTable.getUnlocalizedName().substring(5));
  12. }
  13.  
  14. @EventHandler
  15. public void init(FMLInitializationEvent event) {
  16. //Proxy, TileEntity, entity, GUIand PacketRegistering
  17.  
  18. }
  19.  
  20. @EventHandler
  21. public void postInit(FMLPostInitializationEvent event) {
  22.  
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement