summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Repaired Hoppers Treating Chests as two entities (#5202)npresley05062021-04-231-0/+3
| | | | | | | | | | | | | | | * Repaired Hoppers Treating Chests as two entities * Style changes * style fixes * Fixed style issues, also condensed logic in MoveItemsFromChest * Used m_Neighbour, fixed styling * GetNeighbour not ReturnNeighbour Co-authored-by: npresley <npresley@umich.edu>
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-2/+1
| | | | | | | | | | * 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
* Remove BLOCKENTITY_PROTODEFTiger Wang2020-10-241-8/+0
|
* Always use relative coordinates in AddBlockTiger Wang2020-08-021-38/+1
| | | | | + Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available
* Call BlockEntityWithItems from ChestEntity slot changed handlerTiger Wang2020-07-261-24/+32
| | | | | * Small degree of unification for what to do with the current entity * Make sure to do necessary actions for both sides of a double chest
* Using Super.Mattes D2020-04-161-1/+1
|
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-5/+10
|
* Wake up redstone simulator on slot changes for blockentities (#4348)Bond-0092019-08-111-0/+8
| | | | | Fix #1898 Fix #2194 Fix #3063
* BlockEntities: Support cloning self.Mattes D2017-06-161-2/+3
|
* Fixed double chests (#3741)peterbell102017-06-031-3/+13
| | | | | 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-3/+14
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Reduced unnecessary block updatesLogicParrot2016-04-221-1/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-6/+6
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+1
|
* Fixed overridetycho2015-06-151-1/+1
| | | | This was causing a compile error in clang 3.6
* ComparatorsTiger Wang2015-06-061-0/+18
|
* Merge branch 'master' into MobSpawnerHowaner2014-11-291-1/+1
|\
| * BlockEntities: Removed the extra semicolon.Mattes D2014-11-271-1/+1
| |
* | Finished mob spawner implementation.Howaner2014-11-181-5/+0
|/
* cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D2014-10-191-2/+2
|
* Removed WSSCompactTiger Wang2014-09-301-3/+0
|
* Removed more unessicary includesTycho2014-09-261-2/+0
|
* Code style: Fixed braces on separate lines.madmaxoft2014-07-191-1/+2
|
* cChestEntity: Renamed a member to avoid confusion.madmaxoft2014-07-121-7/+8
|
* Implemented trapped chests & othersTiger Wang2014-07-071-1/+12
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Removed some unneeded BroadcastWholeWindow()sTiger Wang2014-02-121-1/+0
|
* Changed inheritance a bitTiger Wang2014-02-121-3/+1
| | | | * cBlockEntityWithItems now inherits from cBlockEntityWindowOwner
* Fixed #612Tiger Wang2014-02-111-0/+1
| | | | * Chests send contents updates to client
* Fixed multiple inheritance in ToLua++.madmaxoft2013-12-161-4/+4
| | | | This fixes #422.
* Moved source to srcAlexander Harkness2013-11-241-0/+59