summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSeeds.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-3/+11
| | | | | * 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
* Move item placement into item handlers (#5184)Tiger Wang2021-05-051-30/+21
| | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-12/+21
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Remove switch statements from cItemFoodHandler (#4610)Alexander Harkness2020-04-041-21/+0
| | | | | | | * Remove switch statements from cItemFoodHandler * Alpha-sort and add comment * Relocate golden apple handler
* Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875)Lane Kolbly2017-07-301-1/+2
| | | | | | | | * Consolidated food effects into EatItem, added all fish types. * Changed type of NumFishInfos to satisfy clang. * Removed unused call for a_Item in EatItem
* Added some blocks and items (#3503)mathiascode2017-02-141-7/+8
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* In 1.8, carrots and potatoes yield one less hunger point.archshift2014-09-041-1/+1
|
* More trailing whitespace fixes.madmaxoft2014-07-171-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Merge branch 'master' into playerimprovementsTiger Wang2014-02-091-1/+1
|\ | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | | | | | May Fix #640
* | Fixed #626Tiger Wang2014-02-031-0/+20
|/ | | | * Fixed consumption of carrots and potatoes
* Fixed a few MSVC warnings.madmaxoft2014-01-071-1/+0
|
* Moved source to srcAlexander Harkness2013-11-241-0/+65