summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Wolf.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Renamed variables in cWolf.STRWarrior2013-11-101-17/+17
|
* Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.STRWarrior2013-11-101-4/+6
| | | | 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-3/+3
| | | | 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.
* Wolves can now be owned by an entity.STRWarrior2013-11-101-6/+17
| | | | | | | | | 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.
* Initial Metadata Commit [SEE DESC]Tiger Wang2013-10-081-5/+17
| | | | | | | + 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
* Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com2013-07-011-1/+2
| | | | | | | | | 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
* Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com2012-12-221-1/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-5/+16
| | | | 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/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6