summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix minecart bugs. (#5516)dyexlzc2023-11-201-1/+1
| | | | | | | | | * fix minecart bugs. * Replace magical number in minecart --------- Co-authored-by: dyexlzc <dyexlzc@gmail.com>
* TNT minecarts exploding when riding over activator rails (#5469)Michal Havlíček2023-01-251-3/+6
| | | | | | | * TNT Minecarts exploding via activator rails * Fuse animation * Add TNT minecart explosion source to APIDesc
* Basic elytra flight (#5124)Damián Imrich2021-04-031-5/+4
| | | | | | * Basic elytra flight Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Fix #5118Tiger Wang2021-02-071-3/+0
|
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-8/+20
| | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld
* Refactor minecart collision detection code. (#4712)Alexander Harkness2020-05-041-0/+5
| | | | | | | | | * Refactor minecart collision detection code. - Use new GetBoundingBox function. - Handle descending and ascending rails. - Snap to descending rails. * Add message for UNREACHABLE
* Using Super.Mattes D2020-04-161-6/+6
|
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-12/+23
|
* 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.
* Fix minecart deceleration (#4059)peterbell102017-10-211-0/+3
|
* Powered rails can kick-start minecarts (#3472)Marvin Kopf2016-12-101-0/+2
|
* Proper minecart DoSetSpeed Override (#3174)LogicParrot2016-04-301-1/+1
| | | Closes #3173, Introduced in #3037.
* Add speed limit enforcement for minecartsMarvin Kopf2016-04-151-0/+3
|
* Fix minecart entity collisionMarvin Kopf2016-02-161-1/+1
| | | | | * Minecarts no longer handle a collision if the entity is behind them. * Minecarts will leave the pushing after a collision on a straight rail to the entity.
* Bulk clearing of whitespaceLogicParrot2016-02-051-19/+19
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch2015-05-231-1/+1
|
* More style checking.Mattes D2015-05-091-3/+2
| | | | Spaces around some operators are checked.
* Converted MinecartEntity to std::chronoTycho2015-01-161-3/+3
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Minecart.h: Fixed integral conversion warning.Mattes D2014-11-271-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Fixed style.Mattes D2014-10-131-1/+1
|
* SuggestionsTiger Wang2014-09-271-1/+2
|
* Implemented Chest MinecartsTiger Wang2014-09-131-10/+30
|
* Removed redundant semicolons and re-added warningarchshift2014-07-241-6/+6
|
* Minecart: slimmed down SpawnOn by keeping subtype in the payload enumarchshift2014-07-191-5/+6
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Add entity invulnerableHowaner2014-04-261-1/+1
|
* Fixed issues with int vs size_t and a few other warningsTycho2014-03-081-2/+2
|
* Begin implementing ascending railsTiger Wang2014-01-191-0/+3
|
* Added more rail functionalityTiger Wang2014-01-191-14/+0
|
* Merge remote-tracking branch 'origin/master' into minecartimprovementsTiger Wang2014-01-191-3/+9
|\
| * Merge pull request #534 from mc-server/SpawnMinecartMattes D2014-01-171-3/+9
| |\ | | | | | | Added cWorld::SpawnMinecart.
| | * Changed GetContent function.STRWarrior2014-01-161-1/+1
| | |
| | * Fixed server crash.STRWarrior2014-01-121-1/+1
| | |
| | * Renamed cEmptyMinecart to cRideableMinecartSTRWarrior2014-01-121-3/+3
| | |
| | * EmptyMinecarts should be able to get a block inside of them.STRWarrior2014-01-121-1/+7
| | |
* | | Minecart collision and general improvementsTiger Wang2014-01-181-2/+5
|/ / | | | | | | | | | | + Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug
* | Furnace minecarts now stop being active after a while.STRWarrior2014-01-151-1/+8
| |
* | First implementation for furnace minecarts.STRWarrior2014-01-151-0/+1
| |
* | Final improvements to MinecartsTiger Wang2014-01-131-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here.
* | Multiple enhancements and fixes to minecartsTiger Wang2014-01-121-3/+4
|/ | | | | | + They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
* Moved source to srcAlexander Harkness2013-11-241-0/+169