summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Wolf.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed #include "../Root.h" since it isn't needed.STRWarrior2013-11-101-1/+0
|
* Small code-style fixes.madmaxoft2013-11-101-9/+18
|
* Renamed variables in cWolf.STRWarrior2013-11-101-12/+12
|
* Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.STRWarrior2013-11-101-3/+12
| | | | You are able to dye the collar.
* The owner object isn't stored anymore. Instead we use the name of the player.STRWarrior2013-11-101-7/+21
| | | | This means only players can now have a wolf, but it fixes the bug where when you log out the wolf isn't your wolf anymore.
* Using cMonster::Tick instead of super::cMonster::TickSTRWarrior2013-11-101-1/+1
|
* Wolves can now be owned by an entity.STRWarrior2013-11-101-11/+83
| | | | | | | | | They only sit when right clicked by their owner. They beg if the closest player has meat or bones in his hand. They follow their owner. They teleport to their owner if they are more then 30 blocks away. They don't attack players if they are not angry anymore. They don't move if they are sitting.
* Fixed loading allowed mobs in world.madmaxoft2013-10-201-1/+1
|
* Initial Metadata Commit [SEE DESC]Tiger Wang2013-10-081-0/+79
| | | | | | | + 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
* Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com2012-12-221-20/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added sounds to levers and mobsluksor111@gmail.com2012-12-211-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-9/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com2012-09-231-0/+20
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6