summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-3/+3
|
* 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
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-1/+1
| | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
* BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0092017-09-251-2/+2
|
* BlockEntities: Support cloning self.Mattes D2017-06-161-3/+19
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-14/+0
| | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* 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-1/+1
|
* Removed WSSCompactTiger Wang2014-09-301-32/+0
|
* Removed more unessicary includesTycho2014-09-261-4/+2
|
* Fixed style.madmaxoft2014-09-011-1/+2
|
* Changed null check to assertworktycho2014-08-311-5/+3
| | | Changed the null check to clarify that the function should not be called before the entity has been attached to a world.
* Fixed style.madmaxoft2014-08-301-2/+3
|
* Improved command block securityTiger Wang2014-08-291-6/+19
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Added static const, initialized fields.archshift2014-04-271-1/+2
|
* Fixed a few MSVC type warnings.Mattes D2014-04-031-1/+1
|
* Fixed compilation in MSVC (forward class definitions).madmaxoft2014-02-241-0/+1
|
* BlockEntities is warnings freeTycho2014-02-241-0/+2
|
* Minor style improvements for the merged PR.Mattes D2014-01-231-4/+4
|
* Command block fixes 2andrew2014-01-231-6/+20
|
* Removed unneeded paramtersTiger Wang2014-01-191-1/+1
|
* Changed SendBlockEntity format slightlyTiger Wang2014-01-191-24/+2
| | | | | * Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
* Improved command blocksTiger Wang2014-01-191-5/+37
| | | | | | | * Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity
* Command block fixesandrew2014-01-181-33/+3
|
* Parse the MC|AdvCdm plugin messageandrew2014-01-181-0/+2
|
* Command blocks: Execute()andrew2014-01-181-5/+27
|
* Command block (de)serializationandrew2014-01-181-1/+31
|
* Basic command block implementationandrew2014-01-181-0/+173