| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Alpha-sort cChestEntity
* Chests: use SendUpdateBlockEntity
* Pathfinder: fix out of range Y
* 1.13: correct weather packet ID
* Chests: fix neighbour scanner
+ Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest.
* Fix typo in cross coords computation.
* Simplify hopper logic.
* Block entities: ASSERT that type is correct
If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type.
* Chunk: fix some forgotten PendingSendBE cleanup
+ Add cleanup in SetAllData, WriteBlockArea
- Remove RemoveBlockEntity (used once), HasBlockEntity (not used)
* Replace MakeIndex with MakeIndexNoCheck
* Remove extraneous MarkDirty in hopper & chests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* 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
|
| |
|
|
|
|
|
| |
+ Pass block, use relatives
* Fixes everything immediately converting abs back to rel and getting block, when these data were already available
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
| |
Fix #1898
Fix #2194
Fix #3063
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- Added override keyword
- Removed inherited member variables
|
| |
|
| |
|
| |
|
|
|
|
| |
This was causing a compile error in clang 3.6
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
+ Added trapped chests
* Fixed a bunch of bugs in the redstone simulator concerning wires and
repeaters
* Other potential bugfixes
|
| |
|
|
|
|
| |
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner
|
|
|
|
| |
* Chests send contents updates to client
|
|
|
|
| |
This fixes #422.
|
|
|