How Are Mobs Implemented?

Post Reply
User avatar
adamnew123456
New member
Posts: 3
Joined: Thu Jun 09, 2011 13:35

How Are Mobs Implemented?

by adamnew123456 » Post

I was looking at some Minecraft footage earlier, and I want to liberalize the rules for spawning mobs to simply do so either in dark places or anywhere at night.

How are mobs implemented in code? The comments say that they are somewhere in environment.cpp, but no variables or further comments mention them.

Where are they within the codebase?
Last edited by adamnew123456 on Thu Jun 09, 2011 20:09, edited 1 time in total.

User avatar
andrei009
New member
Posts: 4
Joined: Sun Jun 05, 2011 11:38

by andrei009 » Post

You could find rats underground , and evil guys cu red eyes (don't know sure how to call them) . They are just underground , not spawning at night (i didn't see mobs in open air)

User avatar
adamnew123456
New member
Posts: 3
Joined: Thu Jun 09, 2011 13:35

by adamnew123456 » Post

andrei009 wrote:You could find rats underground , and evil guys cu red eyes (don't know sure how to call them) . They are just underground , not spawning at night (i didn't see mobs in open air)
Sorry for the misunderstanding - I'd like to find out how to hack out some of the mob's spawning restrictions. The "where" referred to the codebase, not the game itself.

User avatar
adamnew123456
New member
Posts: 3
Joined: Thu Jun 09, 2011 13:35

by adamnew123456 » Post

I found it - the name one should `grep` for is "Oerkki".

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests