Talk:Mob AI

Better name
I think Mob Behavior is a better name for this article. – ultradude25 ( T &#124; C ) at 07:13, 20 March 2012 (UTC)
 * The goal of this article is to comprehensively cover all the Mobs AI systems and their behavior. Behavior could be a better name, but ultimately, the AI is what allows for their "behavior". This article should document the how the mob AI works or how it allows for specific mob behavior, and analyze the mobs behavior during certain situations. I'm hoping that there will be many scenarios documented here. - Asterick6 04:46, 22 March 2012 (UTC)

Hostile Mob AI before 1.2
Should add note that hostile mobs will not chase over lava, 1.0,1.1,1.2 this has been verified.

[Anon]

Edited the skeleton behaviour list
I have replaced "Skeletons will evade the player when hit, and will constantly maintain a certain amount of distance between itself and the mob it is attacking while firing its arrows."

with my own, mentioning that the skeleton will circle the player with a constant radius. If this is incorrect, please let me know. Jishaxe 12:35, 21 June 2012 (UTC)

What are houses to villagers?
So I've done some pretty extensive research to finally answer the question: What is a house to a villager?

Here are all of my notes while experimenting with villagers and houses...

I've had to use PasteBin to submit the data as the wiki completely butchers the formatting. I hope this isn't again any rule and if so please let me know as I'm sure you will. See it here.

Also, since this is my first contribution, I wasn't sure how to directly integrate any of it into the actual page so I'll let someone else do that if there's any interest.

I can also provide screenshots if need be.

BlueKoda –The preceding undated comment was added on 08:32, 22 July 2012. Please sign your posts with


 * Looks good, I'm adding it in. Next time just add it as a new subsection under the Villager section. --M0rphzone(talk) (*How to remove sidebar*) 23:48, 3 September 2012 (UTC)


 * In 1.5.1, this information conflicts with Tutorials/Village mechanics and testing agrees with other page. frogjg2003 06:03, 27 April 2013 (UTC)

What is a cave to a bat?
From looking at the source code to Minecraft, a bat recognizes a cave (for spawning) if it meets these conditions: I don't want to add this into the page because I am not sure of the info. Also, the calendar seems to used to check the current time in milliseconds, but all else is stored on login. Pokechu22 01:41, 11 November 2012 (UTC)
 * 1) The Y-Coordinate is less than or equal to 63
 * 2) Something involving a calendar (which I think is checking weather the date is Halloween) that seems to allow bats to spawn in light level 7
 * 3) Fails to spawn if a random number between 0 (inclusive) and the acceptable light level (exclusive)(Which is 4 unless the above is true) is more than the light level at the position the bat is trying to spawn, and otherwise will preform the check for all mobs of weather it is in a wall.


 * The effect of the code involving the calendar is that between October 20 and November 3, bats can spawn in light levels up to 7. The rest of the year, they can spawn in light levels up to 4, and have a 50% chance of not spawning anyway. -- Orthotope 03:28, 11 November 2012 (UTC)

Snowmen
I know its a pretty straight forward mob, but i think it should be included in this article. 209.65.242.121 12:23, 4 December 2012 (UTC)TowerTD

Giant do not move
all you see is giant standing still and looking around, 1.8 giants don't do anything (hint: giants don't do anything in 1.8 cause of armor on them)

Mob Stupidity, Wanderlust, and Playfulness
This article seems to lack a couple aspects I've noticed in mobs, particularly Villagers and Chickens.

First, they seem to want to climb up or jump up anything they can get to. Villagers will jump up my shelves and get onto the roof area of my building during construction; they also jump straight into my cooking pot (Pam's HarvestCraft) and hop around while looking at their feet. Chickens seem to love to climb up areas and jump off, repeatedly.

Almost any time you open a fence gate, chickens will head straight for it. I've seen this behavior with other mobs too (sheep, cows, pigs), but chickens are slippery little devils; I don't know if they do it more often or are just more annoying when they do it (or if it's because I tend to have more chickens in a flock than other animals in their herds). Villagers likewise tend to run through fence gates when available.

Together, these two aspects make for some interesting behavior. Villagers and animals both seem inclined to escape their cages. Villagers seem suicidally stupid, going up to high places, looking over the edge, and falling off - sometimes pushed by their buddies, so maybe it's more homicidal than suicidal, though certainly they'll do it on their own, over and over. And chickens are playful: Not only will they climb up and jump off blocks, making for awesome amusement rides, but they seem to enjoy water and seek it out; before water started killing my chicks, I'd make "Chicken Enrichment Centers" to give them interesting things to do while they donated their eggs.

Can anyone confirm what sort of behavior is actually happening here, and put up notes to this effect on the page? Kilyle (talk) 08:58, 13 August 2014 (UTC)

Enderman Ideas


Endermen should have a small area where they collect naturally spawning items, and very rarely some cobblestone or woodplanks. Maybe sometimes they could have end stone or coal ore, if find a crafting table or are given one they could craft random items or try to imitate the player. This could happen after the enderdragon is killed as they would have lost their home.