summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-12Added override specifiers to overridden functions.Mattes D1-1/+1
Needed for clang-11 compatibility.
2021-03-28Unify DoWithBlockEntity (#5168)Tiger Wang1-11/+0
+ DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads
2020-12-30Command Blocks: fix a crashTiger Wang1-3/+3
* Don't store a temporary
2020-09-05Streamline startup sequenceTiger Wang1-1/+1
* Clean up cRoot & main * Move some OS-specifics into OSSupport
2020-04-16Using Super.Mattes D1-2/+2
2020-03-19Remove leading slash from command block commands (#4502)Mat1-6/+20
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-3/+3
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-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.
2017-09-25BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0091-2/+2
2017-06-16BlockEntities: Support cloning self.Mattes D1-3/+19
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-12-18Reorganised the redstone simulatorTiger Wang1-14/+0
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-1/+2
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-09-30Removed WSSCompactTiger Wang1-32/+0
2014-09-26Removed more unessicary includesTycho1-4/+2
2014-09-01Fixed style.madmaxoft1-1/+2
2014-08-31Changed null check to assertworktycho1-5/+3
Changed the null check to clarify that the function should not be called before the entity has been attached to a world.
2014-08-30Fixed style.madmaxoft1-2/+3
2014-08-29Improved command block securityTiger Wang1-6/+19
2014-07-17Normalized comments.madmaxoft1-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.
2014-04-27Added static const, initialized fields.archshift1-1/+2
2014-04-03Fixed a few MSVC type warnings.Mattes D1-1/+1
2014-02-24Fixed compilation in MSVC (forward class definitions).madmaxoft1-0/+1
2014-02-24BlockEntities is warnings freeTycho1-0/+2
2014-01-23Minor style improvements for the merged PR.Mattes D1-4/+4
2014-01-23Command block fixes 2andrew1-6/+20
2014-01-19Removed unneeded paramtersTiger Wang1-1/+1
2014-01-19Changed SendBlockEntity format slightlyTiger Wang1-24/+2
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Improved command blocksTiger Wang1-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
2014-01-18Fixed compiler error.STRWarrior1-3/+3
2014-01-18Command block fixesandrew1-33/+3
2014-01-18Parse the MC|AdvCdm plugin messageandrew1-0/+2
2014-01-18Command blocks: Execute()andrew1-5/+27
2014-01-18Command block (de)serializationandrew1-1/+31
2014-01-18Basic command block implementationandrew1-0/+173