Programming, Artificial Intelligence, and Minecraft: Part 2 – Sheep
In my previous post in this ongoing series I outlined some of my plans regarding the growth and reproduction of grass through various changes to the dirt, grass, and tall grass blocks.
Now lets think about animals. Animals are more complex, they are going to need a hierarchy of needs. Lets make our sheep pretty simple and give them 2 needs, food and reproduction. Hunger/energy is already in the game. Now we just need to apply it to animals as well. Lets use tall grass as our food source and sheep as our animal.