Jump to content

Spawn Entity


somarani

Recommended Posts

Hi, in my mod I have this code in my Pre-Init method to spawn my mob:

 

 

EntityRegistry.addSpawn(EntityLostSoulMob.class, 120, 2, 5, EnumCreatureType.monster,BiomeGenBase.beach, BiomeGenBase.desert, BiomeGenBase.extremeHills, BiomeGenBase.forest, BiomeGenBase.jungle, BiomeGenBase.plains, BiomeGenBase.taiga, BiomeGenBase.taigaHills, BiomeGenBase.frozenRiver, BiomeGenBase.frozenOcean, BiomeGenBase.swampland, BiomeGenBase.extremeHillsEdge, BiomeGenBase.extremeHills,BiomeGenBase.forestHills, BiomeGenBase.hell, BiomeGenBase.sky, BiomeGenBase.icePlains,BiomeGenBase.mushroomIsland, BiomeGenBase.mesaPlateau);


 

although 120 is apparently very high this makes the mob spawn at good amounts, less than all the other mobs (creeper, zombie, etc.) When I'm only playing my mod this number is alright, but when I added it to a modpack to try it out they started spawning at incredibly large amounts. What is a good number to have the weight at so its balanced. And what factors could make my monster spawn uncontrollably?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.