Life Essence
This commit is contained in:
parent
cb3412bc84
commit
09ff96fe03
11 changed files with 134 additions and 12 deletions
|
@ -6,10 +6,13 @@ import WayofTime.alchemicalWizardry.registry.ModEntities;
|
|||
import WayofTime.alchemicalWizardry.registry.ModItems;
|
||||
import WayofTime.alchemicalWizardry.registry.ModPotions;
|
||||
import WayofTime.alchemicalWizardry.proxy.CommonProxy;
|
||||
import WayofTime.alchemicalWizardry.util.handler.EventHandler;
|
||||
import WayofTime.alchemicalWizardry.util.helper.InventoryRenderHelper;
|
||||
import lombok.Getter;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.common.SidedProxy;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
|
@ -31,7 +34,7 @@ public class AlchemicalWizardry {
|
|||
@SidedProxy(serverSide = "WayofTime.alchemicalWizardry.proxy.CommonProxy", clientSide = "WayofTime.alchemicalWizardry.proxy.ClientProxy")
|
||||
public static CommonProxy proxy;
|
||||
|
||||
@Mod.Instance
|
||||
@Mod.Instance(MODID)
|
||||
public static AlchemicalWizardry instance;
|
||||
|
||||
public static CreativeTabs tabBloodMagic = new CreativeTabs(MODID + ".creativeTab") {
|
||||
|
@ -50,12 +53,16 @@ public class AlchemicalWizardry {
|
|||
configDir = new File(event.getModConfigurationDirectory(), "BloodMagic");
|
||||
ConfigHandler.init(new File(getConfigDir(), "BloodMagic.cfg"));
|
||||
|
||||
proxy.preInit();
|
||||
EventHandler eventHandler = new EventHandler();
|
||||
FMLCommonHandler.instance().bus().register(eventHandler);
|
||||
MinecraftForge.EVENT_BUS.register(eventHandler);
|
||||
|
||||
ModItems.init();
|
||||
ModBlocks.init();
|
||||
ModItems.init();
|
||||
ModPotions.init();
|
||||
ModEntities.init();
|
||||
|
||||
proxy.preInit();
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue