summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-44/+27
* Added magma block contact damage (#5055)Aiden Neill2020-11-251-4/+49
* Do not call into things we don't own in destructorsTiger Wang2020-09-251-15/+0
* Fixed missing case: in entity damaging crashin the server (#4899)12xx122020-09-191-0/+1
* Entities can fail to add into a chunkTiger Wang2020-08-291-5/+0
* Add Statistics and Achievements for newer Network standards12xx122020-08-191-3/+3
* Reduced packet spam when entities idleTiger Wang2020-07-061-2/+2
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-6/+4
* Fixed various MSVC warnings.Mattes D2020-05-061-1/+1
* Improve entity position updates (#4701)Tiger Wang2020-05-041-39/+24
* Add cEntity::GetBoundingBox, and use where appropriate. (#4711)Alexander Harkness2020-05-031-1/+1
* Set entity world earlymathiascode2020-05-031-0/+1
* MoveToWorld must always be provided a worldTiger Wang2020-04-181-15/+17
* Only store IDs across ticksTiger Wang2020-04-181-18/+40
* Using Super.Mattes D2020-04-161-2/+2
* Fixed entity teleport for just-spawned entities.Mattes D2020-04-121-1/+5
* Add Zombie VillagersBond-0092020-04-101-1/+2
* Don't set entity world twice (#4606)Mat2020-04-091-3/+0
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-0/+1
* Pickup spawn improvements (#4525)Mat2020-03-231-1/+1
* TNT position fixes (#4519)Mat2020-03-221-1/+1
* Fix armor protection (#4506)Mat2020-03-221-15/+22
* Clamp teleportation position (#4203)stone33112020-03-201-1/+9
* Improvements to knockback (#4504)Mat2020-03-191-6/+18
* Don't send entity velocity for boats (#4488)Mat2020-03-071-1/+1
* Attached entities can't enter portals (#4484)Mat2020-03-051-0/+15
* Stabilise MoveToWorld (#4004)Mat2020-03-051-86/+107
* Update LastSentPosition when entity has no speed (#4487)peterbell102020-03-041-53/+50
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-4/+4
* Fixed MSVC warnings (#4400)Mattes D2019-09-271-2/+2
* Fix building with clang 8.0 (#4346)Bond-0092019-08-111-6/+6
* Change TakeDamageInfo::FinalDamage from int to float (#4359)Aplaus2282019-08-081-5/+5
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-9/+9
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-2/+2
* Add new flow direction calculating algorithm (#4160)bionext032018-07-271-51/+37
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-4/+11
* Broadcast refactor (#4264)peterbell102018-07-241-16/+5
* Rewrite explosion knock back (#4251)changyong guo2018-07-231-1/+63
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-13/+13
* Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211)peterbell102018-04-111-2/+12
* Deal with covered switches consistently (#4161)peterbell102018-02-051-4/+1
* Calculate crit damage properly (#4154)Bond-0092018-01-171-11/+13
* Exp Orbs and Pickups are destroyed instantly by cacti. (#4136)Alexander Harkness2018-01-161-15/+21
* Rename cEntity swim states (#3996)Alexander Harkness2018-01-141-78/+71
* improve rain simulation (#4017)Alexander Harkness2017-12-261-5/+2
* Fixed Clang 5.0 compile errors (#4085)bibo382017-12-211-0/+2
* Store Health as a float (#4073)Fabian2017-11-221-5/+5
* Adjust lava damage values (#4020)Alexander Harkness2017-09-121-1/+1
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-22/+6
* Fix crash for players out of the world. Fixes #4006 (#4007)Alexander Harkness2017-09-101-3/+4
* Fire effect now shown for creative and spectator mode players (#3998)Alexander Harkness2017-09-071-0/+7
* Add cWorld::RemoveEntity and use in cEntity (#4003)peterbell102017-09-051-11/+10
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-6/+22
* SetSwimState now takes into account head heightAlexander Harkness2017-09-011-2/+3
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-22/+6
* Added ShouldSendRespawn parameter to ScheduleMoveToWorld (#3979)Lane Kolbly2017-08-301-2/+3
* Gives all entities the default airlevel on creation (#3942)Bond-0092017-08-251-2/+2
* Minor changes (#3909)mathiascode2017-08-241-5/+5
* Added check in cEntity::TickBurning for whether the entity is planning to change worlds. (#3943)Lane Kolbly2017-08-221-0/+6
* Give arthropods slowness IV when hit with bane of arthropods (#3932)Bond-0092017-08-211-3/+7
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-0/+36
* Merge pull request #3489 from cuberite/EntityOwnershipTiger Wang2017-08-181-9/+10
|\
| * Changed entity ownership model to use smart pointersTiger Wang2017-08-071-9/+10
* | Added knockback to arrows, fixed knockback enchantment handling (#3900)Lane Kolbly2017-08-131-18/+14
|/
* Updated armor cover calculation. (#3858)Lane Kolbly2017-07-231-122/+73
* If entity is a player, send relmove packets.Lane Kolbly2017-07-121-1/+1
* Players in creative and spectator aren't affected by cacti (#3824)Bond-0092017-07-021-1/+4
* Entity: Replaced a mutexed counter with a std::atomic. (#3773)Mattes D2017-06-151-7/+9
* FastRandom rewrite (#3754)peterbell102017-06-131-6/+4
* Avoid pickups to sink into blocks and disappear (#3739)Pablo Beltrán2017-06-041-22/+27
* Fixed tracer usage in Entity physics handling. (#3720)Mattes D2017-05-281-7/+9
* Tracer replacement (#3704)Mattes D2017-05-111-46/+49
* Added a nullptr check to cEntity::IsA (#3659)Marvin Kopf2017-04-011-1/+1
* Fixed cactus detection and zombie pigman sword (#3584)Bond-0092017-02-251-1/+2
* Updated links and docs (#3488)mathiascode2016-12-191-4/+4
* Use cChunkDef::Height for Y coord comparison where applicable.Moritz Borcherding2016-09-271-2/+2
* Proper respawn packets on dimension travelLogicParrot2016-08-291-9/+38
* Fixed RasPi builds of unit tests.Mattes D2016-08-041-1/+3
* Fixes for boat entities (#3265)beeduck2016-07-181-0/+22
* 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135)Pokechu222016-05-141-4/+8
* Fix issues below y = 0LogicParrot2016-04-181-0/+6
* MoveToWorld defaults to spawnpointLogicParrot2016-03-301-1/+19
* Proper entity destruction in non-ticking chunksLogicParrot2016-02-191-36/+94
* remove cWorld::createAndInitializeWorldLogicParrot2016-02-081-4/+10
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-0/+7
* Merge pull request #2941 from LogicParrot/chunkBug2LogicParrot2016-02-031-2/+11
|\
| * Fixed cChunk::m_Entities corruption upon world travelLogicParrot2016-02-021-2/+11
* | Fix cPawn pushingMarvin Kopf2016-02-021-0/+13
|/
* Updated old forum linksMathias2016-01-311-1/+1
* Improved tamed wolf pack cooperation and projectile reactionsLogicParrot2016-01-221-0/+41
* Fix crash when tamed wolf is hit by arrowsLogicParrot2016-01-161-50/+57
* Moved variables into scope, removed unused variables and fixed variablesLukas Pioch2015-12-171-1/+1
* blockheight mechanismGargaj2015-12-131-5/+6
* Improved spawn location calculations.samoatesgames2015-11-131-2/+2
* Fix being set on fire while directly being under lavaGargaj2015-11-041-1/+1
* Implemented the FireResistence potion effects.bibo382015-10-311-3/+3
* Fixed food drain bugsTiger Wang2015-08-201-94/+14
* Unified the doxy-comment format.Mattes D2015-07-311-6/+0
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-49/+49
* Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld.Lane Kolbly2015-06-131-5/+14
* Added HOOK_KILLEDNounours Heureux2015-06-131-0/+7
* Implemented nether portal scanning code.Lane Kolbly2015-06-101-6/+41
* Merge branch 'master' into PreventNewWarningstycho2015-05-231-3/+3
|\
| * Renamed hook HOOK_ENTITY_CHANGE_WORLDLukas Pioch2015-05-211-3/+3
* | Make -Werror disabling file onlytycho2015-05-191-1/+1
|/
* Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLDLukas Pioch2015-05-181-0/+11
* More style checking.Mattes D2015-05-091-3/+4
* Entity improvementsTiger Wang2015-05-041-1/+0
* Changed air drag units to 'interpolated ticks' per secondDevToaster2015-03-311-2/+2
* Modified physics for more vanilla-like behaviorDevToaster2015-03-311-9/+11
* Merge pull request #1826 from mc-server/UnifyPacketizerMattes D2015-03-241-37/+38
|\
| * Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-37/+38
* | Changed linked world name variables and setters / getters.Mattes D2015-03-211-5/+5
|/
* Added OnTeleportEntity hook for plugins.joshi072015-03-051-2/+6
* use DoSetSpeed in AddSpeed* in Entity.cppRaekye2015-02-261-10/+4
* Fixed type-conversion warnings.Mattes D2015-01-181-4/+4
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-13/+13
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-4/+16
* Fixed reported parentheses around comparisons.Mattes D2014-12-051-1/+1
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-28/+28
* Removed more unessicary includesTycho2014-09-261-1/+0
* Merge branch 'master' into redstoneTestsTycho2014-09-251-5/+6
|\
| * A few compiler warning fixesChris Darnell2014-09-231-2/+3
| * Merge pull request #1398 from mc-server/1.8-ProtocolAlexander Harkness2014-09-221-1/+1
| |\
| | * Merge branch 'master' into 1.8-ProtocolHowaner2014-09-141-16/+25
| | |\
| | * \ Merge branch 'master' into 1.8-ProtocolHowaner2014-09-131-11/+13
| | |\ \
| | * | | Added the player list to the 1.8 protocol.Howaner2014-09-091-1/+1
| * | | | Made it compile with clangChris Darnell2014-09-221-2/+2
| | |_|/ | |/| |
* | | | Merge branch 'master' into redstoneTestsTycho2014-09-171-15/+26
|\| | |
| * | | Entities experience water resistanceTiger Wang2014-09-131-16/+25
| | |/ | |/|
| * | Fixed friction being applied whilst airborneTiger Wang2014-09-121-11/+13
| |/
* / Added first test to show the object can be createdTycho2014-09-171-10/+10
|/
* Fixed style and alpha-sorting.madmaxoft2014-09-031-2/+2
* Fixed previous commit's wrong assumptions.madmaxoft2014-09-011-10/+10
* Fixed MSVC compilation, improved performance.madmaxoft2014-09-011-30/+59
* Fixed styleJaume Aloy2014-08-311-7/+5
* Added a_Digger checkJaume Aloy2014-08-301-2/+2
* More EnchantmentsJaume Aloy2014-08-221-57/+70
* Protection Enchantments, some fixesJaume Aloy2014-08-211-2/+108
* Changed if in BlockHandlerJaume Aloy2014-08-191-1/+0
* Changed if for switchJaume Aloy2014-08-191-3/+2
* Added more enchantments and some fixesJaume Aloy2014-08-191-3/+22
* Added some EnchantmentsJaume Aloy2014-08-191-1/+61
* Attempt to fix knockback and swimming.Howaner2014-08-041-15/+13
* Entity.cpp: Air timer comment fixarchshift2014-08-031-1/+1
* Code reduction and clarity fixesarchshift2014-08-031-19/+9
* Entity.cpp: On portal check, use if-else for current dimensionarchshift2014-08-031-60/+54
* Detrailed whitespaceTiger Wang2014-07-291-3/+3
* Merge branch 'master' into portalsTiger Wang2014-07-291-5/+8
|\
| * Fix item durability.Howaner2014-07-231-5/+8
* | SuggestionsTiger Wang2014-07-231-9/+14
* | Speed improvements, crash fixes, & self-suggestionsTiger Wang2014-07-221-30/+29
* | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-07-221-10/+7
|\|
| * Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-2/+2
| * Added m_TicksAlive to entities, allows projectiles to hit their creatorsarchshift2014-07-201-0/+3
| * Fixed clamping issuesarchshift2014-07-191-4/+1
| * Merge branch 'Entities'madmaxoft2014-07-181-4/+1
| |\
| | * Fixed many slime bugs.Howaner2014-07-171-4/+1
* | | SuggestionsTiger Wang2014-07-211-35/+43
* | | Bug and crash fixesTiger Wang2014-07-201-18/+30
* | | Fix failed merge and other issuesTiger Wang2014-07-181-3/+3
* | | Merge branch 'master' into portalsTiger Wang2014-07-181-59/+48
|\| |
| * | Fixed tabs used for alignment.madmaxoft2014-07-171-1/+1
| * | More trailing whitespace fixes.madmaxoft2014-07-171-2/+2
| * | Basic style fixes.madmaxoft2014-07-171-15/+15
| * | Merge branch 'master' of https://github.com/mc-server/MCServermadmaxoft2014-07-171-23/+8
| |\|
| | * Fixed mob knockbackTiger Wang2014-07-171-23/+8
| * | Normalized comments.madmaxoft2014-07-171-14/+14
| |/
| * Merge branch 'master' into potionsmadmaxoft2014-07-171-4/+4
| |\
| | * Merge pull request #1193 from mc-server/deathmessagesMattes D2014-07-171-4/+4
| | |\
| | | * Resolved backwards compatibility issuesTiger Wang2014-07-161-1/+1
| | | * Tailored death messagesTiger Wang2014-07-041-4/+4
| * | | Readability and clarity changesarchshift2014-07-141-3/+6
| * | | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-9/+8
| |\| |
| | * | Merge pull request #1135 from mc-server/fixesTiger Wang2014-07-091-8/+4
| | |\ \ | | | |/ | | |/|
| | | * SuggestionsTiger Wang2014-06-291-2/+3
| | | * Some Entity.cpp style improvementsTiger Wang2014-06-221-11/+6
| | * | Fixed server forcing players afloatTiger Wang2014-06-281-1/+4
| | |/
| * | Added wither damage type, wither entity effect.archshift2014-06-171-0/+1
| * | Entity: only fire critical hit if damage type is physicalarchshift2014-06-171-1/+2
| |/
* | Conforms to standardsTiger Wang2014-06-221-1/+1
* | Merge branch 'master' into portalsTiger Wang2014-06-211-20/+18
|\|
| * Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-20/+18
* | Fixed invalid iteratorsTiger Wang2014-06-211-1/+2
* | More suggestionsTiger Wang2014-06-211-1/+1
* | Reverted portal creation codeTiger Wang2014-06-141-100/+0
* | Fixed compileworktycho2014-06-121-1/+1
* | Portals animate and delay correctlyTiger Wang2014-06-121-28/+93
* | Merge branch 'master' into portalsTiger Wang2014-06-101-5/+5
|\|
| * Fixed deadlock when moving players to other worlds.Mattes D2014-06-081-5/+5
* | Portal improvements and suggestionsTiger Wang2014-06-101-41/+89
* | SuggestionsTiger Wang2014-06-041-2/+4
* | Configurable portalsTiger Wang2014-06-041-13/+32
* | Added checks for no downfall biomesTiger Wang2014-06-041-1/+1
* | Implemented bed homesTiger Wang2014-06-011-0/+6
* | Implemented end and nether portalsTiger Wang2014-05-311-0/+117
|/
* Merge branch 'master' into achievementtranslateTiger Wang2014-05-251-2/+2
|\
| * Fixed datatype conversion warning.Mattes D2014-05-231-2/+2
* | Fixed a cactus Y position issueTiger Wang2014-05-191-2/+3
* | Simplified cacti conditionsTiger Wang2014-05-191-2/+2
|/
* Merge pull request #1010 from mc-server/cactidamageAlexander Harkness2014-05-191-0/+24
|\
| * DerpAlexander Harkness2014-05-191-1/+1
| * Should have fixed assumptions about entity width.Alexander Harkness2014-05-191-4/+5
| * Fixed clanging errors.Alexander Harkness2014-05-191-5/+5
| * Implemented cacti damageTiger Wang2014-05-181-0/+23
* | There's no "round" function in MSVC2008.madmaxoft2014-05-181-1/+1
* | Movement Statisticsandrew2014-05-121-2/+13
* | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew2014-05-121-0/+5
|/
* Suggestions'dTiger Wang2014-05-061-1/+1
* Merge branch 'master' into fixes.madmaxoft2014-05-021-15/+81
|\
| * Merge pull request #940 from Howaner/GlobalFixesMattes D2014-04-281-3/+18
| |\
| | * FixesHowaner2014-04-261-1/+1
| | * Merge branch 'master' into GlobalFixesHowaner2014-04-261-7/+34
| | |\
| | * | Add entity invulnerableHowaner2014-04-261-3/+18
| * | | Fixed warnings.madmaxoft2014-04-271-0/+1
| * | | Added static const, initialized fields.archshift2014-04-271-0/+2
| * | | Merge pull request #941 from archshift/masterMattes D2014-04-261-5/+26
| |\ \ \ | | |_|/ | |/| |
| | * | Further refactored, Reverted Minecart changearchshift2014-04-261-1/+1
| | * | Moved switch{} out of GetArmorCoverAgainst().archshift2014-04-261-5/+26
| | |/
| * | Fix formattingr.ramazanov2014-04-251-9/+15
| * | Fix for clangr.ramazanov2014-04-251-5/+1
| * | Mobs shouldn't burn when it's Raining & Mob Knockback is far too muchr.ramazanov2014-04-251-8/+5
| * | Merge branch 'master' of https://github.com/mc-server/MCServerr.ramazanov2014-04-231-3/+23
| |\|
| * | Mobs shouldn't burn when it's Raining #906r.ramazanov2014-04-231-9/+30
| * | Mobs shouldn't burn when it's Raining #906r.ramazanov2014-04-211-5/+12
* | | More comments!Tiger Wang2014-04-271-1/+1
* | | Implemented suggestionsTiger Wang2014-04-241-7/+6
* | | Merge branch 'master' into fixesTiger Wang2014-04-241-3/+23
|\ \ \ | | |/ | |/|
| * | Renamed getter and setter for IsFireproof.archshift2014-04-231-1/+1
| * | Fireproof status getter and setter.archshift2014-04-231-0/+11
| * | Fixed indentation and changed m_Fireproof to m_IsFireproof.archshift2014-04-221-12/+12
| * | Lay foundation for fireproof entities.archshift2014-04-221-3/+12
| |/
* / Some change to Entity.cppTiger Wang2014-04-231-92/+90
|/
* Fixed #906Tiger Wang2014-04-181-0/+10
* Merge pull request #891 from mc-server/fixesMattes D2014-04-171-66/+49
|\
| * Entities handle chunks properly againTiger Wang2014-04-121-66/+49
* | Added new AI rulesTiger Wang2014-04-171-1/+1
|/
* Fixed Endiannes conversion routines for floats and doubles.madmaxoft2014-04-051-1/+1
* Minor Entity.cpp cleanupTiger Wang2014-03-201-12/+9
* Merge branch 'master' into awesometntTiger Wang2014-03-181-1/+1
|\
| * Unified Matrix4 codeandrew2014-03-111-1/+1
* | Added extra awesomeness to TNTTiger Wang2014-03-051-188/+192
|/
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-3/+3
* Fixed most of the reordering warningsTycho2014-02-051-2/+2
* Creative players take Plugin damageTiger Wang2014-02-021-1/+2
* All mobs now drown (fixes #54)Tiger Wang2014-01-251-1/+94
* Removed unused ReferenceManagerTiger Wang2014-01-241-36/+0
* Fixed crash with failed entity-loading.madmaxoft2014-01-241-1/+2
* Merge remote-tracking branch 'origin/customnames'madmaxoft2014-01-171-3/+3
|\
| * Removed obsoleted functionsTiger Wang2014-01-161-3/+3
* | Disabled excessive entity-related logging in Debug mode.madmaxoft2014-01-161-1/+11
|/
* Final improvements to MinecartsTiger Wang2014-01-131-36/+8
* Detaching improvementsTiger Wang2014-01-131-3/+5
* Multiple enhancements and fixes to minecartsTiger Wang2014-01-121-1/+4
* Improved knockback animationTiger Wang2013-12-241-3/+3
* Fixed a comment in Entity.cppTiger Wang2013-12-231-1/+1
* Implemented knockback and critical hitTiger Wang2013-12-221-4/+21
* More reordering fixes.madmaxoft2013-12-201-2/+2
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-5/+5
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
* Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior2013-12-161-4/+14
* Fixed angle normalization typo.madmaxoft2013-12-081-1/+1
* Fixed normalizing large angles.madmaxoft2013-12-081-6/+3
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
* Moved source to srcAlexander Harkness2013-11-241-0/+1450