summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPiston.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-14/+27
|
* At long last... Piston animations!Tiger Wang2018-07-251-0/+6
| | | | | * Fixes #3198 * Fixes #57 (again lol)
* cBlockHandler: take player by refpeterbell102017-08-011-2/+2
|
* Allocate redstone component handlers upfrontpeterbell102017-07-171-4/+4
|
* Added some blocks and items (#3503)mathiascode2017-02-141-0/+4
|
* Redstone fixes (#3285)Tiger Wang2016-07-311-3/+3
| | | | | | | | * Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did)
* Revert "Redstone fixes"Mattes D2016-07-291-3/+3
|
* Comparators and pistons no longer update instantlyTiger Wang2016-07-291-3/+3
| | | | * Fixes #3168.
* Bulk clearing of whitespaceLogicParrot2016-02-051-5/+5
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-1/+1
| | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
* Refactored code to use vectors in the cPistonHandler classbibo382015-11-071-3/+3
|
* Added some code improvementsbibo382015-11-071-6/+6
|
* Renamed GetDirectionVec into VectorFromMetaData to improve code readability.bibo382015-11-071-1/+1
|
* Commented the GetDirectionVec methodbibo382015-11-071-0/+3
|
* Fixed the style problems and added some commentsbibo382015-11-071-0/+1
|
* Removed unused CanPull methodbibo382015-11-071-11/+0
|
* Extracted block moving code into a seperate methodbibo382015-11-071-0/+4
|
* Replaced the usage of pistonMeta with a direction vector to allow better meta value abstractionbibo382015-11-071-1/+3
|
* Added the CanPushBlock method for the piston push check.bibo382015-11-071-2/+7
| | | | This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system.
* Unified the doxy-comment format.Mattes D2015-07-311-5/+5
|
* Improved mapsTiger Wang2015-07-141-0/+6
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Removed Metavalue from Piston drops. Bugfix #1765bibo382015-03-201-0/+2
|
* Added Daylight Sensors to the "can't push" listMasy982014-10-011-0/+2
|
* Added missing 1.8 blocks, E_METAs and soundsMasy982014-10-011-0/+2
|
* Merge branch 'master' into blocksMasy982014-09-261-1/+1
|\ | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| * Added first test to show the object can be createdTycho2014-09-171-1/+1
| |
* | Added barrier blockMasy982014-09-111-0/+1
|/
* Added beacon.Howaner2014-07-301-0/+1
|
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* 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 various missing blocks in the lists in BlockInfo.cppMasy982014-07-151-1/+0
|
* SuggestionsTiger Wang2014-07-111-1/+1
|
* Implemented trapped chests & othersTiger Wang2014-07-071-15/+3
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* SuggestionsTiger Wang2014-05-291-1/+6
|
* Hopefully fixed piston duplication issuesTiger Wang2014-05-251-1/+128
| | | | | * Fixes #879 * Fixes #714
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Changed Signiture of OnDestroyedByPlayerTycho2014-02-011-1/+1
|
* Changed pointers to referencesTycho2014-02-011-2/+2
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-2/+2
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Fixed some new 1.7 client crash bugsTiger Wang2013-12-071-0/+6
| | | | | Some technical blocks were removed; trying to render them as items caused a crash.
* Moved source to srcAlexander Harkness2013-11-241-0/+43