summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wolf.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-20Add Wolf Heal with FoodHowaner1-10/+34
2014-02-16Fixes to previous commitTiger Wang1-9/+10
2014-02-16Slight cleanup of wolf codeTiger Wang1-23/+7
2014-02-01Fixed teleport to air, if owner is flying.Kirill Kirilenko1-0/+1
2014-01-26Fixed bug where wolfs would teleport while they were sitting.STRWarrior1-1/+4
2014-01-26Small fix since the new AI and a new small feature.STRWarrior1-6/+27
You get particles when trying to tame wolfs. They don't walk anymore when they are sitting.
2014-01-24Made wolves compatible with new AI codeTiger Wang1-11/+25
2014-01-24Large reworking of mob code [SEE DESC]Tiger Wang1-1/+1
+ Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
2013-12-20Sorted a few constructors to remove warnings.madmaxoft1-2/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-12Now using a TickFollowPlayer function.STRWarrior1-26/+38
2013-11-10Removed #include "../Root.h" since it isn't needed.STRWarrior1-1/+0
2013-11-10Removed #include "../Root.h" since it isn't needed.STRWarrior1-1/+0
2013-11-10Small code-style fixes.madmaxoft1-9/+18
2013-11-10Renamed variables in cWolf.STRWarrior1-12/+12
2013-11-10Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.STRWarrior1-3/+12
You are able to dye the collar.
2013-11-10The owner object isn't stored anymore. Instead we use the name of the player.STRWarrior1-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.
2013-11-10Using cMonster::Tick instead of super::cMonster::TickSTRWarrior1-1/+1
2013-11-10Wolves can now be owned by an entity.STRWarrior1-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.
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-1/+1
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-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
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-20/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added sounds to levers and mobsluksor111@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-9/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-20/+20
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com1-67/+2
- refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-10/+1
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I canĀ“t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6admin@omencraft.com1-16/+15
2011-10-03MCServer c++ source filesfaketruth1-0/+92
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6