summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPickaxe.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-11-02Apply new clang-formattingclang-format-codebaseAlexander Harkness1-12/+8
2021-12-02ItemHandler initialisation is a constant expression (#5344)x12xx12x1-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
2020-04-16Using Super.Mattes D1-6/+8
2020-04-10Add additional blocks which are not breakable by handAlexander Harkness1-0/+1
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-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
2018-02-05Deal with covered switches consistently (#4161)peterbell101-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()
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness1-4/+14
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-2/+2
2017-06-30Added 1.12 blocks (#3760)Bond-0091-1/+18
2017-02-26Fixed which blocks can be harvested with what type of pickaxe (#3586)Bond-0091-0/+16
2017-02-14Added some blocks and items (#3503)mathiascode1-1/+10
2016-11-13Added missing "override" specifier.Mattes D1-1/+1
2016-11-06Anticheat fastbreak (#3411)mohe20151-0/+23
Added block hardness checks when breaking blocks.
2016-08-12Fix issue #3312Alexander Harkness1-0/+1
Nether brick fences now drop their item.
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-07-14Improved mapsTiger Wang1-2/+2
2014-10-01Fixed Red Sandstone and Prismarine dropsMasy981-17/+22
2014-09-12Spawn exp if you break a mob spawner.Howaner1-0/+1
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner1-6/+6
2014-05-05Add anvil window and slot area.Howaner1-0/+13
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner1-0/+1
2014-03-08cBlockInfo-related changes from #723andrew1-11/+11
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-37/+53
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-75/+75
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com1-0/+1
Cauldrons can be filled with water and used to fill bottles git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-2/+2
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-06BLOCKTYPE signedness change - fixed more detailsmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@713 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28Fixed a few gcc warningsmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Fixed some small bugs :)lapayo94@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+72
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6