summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Explosions: improve performanceMeguminTiger Wang2022-07-191-3/+3
|
* Only nether-native mobs can see through lavaRorkh2021-10-021-1/+1
|
* Update entity sizesTiger Wang2021-04-121-1/+1
|
* Monsters: improve targetingTiger Wang2020-12-211-16/+9
| | | | | | * Replace DoWithNearestPlayer with bounding box search (avoid iterating through all players in world). * Do line-of-sight checks from eye-to-eye. + Added LOS and LOS lost timer to target lost checks, in addition to distance.
* Using Super.Mattes D2020-04-161-4/+4
|
* Add ambient mob sounds (#4521)Mat2020-03-221-2/+2
|
* Improvements to knockback (#4504)Mat2020-03-191-1/+3
| | | | | * Improvements to knockback * SetSpeed for explosions * Improve code consistency
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Tracer replacement (#3704)Mattes D2017-05-111-7/+10
| | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
* Spectators added (#2852)bibo382016-10-121-4/+7
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-6/+6
|
* Spiders now friendly at daylight, new cChunk functionsLogicParrot2016-01-211-3/+3
|
* Fix mob attack intervalLogicParrot2016-01-121-4/+2
|
* PF - "Special blocks" handlingSafwat Halaby2015-12-241-2/+2
|
* Fixed mobs attacking Creative Mode playersSafwat Halaby2015-12-131-9/+1
|
* fix cavespider poisoning even if attack is in cooldownGargaj2015-11-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* don't attack if deadGargaj2015-11-071-1/+1
|
* Removed unused functionTiger Wang2015-08-221-18/+0
| | | | * Fixes #2444
* Merge branch 'master' into PreventNewWarningstycho2015-05-291-1/+2
|\ | | | | | | | | Conflicts: src/Entities/ArrowEntity.cpp
| * AI - Sane SkeletonSafwatHalaby2015-05-281-1/+2
| |
* | Made -Weverything an error.tycho2015-05-241-4/+4
|/
* Fixed creeper not exploding when 1 block higher than playerSafwatHalaby2015-05-231-2/+4
|
* Pathfinder - approximated paths when original destination unreachableSafwatHalaby2015-05-171-1/+0
|
* A* Pathfinding and better monster AIwiseoldman952015-05-011-5/+2
|
* Monsters will now attack. Additional checks have been added when generating spawn.tumultenrx2015-03-131-3/+2
| | | | Monsters will now attack. Additional checks have been added when generating spawn.
* Converted Monster to std::chronoTycho2015-01-161-1/+1
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-3/+3
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-0/+2
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Added first test to show the object can be createdTycho2014-09-171-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Cave spider now poisons its victim, added IsPawn function to Entityarchshift2014-06-171-4/+6
|
* Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-3/+2
| | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes
* Further refactored, Reverted Minecart changearchshift2014-04-261-2/+2
| | | | Other small changes.
* Moved huge conditional out of InStateChasing(), improving readabilityarchshift2014-04-261-1/+16
| | | | Squashed a warning.
* Simplified Attack() tracingTiger Wang2014-02-121-1/+6
|
* Fixed #627Tiger Wang2014-02-111-2/+9
| | | | | | | - Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
* Attack() is no longer always calledTiger Wang2014-01-251-1/+1
|
* Large reworking of mob code [SEE DESC]Tiger Wang2014-01-241-33/+32
| | | | | | | + 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/+97