Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package jip.jipmod.init.modEntityClasses;
- import jip.jipmod.Reference;
- import net.minecraft.entity.EnumCreatureType;
- import net.minecraft.world.biome.BiomeGenBase;
- import net.minecraftforge.fml.common.registry.EntityRegistry;
- public class EntityRegisterHorror {
- public static void registerMobs()
- {
- // http://www.colorpicker.com/ http://www.mathsisfun.com/hexadecimal-decimal-colors.html
- EntityRegisterHorror.registerEntity(EntityHorror.class, "horror", 150, 4534038, 14071595);
- }
- public static void registerEntity(Class entityClass, String name, int id, int primaryColor, int secondaryColor)
- {
- EntityRegistry.registerModEntity(entityClass, name, id, Reference.MOD_ID, 80, 3, false,primaryColor,secondaryColor);
- }
- public static void addSpawns()
- {
- EntityRegistry.addSpawn(EntityHorror.class, 100, 0, 0, EnumCreatureType.MONSTER, new BiomeGenBase[] { BiomeGenBase.iceMountains, BiomeGenBase.desert, BiomeGenBase.forest});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment