summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wolf.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-09Adding wolf breading and moving breeding functionality to cMonster (#4951)12xx121-0/+17
* added wolf breading * mpoved breeding to monster * checkstyle * fixed my IDE "helping" * removed magic number and fixed faster aging * added flooring to age manipulation * fixed copiler error * fixed typo * moved tps to Defines.h * removed the TPS constant from the lua API exposure * added inline constexpr added explanation * fixed broken build * "fixed" build Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-04-16Using Super.Mattes D1-3/+4
2017-08-25Add cUUID class (#3871)peterbell101-7/+8
2017-08-13Replaced includes with forward declarationsLukas Pioch1-1/+1
2016-01-22Improved tamed wolf pack cooperation and projectile reactionsLogicParrot1-7/+10
2016-01-16Fix crash when tamed wolf is hit by arrowsLogicParrot1-1/+1
2016-01-12Tamed wolf assists owner (attack / defence)LogicParrot1-1/+11
2015-11-08fix cavespider poisoning even if attack is in cooldownGargaj1-1/+1
make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'master' into cavespider-attack fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style fix cavespider poisoning even if attack is in cooldown make attack function more responsive fix cavespider poisoning even if attack is in cooldown make attack function more responsive Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack code style Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'master' into cavespider-attack Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-2/+2
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-2/+2
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-08-03Wolf uses UUID for owner.madmaxoft1-2/+8
Fixes #1277.
2014-07-24Removed redundant semicolons and re-added warningarchshift1-1/+1
2014-04-26Add entity invulnerableHowaner1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+1
2014-01-24Made wolves compatible with new AI codeTiger Wang1-0/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-12Now using a TickFollowPlayer function.STRWarrior1-20/+22
2013-11-10Small code-style fixes.madmaxoft1-13/+14
2013-11-10Renamed variables in cWolf.STRWarrior1-17/+17
2013-11-10Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.STRWarrior1-4/+6
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-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.
2013-11-10Wolves can now be owned by an entity.STRWarrior1-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.
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-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
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-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
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-1/+4
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-5/+16
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-12/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com1-15/+5
- refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 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-3/+3
2011-10-03MCServer c++ source filesfaketruth1-0/+22
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6