summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemShears.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Using Super.Mattes D2020-04-161-6/+8
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-2/+2
| | | | | | | | | 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-8/+0
|
* 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/+6
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* Fix shears (and vines)Bond-0092017-06-211-25/+6
| | | | | | | * Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters
* Deadbushes drop sticksBond-0092017-03-191-0/+1
|
* Added missing "override" specifier.Mattes D2016-11-131-1/+1
|
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+22
| | | Added block hardness checks when breaking blocks.
* Bulk clearing of whitespaceLogicParrot2016-02-051-4/+4
|
* Moved tall grass pickups handle.Howaner2014-10-211-9/+0
|
* Corrected drops from dead bush, tall grass and cobweb.Howaner2014-10-071-11/+31
|
* Rename function.Howaner2014-07-261-1/+1
|
* Merge branch 'master' into Inventory2Howaner2014-07-261-1/+1
|\ | | | | | | | | Conflicts: src/BlockInfo.cpp
* | Fix item durability.Howaner2014-07-231-1/+24
|/ | | Fixes #1181
* Add new leaves to all classes.Howaner2014-03-161-2/+3
|
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Moved source to srcAlexander Harkness2013-11-241-0/+62