Jump to content

Recommended Posts

Posted

I am trying to control the mob spawn rate at run time. Therefore I thought I could use the methodes

   

    public int getMaxSpawnedInChunk() original in EntityLiving

 

and

 

    public boolean getCanSpawnHere() original in EntityAnimal

 

But both are not called at all. Tho new entities of my class are spawned in a new world...

 

Now I have the questions

 

a) what method and at what time will call the above methods

 

and b) if not with these methods how can I control the spawning rate of creature type entities?

running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है!

width=289 height=100http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]

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.