summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemAxe.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove switch statements from cItemFoodHandler (#4610)Alexander Harkness2020-04-041-0/+1
| | | | | | | * Remove switch statements from cItemFoodHandler * Alpha-sort and add comment * Relocate golden apple handler
* 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-5/+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/+0
|
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+48
Added block hardness checks when breaking blocks.