summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemChest.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-0/+1
| | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-6/+8
|
* Item durability loss now depends on the item used. (#4123)Alexander Harkness2018-01-051-12/+0
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* cBlockHandler: take player by refpeterbell102017-08-011-1/+1
|
* BigFlower fixes (#3826)peterbell102017-07-071-9/+3
| | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
* Fixed double chests (#3741)peterbell102017-06-031-1/+1
| | | | | 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.
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-14/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Refactored block placement workflow.Mattes D2015-06-211-26/+49
| | | | Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-1/+1
|
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-0/+167
Fixes #1618.