summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveMonster.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-12Update entity sizesTiger Wang1-2/+2
2021-01-02Fix potential destruction crashes (#5095)Tiger Wang1-6/+0
* Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld
2020-10-09Adding wolf breading and moving breeding functionality to cMonster (#4951)12xx121-40/+0
* 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-09-05Add more statistic tracking (#4837)12xx121-0/+4
+ Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-04-16Using Super.Mattes D1-3/+12
2020-03-22Add ambient mob sounds (#4521)Mat1-1/+1
2016-02-19Proper entity destruction in non-ticking chunksLogicParrot1-0/+2
2015-12-13sheep color inheritanceGargaj1-0/+3
2015-11-30Added documentation for breeding codeSafwat Halaby1-1/+16
2015-11-29implement breedingGargaj1-1/+17
2015-11-23change from single followable item to multipleGargaj1-3/+2
2015-07-31Unified the doxy-comment format.Mattes D1-1/+2
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-09-17Added first test to show the object can be createdTycho1-1/+1
2014-04-26Add entity invulnerableHowaner1-1/+1
2014-01-29Did what xoft saidtonibm191-1/+2
2014-01-29Rewritten code.tonibm191-0/+2
Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-1/+1
2013-09-10Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancymgueydan1-1/+0
2013-09-07Adding Family for monsters : Hostile/Passive/Water/Ambientmgueydan1-0/+2
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
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-6/+18
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-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
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com1-0/+14
- refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6