summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveMonster.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Experience orb (#4259)changyong guo2018-08-021-5/+6
| | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-33/+16
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-16/+33
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-33/+16
|
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-1/+1
|
* Added basic ocelot behavior (#3829)Bond-0092017-07-121-1/+1
|
* When right-clicking on a passive mob with 'his' spawn egg spawn a babyBond_0092017-07-021-2/+20
|
* FastRandom rewrite (#3754)peterbell102017-06-131-2/+1
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* Fix passive mob destruction crashesLogicParrot2016-03-281-0/+1
|
* Proper entity destruction in non-ticking chunksLogicParrot2016-02-191-4/+12
|
* Prevent interspecies breedingLogicParrot2016-02-041-11/+25
|
* sheep color inheritanceGargaj2015-12-131-1/+20
|
* Added documentation for breeding codeSafwat Halaby2015-11-301-4/+9
|
* implement breedingGargaj2015-11-291-11/+138
|
* change from single followable item to multipleGargaj2015-11-231-3/+5
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Added first test to show the object can be createdTycho2014-09-171-1/+1
|
* Add entity invulnerableHowaner2014-04-261-2/+6
|
* Did what xoft saidtonibm192014-01-291-1/+1
|
* Rewritten code.tonibm192014-01-291-1/+15
| | | | | Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
* Large reworking of mob code [SEE DESC]Tiger Wang2014-01-241-14/+2
| | | | | | | + Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
* Moved source to srcAlexander Harkness2013-11-241-0/+59