Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package kamigreed.mod.medival.common;
- import kamigreed.mod.medival.entity.EntityGoblin;
- import net.minecraft.entity.EnumCreatureType;
- import net.minecraft.world.biome.BiomeGenBase;
- import cpw.mods.fml.common.registry.EntityRegistry;
- import cpw.mods.fml.common.registry.LanguageRegistry;
- public class CommonProxy
- {
- public void registerRenderInformation()
- {
- }
- public void init()
- {
- EntityRegistry.registerModEntity(EntityGoblin.class, "Goblin", 1, this, 30, 1, true);
- EntityRegistry.addSpawn(EntityGoblin.class, 8, 2, 3, EnumCreatureType.creature, BiomeGenBase.beach, BiomeGenBase.extremeHills,
- BiomeGenBase.extremeHillsEdge, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle,
- BiomeGenBase.jungleHills, BiomeGenBase.mushroomIsland, BiomeGenBase.mushroomIslandShore, BiomeGenBase.ocean,
- BiomeGenBase.plains, BiomeGenBase.river, BiomeGenBase.swampland);
- LanguageRegistry.instance().addStringLocalization("entity.MedivalWeapons.Goblin.Goblin", "Goblin");
- MedivalWeapons.registerEntityEgg(EntityGoblin.class, 0x632309, 0x010801);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment