summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-22formatter errorp-mcgowan1-3/+3
2014-11-22villagers turn into witches on lightningp-mcgowan1-2/+4
2014-11-22villagers turn into witches when struck by lightningp-mcgowan1-0/+5
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-09-25Fixed wrong Surrounding sizeHowaner1-3/+3
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-2/+2
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-04-26Add entity invulnerableHowaner1-2/+7
2014-04-12Entities handle chunks properly againTiger Wang1-1/+1
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-1/+1
2014-02-05Fixed most of the reordering warningsTycho1-2/+2
2014-02-02Changed Signiture of OnUpdateTycho1-1/+4
2014-01-28Renamed Farmer functions and added doxycommentsSTRWarrior1-11/+7
2014-01-28Villager: NoCountDown and Action function don't check VillagersShouldHarvestCrops anymore because it shoudn't even be activated anywhere.STRWarrior1-10/+0
2014-01-27Villager doesn't check the environment for crops if it doesn't need to.STRWarrior1-0/+5
2014-01-27The world can now be configured wether farmers should be able to harvest crops.STRWarrior1-0/+10
2014-01-27Villager: Few more comments.STRWarrior1-3/+8
2014-01-27CleanupSTRWarrior1-28/+58
Most code in Tick is now split up in different functions.
2014-01-27Villagers: Harvesting is more rare.STRWarrior1-1/+1
2014-01-27Villager: Farmers can't place crops on blocks other then farmland.STRWarrior1-1/+7
2014-01-27Fixed compiler error.STRWarrior1-1/+1
2014-01-27Villager: Farmer: Crops finding is more random.STRWarrior1-18/+19
2014-01-27Villagers: Farmers now replant the crops.STRWarrior1-1/+16
2014-01-27Villagers: Fixed only gettings the crops block when farming.STRWarrior1-2/+2
2014-01-27Villagers don't look for new crops when they already found one.STRWarrior1-11/+9
Slight cleanup.
2014-01-27Villagers: Farmers can also harvest carrots and potatoes.STRWarrior1-9/+37
2014-01-27Makes farmers farm crops.STRWarrior1-1/+71
2014-01-26Fixed segmentation fault on villager damageTiger Wang1-1/+1
It occurred when attack was environmental.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-1/+1
2013-10-11Fifth round of fixesTiger Wang1-2/+2
* Enumerated Villager spawning
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-2/+20
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-17/+17
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1/+1
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-3/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-9/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-20/+2
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19Added spawn eggs with mobs (patch committed by Luksor)madmaxoft@gmail.com1-0/+45
git-svn-id: http://mc-server.googlecode.com/svn/trunk@979 0a769ca7-a7f5-676a-18bf-c427514a06d6