summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPickaxe.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply new clang-formattingclang-format-codebaseAlexander Harkness2024-11-021-12/+8
|
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-7/+7
| | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final
* Using Super.Mattes D2020-04-161-6/+8
|
* Add additional blocks which are not breakable by handAlexander Harkness2020-04-101-0/+1
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-1/+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
* Deal with covered switches consistently (#4161)peterbell102018-02-051-0/+1
| | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
* Item durability loss now depends on the item used. (#4123)Alexander Harkness2018-01-051-4/+14
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-2/+2
|
* Added 1.12 blocks (#3760)Bond-0092017-06-301-1/+18
|
* Fixed which blocks can be harvested with what type of pickaxe (#3586)Bond-0092017-02-261-0/+16
|
* Added some blocks and items (#3503)mathiascode2017-02-141-1/+10
|
* Added missing "override" specifier.Mattes D2016-11-131-1/+1
|
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+23
| | | Added block hardness checks when breaking blocks.
* Fix issue #3312Alexander Harkness2016-08-121-0/+1
| | | Nether brick fences now drop their item.
* Bulk clearing of whitespaceLogicParrot2016-02-051-4/+4
|
* Improved mapsTiger Wang2015-07-141-2/+2
|
* Fixed Red Sandstone and Prismarine dropsMasy982014-10-011-17/+22
|
* Spawn exp if you break a mob spawner.Howaner2014-09-121-0/+1
|
* Merge branch 'master' into Inventory2Howaner2014-07-261-1/+2
| | | | | Conflicts: src/BlockInfo.cpp
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-2/+2
|
* Merge branch 'master' into SlabsHowaner2014-05-071-0/+13
|\
| * Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner2014-05-061-6/+6
| |
| * Add anvil window and slot area.Howaner2014-05-051-0/+13
| |
* | Add CanChangeDirtToGrass function to Block Handlers.Howaner2014-04-061-0/+1
|/
* cBlockInfo-related changes from #723andrew2014-03-081-11/+11
|
* Moved source to srcAlexander Harkness2013-11-241-0/+92