// Path: src/main/java/com/corwinjv/mobtotems/Reference.java
// public class Reference {
//     public static final String MOD_ID = "mobtotems";
//     public static final String MOD_NAME = "Mob Totems";
//     public static final String MOD_VERSION = "1.12.1-0.3.0";
//     public static final String RESOURCE_PREFIX = MOD_ID + ":";
// 
//     public static final String GUI_FACTORY_CLASS = "com.corwinjv.mobtotems.gui.GuiFactoryMT";
//     public static final String CLIENT_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.ClientProxy";
//     public static final String SERVER_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.CommonProxy";
// 
//     public static final int CHARGE_COLOR = 0xFF00FF00;
// 
//     public enum GUI_ID {
//         OFFERING_BOX
//     }
// 
//     ;
// 
//     public static void PrintEntityList() {
//         Iterator entityNameItr = EntityList.getEntityNameList().iterator();
//         FMLLog.log(Reference.MOD_NAME, Level.INFO, "-Printing Registered Entity Classes-");
//         while (entityNameItr.hasNext()) {
//             String key = (String) entityNameItr.next();
//             FMLLog.log(Reference.MOD_NAME, Level.INFO, String.format("     %s", key));
//         }
//     }
// }
// 
// Path: src/main/java/com/corwinjv/mobtotems/entities/render/SpiritWolfRenderFactory.java
// public class SpiritWolfRenderFactory implements IRenderFactory<EntitySpiritWolf> {
//     @Override
//     public Render<? super EntitySpiritWolf> createRenderFor(RenderManager manager) {
//         return new SpiritWolfRender(manager, new ModelWolf(), 0.5F);
//     }
// }


import com.corwinjv.mobtotems.Reference;
import com.corwinjv.mobtotems.entities.render.SpiritWolfRenderFactory;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
package com.corwinjv.mobtotems.entities;



/**
 * Created by CorwinJV on 2/15/2016.
 */
public class ModEntities {
    private static int ENTITY_ID = 0;

    public static final String SPIRIT_WOLF = "spirit_wolf";

    private static Map<String, Class<? extends Entity>> mEntities = Collections.emptyMap();

    public static void init() {
        mEntities = new HashMap<String, Class<? extends Entity>>();
        mEntities.put(SPIRIT_WOLF, EntitySpiritWolf.class);
    }

    public static void registerEntities(Object modObject) {
        for (String key : mEntities.keySet()) {
            Class<? extends Entity> entityClass = mEntities.get(key);
            if (entityClass != null) {
                EntityRegistry.registerModEntity(new ResourceLocation(Reference.RESOURCE_PREFIX + key), entityClass, Reference.RESOURCE_PREFIX + key, ENTITY_ID++, modObject, 80, 3, false);
                EntityRegistry.registerEgg(new ResourceLocation(Reference.RESOURCE_PREFIX + key), 1, 2);
            }
        }
    }

    public static void registerEntityRenders() {
// Path: src/main/java/com/corwinjv/mobtotems/Reference.java
// public class Reference {
//     public static final String MOD_ID = "mobtotems";
//     public static final String MOD_NAME = "Mob Totems";
//     public static final String MOD_VERSION = "1.12.1-0.3.0";
//     public static final String RESOURCE_PREFIX = MOD_ID + ":";
// 
//     public static final String GUI_FACTORY_CLASS = "com.corwinjv.mobtotems.gui.GuiFactoryMT";
//     public static final String CLIENT_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.ClientProxy";
//     public static final String SERVER_SIDE_PROXY_CLASS = "com.corwinjv.mobtotems.proxy.CommonProxy";
// 
//     public static final int CHARGE_COLOR = 0xFF00FF00;
// 
//     public enum GUI_ID {
//         OFFERING_BOX
//     }
// 
//     ;
// 
//     public static void PrintEntityList() {
//         Iterator entityNameItr = EntityList.getEntityNameList().iterator();
//         FMLLog.log(Reference.MOD_NAME, Level.INFO, "-Printing Registered Entity Classes-");
//         while (entityNameItr.hasNext()) {
//             String key = (String) entityNameItr.next();
//             FMLLog.log(Reference.MOD_NAME, Level.INFO, String.format("     %s", key));
//         }
//     }
// }
// 
// Path: src/main/java/com/corwinjv/mobtotems/entities/render/SpiritWolfRenderFactory.java
// public class SpiritWolfRenderFactory implements IRenderFactory<EntitySpiritWolf> {
//     @Override
//     public Render<? super EntitySpiritWolf> createRenderFor(RenderManager manager) {
//         return new SpiritWolfRender(manager, new ModelWolf(), 0.5F);
//     }
// }


// Path: src/main/java/com/corwinjv/mobtotems/entities/ModEntities.java
import com.corwinjv.mobtotems.Reference;
import com.corwinjv.mobtotems.entities.render.SpiritWolfRenderFactory;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

package com.corwinjv.mobtotems.entities;



/**
 * Created by CorwinJV on 2/15/2016.
 */
public class ModEntities {
    private static int ENTITY_ID = 0;

    public static final String SPIRIT_WOLF = "spirit_wolf";

    private static Map<String, Class<? extends Entity>> mEntities = Collections.emptyMap();

    public static void init() {
        mEntities = new HashMap<String, Class<? extends Entity>>();
        mEntities.put(SPIRIT_WOLF, EntitySpiritWolf.class);
    }

    public static void registerEntities(Object modObject) {
        for (String key : mEntities.keySet()) {
            Class<? extends Entity> entityClass = mEntities.get(key);
            if (entityClass != null) {
                EntityRegistry.registerModEntity(new ResourceLocation(Reference.RESOURCE_PREFIX + key), entityClass, Reference.RESOURCE_PREFIX + key, ENTITY_ID++, modObject, 80, 3, false);
                EntityRegistry.registerEgg(new ResourceLocation(Reference.RESOURCE_PREFIX + key), 1, 2);
            }
        }
    }

    public static void registerEntityRenders() {
        RenderingRegistry.registerEntityRenderingHandler(EntitySpiritWolf.class, new SpiritWolfRenderFactory());