summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-22/+6
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-6/+22
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-22/+6
|
* Sitting cats block enderchests from opening (#3906)Bond-0092017-08-171-23/+3
|
* Added basic ocelot behavior (#3829)Bond-0092017-07-121-2/+29
|
* BlockEntities: Support cloning self.Mattes D2017-06-161-2/+17
|
* Fixes problems with windows:Lukas Pioch2017-06-051-1/+1
| | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
* Fixed double chests (#3741)peterbell102017-06-031-4/+11
| | | | | Normal and trapped chests next to each other don't open a double chest window. Slot changes in the secondary chest are broadcast. Placing a chest in +x of another updates the original chest's metadata.
* Double chest window fix (#3735)peterbell102017-05-281-49/+116
|
* Fixed invisible chests (#3722)Pablo Beltrán2017-05-211-4/+3
| | | Fixes #3479, #3403, #3696
* Reduced unnecessary block updatesLogicParrot2016-04-221-1/+1
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* (Ender) Chests are obstructed by opaque blocks.Nounours Heureux2015-07-071-10/+6
|
* Correct world height validations.Tommy Santerre2015-03-201-2/+2
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* Own classes for all windows.Howaner2014-12-131-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Removed WSSCompactTiger Wang2014-09-301-42/+0
|
* Merge remote-tracking branch 'origin/master' into chestcartsTiger Wang2014-09-271-1/+0
|\ | | | | | | | | Conflicts: src/Entities/Minecart.cpp
| * Removed more unessicary includesTycho2014-09-261-1/+0
| |
* | Implemented Chest MinecartsTiger Wang2014-09-131-1/+0
|/
* Fixed spaces before commas.madmaxoft2014-07-181-2/+2
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* cChestEntity: Renamed a member to avoid confusion.madmaxoft2014-07-121-1/+1
|
* Implemented trapped chests & othersTiger Wang2014-07-071-3/+4
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Chests don't open if obstructedTiger Wang2014-06-221-0/+13
| | | | * Fixes FS383
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+172