Guest User

Untitled

a guest
Apr 1st, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. package kamigreed.mod.medival.common;
  2.  
  3. import kamigreed.mod.medival.entity.EntityGoblin;
  4. import net.minecraft.entity.EnumCreatureType;
  5. import net.minecraft.world.biome.BiomeGenBase;
  6. import cpw.mods.fml.common.registry.EntityRegistry;
  7. import cpw.mods.fml.common.registry.LanguageRegistry;
  8.  
  9. public class CommonProxy
  10. {
  11. public void registerRenderInformation()
  12. {
  13. }
  14.  
  15. public void init()
  16. {
  17. EntityRegistry.registerModEntity(EntityGoblin.class, "Goblin", 1, this, 30, 1, true);
  18. EntityRegistry.addSpawn(EntityGoblin.class, 8, 2, 3, EnumCreatureType.creature, BiomeGenBase.beach, BiomeGenBase.extremeHills,
  19. BiomeGenBase.extremeHillsEdge, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle,
  20. BiomeGenBase.jungleHills, BiomeGenBase.mushroomIsland, BiomeGenBase.mushroomIslandShore, BiomeGenBase.ocean,
  21. BiomeGenBase.plains, BiomeGenBase.river, BiomeGenBase.swampland);
  22. LanguageRegistry.instance().addStringLocalization("entity.MedivalWeapons.Goblin.Goblin", "Goblin");
  23. MedivalWeapons.registerEntityEgg(EntityGoblin.class, 0x632309, 0x010801);
  24. }
  25.  
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment