summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Enderman.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed snow golems and added documentation to damage type and added damage type for damage from environment to mobs (#4877)12xx122020-09-171-2/+2
| | | | | | | | | | | * made snow golems not crashing the server anymore * changed damage type to environment * updated damage in API dopcumentation and changed enderman damage type * removed incidental d in the code Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Using Super.Mattes D2020-04-161-4/+4
|
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+1
|
* Allow enderman to attack during day (#4522)Mat2020-03-221-36/+1
|
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-0/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Use clang-tidy to check more code conventions (#4214)Bond-0092018-05-061-2/+2
| | | | | | | * Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164
* Rename cEntity swim states (#3996)Alexander Harkness2018-01-141-2/+2
| | | | | | | | | | * Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987
* improve rain simulation (#4017)Alexander Harkness2017-12-261-28/+4
| | | | | | | | | | | * Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator.
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-9/+8
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-8/+9
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-9/+8
|
* Endermen take damage from rainBond-0092017-06-301-3/+27
|
* Tracer replacement (#3704)Mattes D2017-05-111-12/+8
| | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+1
|
* Spectators added (#2852)bibo382016-10-121-7/+10
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-1/+1
|
* Spiders now friendly at daylight, new cChunk functionsLogicParrot2016-01-211-11/+11
|
* neutral mobs shouldn't chase the player unless aggro'dGargaj2015-11-081-1/+1
| | | | | | | | | | | | | | | | | code style neutral mobs shouldn't chase the player unless aggro'd neutral mobs shouldn't chase the player unless aggro'd Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo Conflicts: src/Mobs/PassiveAggressiveMonster.h code style Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* 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-5/+5
|
* DerpJonathan Frederick2014-09-291-1/+1
|
* Fix commentsJonathan Frederick2014-09-291-2/+2
|
* Make endermen take damage in waterJonathan Frederick2014-09-281-0/+20
|
* BasicStyleCheck: Dividers are exactly 80 slashes.madmaxoft2014-08-041-1/+1
|
* Trailing whitespace fix.madmaxoft2014-08-031-1/+1
|
* Improved endermen code a littleTiger Wang2014-08-011-19/+49
|
* Comment suggestionsTiger Wang2014-07-311-9/+8
|
* Added lighting code and added commentsSTRWarrior2014-07-301-0/+17
|
* Removed lighting code in cEnderman::CheckEventSeePlayerSTRWarrior2014-07-301-9/+1
|
* Changed commentworktycho2014-06-301-1/+1
|
* Replaced strange algebra with dot product.worktycho2014-06-181-4/+6
| | | | 10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
* Improved Enderman codeTiger Wang2014-06-181-13/+32
|
* Swapped m_Player and m_EndermanPosSTRWarrior2014-06-181-2/+2
|
* Enderman attacks a player if he's looking at him.STRWarrior2014-06-181-0/+90
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-1/+6
|
* Moved source to srcAlexander Harkness2013-11-241-0/+29