package main.flowstoneenergy.entities;

import cpw.mods.fml.common.registry.EntityRegistry;
import main.flowstoneenergy.FlowstoneEnergy;

public class FEEntityRegistry {

    public static void init() {
        EntityRegistry.registerModEntity(EntityRobot.class, "EntityRobot", 0, FlowstoneEnergy.instance, 80, 3, true);
    }

}

@@ -33,16 +33,92 @@
 ities;%0A%0A
+import net.minecraft.entity.Entity;%0Aimport net.minecraft.entity.EntityList;%0A
 import c
@@ -394,13 +394,713 @@
 e);%0A    
+    %0A        registerEntityEgg(EntityRobot.class, 0 ,0);%0A    %7D%0A%0A    @SuppressWarnings(%22unchecked%22)%0A    public static void registerEntityEgg(Class %3C? extends Entity%3E entity, int primaryColor, int secondaryColor)%0A    %7B%0A        int id = getUniqueEntityId();%0A        EntityList.IDtoClassMapping.put(Integer.valueOf(id), entity);%0A        EntityList.entityEggs.put(Integer.valueOf(id), new EntityList.EntityEggInfo(id, primaryColor, secondaryColor));%0A    %7D%0A        %0A    public static int getUniqueEntityId()%0A    %7B%0A    %09int startEntityId = 400;%0A        do%0A        %7B%0A            ++startEntityId ;%0A        %7D%0A        while (EntityList.getStringFromID(startEntityId) != null);%0A%0A        return startEntityId;%0A    
 %7D
-%0A
 %0A%7D%0A

Update FEEntityRegistry.java