summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Adding new monster types to enum and saving/loading for easier future implementation (#4941)12xx122020-11-231-33/+69
* Adding wolf breading and moving breeding functionality to cMonster (#4951)12xx122020-10-091-4/+201
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-33/+33
* Reduced packet spam when entities idleTiger Wang2020-07-061-1/+9
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-1/+1
* Using Super.Mattes D2020-04-161-9/+9
* Fix compilation, for real this time.Alexander Harkness2020-04-101-1/+1
* Add Zombie VillagersBond-0092020-04-101-12/+8
* Wolves and mooshrooms are passive mobsMat2020-04-091-2/+2
* Implement wither skeletons (#4563)Mat2020-04-041-93/+93
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-0/+1
* Decrease attack cooldown for monsters (#4542)Mat2020-03-261-1/+1
* Improvements to blaze and ghast (#4547)Mat2020-03-261-1/+1
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+18
* Stabilise MoveToWorld (#4004)Mat2020-03-051-4/+18
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
* Experience orb (#4259)changyong guo2018-08-021-7/+5
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+1
* New movement system for leashed entities (#4147)peterbell102018-01-171-34/+46
* Don't burn mobs in daylight when swimming (#4145)Bond-0092018-01-151-1/+2
* Rename cEntity swim states (#3996)Alexander Harkness2018-01-141-2/+2
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-2/+2
* Fix switch warnings (#4013)peterbell102017-09-141-6/+10
* Remove double-checking below world for burningAlexander Harkness2017-09-011-5/+0
* Fix mobs not burning in daylight when on snow (#3961)Alexander Harkness2017-08-251-3/+3
* Use ref instead of pointerLukas Pioch2017-08-241-6/+6
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-1/+172
* Changed type of FastRandom in monster drop calculation. (#3920)Lane Kolbly2017-08-181-1/+8
* Changed entity ownership model to use smart pointersTiger Wang2017-08-071-40/+34
* FastRandom rewrite (#3754)peterbell102017-06-131-31/+31
* Fixed tracer usage in Entity physics handling. (#3720)Mattes D2017-05-281-7/+8
* Spawn eggs works againLukas Pioch2017-05-221-31/+60
* Don't destroy monster when last target type is a player (#3721)Pablo Beltrán2017-05-211-0/+2
* Spectators added (#2852)bibo382016-10-121-5/+10
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
* Fixed implicit rounding warnings.Mattes D2016-08-191-1/+1
* Fix issues below y = 0LogicParrot2016-04-181-3/+7
* Manual mob burn codeLogicParrot2016-04-061-7/+34
* Proper entity destruction in non-ticking chunksLogicParrot2016-02-191-3/+3
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-27/+94
* Spiders now friendly at daylight, new cChunk functionsLogicParrot2016-01-211-3/+3
* Fix mob attack intervalLogicParrot2016-01-121-1/+15
* Fixed the monster burn code.Mattes D2015-12-301-3/+15
* PF - "Special blocks" handlingSafwat Halaby2015-12-241-14/+28
* blockheight mechanismGargaj2015-12-131-16/+2
* Remove stray "return"Safwat Halaby2015-12-131-1/+0
* Fixed mobs attacking Creative Mode playersSafwat Halaby2015-12-131-2/+14
* Decoupled cMonster and path recalc logic, re-implemented recalcSafwat Halaby2015-12-131-272/+82
* implement breedingGargaj2015-11-291-0/+11
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+2
* Fixed failed assertationbibo382015-11-031-20/+23
* StyleCheck: Check spaces around ==, <=, >=Mattes D2015-10-081-3/+3
* Partial revert of #2446Safwat Halaby2015-09-281-5/+40
* Namechange to CuberiteMattes D2015-09-251-1/+1
* Fixed a position bug in the pathfinderTiger Wang2015-08-221-44/+14
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-13/+13
* Support ageable mobsHallucino2015-07-141-0/+1
* Now Horses spawn with correct data values.bibo382015-06-261-3/+3
* Merge branch 'master' into PreventNewWarningstycho2015-05-291-2/+9
|\
| * AI - Sane SkeletonSafwatHalaby2015-05-281-2/+9
* | Merge branch 'master' into PreventNewWarningstycho2015-05-281-2/+11
|\|
| * AI - Saner LivestockSafwatHalaby2015-05-271-2/+11
* | Merge branch 'master' into PreventNewWarningstycho2015-05-241-3/+3
|\|
| * Pathfinder - Bounding boxes and some tweaksSafwatHalaby2015-05-231-3/+3
* | Merge branch 'master' into PreventNewWarningstycho2015-05-231-2/+3
|\|
| * Path recalculation improvementsSafwatHalaby2015-05-201-2/+3
* | Make -Werror disabling file onlytycho2015-05-191-4/+4
|/
* Manual merge of #2066Alexander Harkness2015-05-191-1/+1
* Pathfinder - approximated paths when original destination unreachableSafwatHalaby2015-05-171-27/+94
* Merge remote-tracking branch 'origin/master' into warningsTiger Wang2015-05-101-3/+5
|\
| * Merge pull request #1956 from Tri125/masterMattes D2015-05-091-1/+1
| |\
| | * Big Magma Cube can now spawnTri1252015-05-071-1/+1
| * | Move chunk position accesses after the chunk validity checksworktycho2015-05-091-2/+4
* | | Fixed some warnings and logic errors in Monster.cppTiger Wang2015-05-101-5/+7
* | | Fixed some Visual Studio warningsTiger Wang2015-05-091-5/+5
|/ /
* | AI - Safer WouldBurnAt()wiseoldman952015-05-061-3/+8
* | AI - Better shade coverwiseoldman952015-05-061-1/+9
* | (duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman952015-05-061-9/+69
|/
* PF - Fixed mobs not reaching leaning playerwiseoldman952015-05-061-2/+3
* AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman952015-05-051-20/+37
* Entity improvementsTiger Wang2015-05-041-169/+110
* Merge pull request #1930 from SafwatHalaby/AI_JumpTiger Wang2015-05-031-5/+15
|\
| * AI - Improved Mob Jumpingwiseoldman952015-05-031-5/+15
* | PathFinder - Crash fix, chunks in parameters are now referenceswiseoldman952015-05-031-2/+2
|/
* Merge pull request #1925 from SafwatHalaby/PathFinder_OptimzeTiger Wang2015-05-021-4/+4
|\
| * PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman952015-05-021-4/+4
* | AI - Better daylight handlingwiseoldman952015-05-021-9/+15
|/
* A* Pathfinding and better monster AIwiseoldman952015-05-011-126/+142
* Added MobTypeName for Giantmathias-gh2015-04-171-0/+1
* Correct world height validations.Tommy Santerre2015-03-201-1/+1
* Converted Monster to std::chronoTycho2015-01-161-11/+11
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-7/+5
* Fixed basic style.Mattes D2014-12-251-1/+1
* Added RabbitsMasy982014-12-201-0/+4
* Guardian can now spawn if wanted!?Masy982014-12-181-1/+1
* Added Entity GuardianMasy982014-12-181-0/+4
* Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-12-061-5/+22
|\
| * BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-5/+22
* | Merged branch 'origin/master' into c++11.Mattes D2014-12-041-62/+62
|\|
| * MobSpawner fixes.Howaner2014-12-011-0/+1
| * Merge branch 'master' into MobSpawnerHowaner2014-12-011-10/+0
| |\
| | * Removed old StringToMobType() function from Monster.cppHowaner2014-11-301-10/+0
| * | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner2014-11-291-52/+61
| |/
| * Mobs: Fixed crash with terrain too high.Mattes D2014-11-151-2/+2
| * En masse NULL -> nullptr replaceTiger Wang2014-10-231-14/+14
* | Merge remote-tracking branch 'origin-master' into c++11Tiger Wang2014-11-261-2/+2
* | En masse NULL -> nullptr replaceTiger Wang2014-10-201-14/+14
* | Migrated random generators to std::randomTiger Wang2014-10-191-1/+0
|/
* Fixed a missed value.madmaxoft2014-10-051-1/+1
* Fixed eMonsterType Lua API mismatch.madmaxoft2014-10-051-0/+10
* Merge branch 'master' into redstoneTestsTycho2014-09-251-0/+54
|\
| * Merge branch 'master' into EntityCustomNameHowaner2014-09-231-1/+5
| |\
| * | Added CustomName saving.Howaner2014-09-021-2/+8
| * | Added name tagHowaner2014-09-011-0/+19
| * | Added CustomName to cMonster.Howaner2014-09-011-0/+29
* | | Merge branch 'master' into redstoneTestsTycho2014-09-171-1/+5
|\ \ \ | | |/ | |/|
| * | Improved cBlockHandler::DropBlockTiger Wang2014-09-131-1/+1
| * | Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner2014-09-021-2/+2
| * | Added SetWalkSpeed() to cMonster.Howaner2014-08-301-0/+4
| |/
* / Added first test to show the object can be createdTycho2014-09-171-58/+58
|/
* Fixed mob burning.reiter2014-08-281-1/+1
* Merge branch 'master' into MonsterHowaner2014-08-041-2/+1
|\
| * Refactored case-conversion functions.madmaxoft2014-08-041-2/+1
* | Changed /** to /*Howaner2014-08-041-3/+5
* | Fixed warningsHowaner2014-08-041-3/+3
* | Attempt to fix knockback and swimming.Howaner2014-08-041-3/+9
|/
* Improved endermen code a littleTiger Wang2014-08-011-1/+3
* Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-07-221-19/+5
|\
| * Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-1/+1
| * Monsters: Made IsUndead overridable by the respective mob classesarchshift2014-07-191-10/+0
| * Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
| * Fixed clamping issuesarchshift2014-07-191-5/+1
| * Merge branch 'Entities'madmaxoft2014-07-181-2/+2
| |\
| | * Fixed slime-related comments.madmaxoft2014-07-181-2/+2
| | * Slime sizes are 1, 2 or 4 and not 1, 2 or 3.Howaner2014-07-181-1/+1
* | | Merge branch 'master' into portalsTiger Wang2014-07-181-48/+43
|\| |
| * | Monster fixesTiger Wang2014-07-181-26/+1
| * | Fixed tabs used for alignment.madmaxoft2014-07-171-1/+1
| * | Basic style fixes.madmaxoft2014-07-171-3/+3
| * | Normalized comments.madmaxoft2014-07-171-12/+12
| |/
| * Merge branch 'master' into potionsmadmaxoft2014-07-171-3/+3
| |\
| | * Merge pull request #1193 from mc-server/deathmessagesMattes D2014-07-171-3/+3
| | |\
| | | * Tailored death messagesTiger Wang2014-07-041-3/+3
| * | | Merge branch 'master' into potionsmadmaxoft2014-07-151-3/+3
| |\| |
| | * | Merge branch 'master' into SoundsHowaner2014-07-131-1/+1
| | |\ \
| | | * \ Merge branch 'master' into SheepHowaner2014-07-131-1/+1
| | | |\ \
| | | * | | Fix sheep color's, add shear sound.Howaner2014-06-281-1/+1
| | | | |/ | | | |/|
| | * | | Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-2/+2
| | | |/ | | |/|
| * | | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-1/+1
| |\| |
| | * | Fixed slime handling in cMonster::StringToMobType().madmaxoft2014-07-061-1/+1
| | |/
| * | EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-45/+0
| * | Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift2014-06-171-1/+1
| * | Fixed MSVC compilation.madmaxoft2014-06-171-3/+3
| * | Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift2014-06-171-2/+2
| * | Monster: added IsUndead(), undead-specific entity effectsarchshift2014-06-171-0/+65
| |/
* | More suggestionsTiger Wang2014-06-211-1/+1
* | Fixed decision failureTiger Wang2014-06-051-1/+1
* | Added checks for no downfall biomesTiger Wang2014-06-041-1/+1
* | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-06-041-4/+14
|\|
| * Small tweak for mobsSTRWarrior2014-06-021-4/+14
* | Very minor code changesTiger Wang2014-05-291-1/+1
|/
* Merge pull request #998 from mc-server/StatManagerMattes D2014-05-181-1/+3
|\
| * Fixesandrew2014-05-131-1/+1
| * Movement Statisticsandrew2014-05-121-1/+3
* | Fixed a few more switch warnings.archshift2014-05-121-0/+2
|/
* Fixed MagmaCube spawning.madmaxoft2014-05-021-0/+4
* Merge pull request #940 from Howaner/GlobalFixesMattes D2014-04-281-2/+6
|\
| * Add entity invulnerableHowaner2014-04-261-2/+6
* | Fixed mobs that don't naturally spawn.archshift2014-04-261-2/+5
* | Giants!archshift2014-04-251-6/+11
|/
* Fixed class capitalization for the cave spider.archshift2014-04-241-1/+1
* Compilation fixTiger Wang2014-04-181-1/+1
* Fixed #906Tiger Wang2014-04-181-1/+2
* Fixed #904Tiger Wang2014-04-181-1/+1
* Added new AI rulesTiger Wang2014-04-171-12/+26
* Fixed GitHuB WebEdit fail.Alexander Harkness2014-04-101-0/+1
* Update Monster.cppAlexander Harkness2014-04-101-2/+4
* Final realisation of suggestionsTiger Wang2014-03-311-5/+7
* Fixed a few Y too high/low assertsTiger Wang2014-03-311-5/+5
* Wither invulnerabilityandrew2014-03-241-0/+1
* Fixed double to float conversions.madmaxoft2014-03-161-5/+5
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-5/+5
* Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper2014-02-241-1/+1
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-0/+76
* Improved formattingtonibm192014-02-171-2/+2
* Now mobs can't escape from fences.tonibm192014-02-161-2/+2
* Fixed #627Tiger Wang2014-02-111-14/+0
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-4/+4
|\
| * Merge pull request #646 from worktycho/warningfixesAlexander Harkness2014-02-051-4/+4
| |\
| | * Fixed most of the reordering warningsTycho2014-02-051-4/+4
* | | Merge branch 'master' into playerimprovementsTiger Wang2014-02-091-0/+12
|\| |
| * | Blank lines and indentation.tonibm192014-02-041-0/+4
| * | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm192014-02-031-0/+8
| |/
* / Fixed a bunch of MSVS warningsTiger Wang2014-02-051-1/+1
|/
* Monster's nominal speed was increased.Kirill Kirilenko2014-02-011-1/+1
* Implemented fall damage for mobsTiger Wang2014-01-251-4/+27
* Mob bugfixesTiger Wang2014-01-251-20/+29
* Fixed a generator bugTiger Wang2014-01-251-0/+3
* Miscellaneous improvementsTiger Wang2014-01-241-5/+4
* Monsters no longer check for direct line of sightTiger Wang2014-01-241-10/+2
* Large reworking of mob code [SEE DESC]Tiger Wang2014-01-241-162/+238
* Removed obsoleted functionsTiger Wang2014-01-161-1/+1
* Merge branch 'fixes&features' of git://github.com/tonibm19/MCServermadmaxoft2013-12-251-0/+6
|\
| * Some fixes (SEE DESC)tonibm192013-12-231-0/+6
* | Preliminary mobile entity savingTiger Wang2013-12-251-1/+2
|/
* EnderDragons and SnowGolems are able to spawn.STRWarrior2013-12-221-0/+2
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-7/+7
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
* Fixed not getting XP from mobs.STRWarrior2013-12-141-0/+6
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-0/+55
* Moved source to srcAlexander Harkness2013-11-241-0/+758