-
-
Save ruabmbua/7745982aabb8b6ebe00b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Mod(modid = RuabmMod.MODID, name = "Ruabm Mod") | |
public class RuabmMod { | |
public static final String MODID = "ruabmmod"; | |
@Instance("RuabmMod") | |
public static RuabmMod ruabmMod; | |
@SidedProxy(serverSide = "org.srcttp.mods.ruabmmod.CommonProxy", clientSide = "org.srcttp.mods.ruabmmod.client.ClientProxy") | |
private static CommonProxy proxy; | |
public static Logger logger; | |
private static ItemRuabm ruabmItem; | |
private static BlockGeneticCraftingTable geneticCraftingTableBlock; | |
@EventHandler | |
public void preInit(FMLPreInitializationEvent event) { | |
logger = event.getModLog(); | |
proxy.printInitMessages(); | |
ruabmItem = new ItemRuabm(); | |
geneticCraftingTableBlock = new BlockGeneticCraftingTable(); | |
GameRegistry.registerItem(ruabmItem, "ItemRuabm"); | |
GameRegistry.registerBlock(geneticCraftingTableBlock, | |
"BlockGeneticCraftingTable"); | |
} | |
@EventHandler | |
public void load(FMLInitializationEvent event) { | |
GameRegistry.registerTileEntity(TileEntityGeneticCraftingTable.class, | |
"GeneticCraftingTable"); | |
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandlerGeneticCraftingTable()); | |
geneticCraftingTableBlock.addRecipes(); | |
proxy.registerRenderers(); | |
} | |
@EventHandler | |
public void modsLoaded(FMLPostInitializationEvent event) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment