summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockTallGrass.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fortune Drops (#4932)KingCol132020-09-281-4/+7
| | | | | | | + Implemented and standardized all clamped discrete random drops. + Changed cItems Add from push_back to emplace_back. Implement fortune for crops. + Enabled hoes to be enchanted with efficiency, silk touch and fortune. Made leaves, gravel and crops affected by fortune. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Unify block entity pickup conversionTiger Wang2020-09-251-1/+1
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-12/+7
| | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-3/+3
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-0/+25
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-39/+30
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* BigFlower fixes (#3826)peterbell102017-07-071-1/+1
| | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
* FastRandom rewrite (#3754)peterbell102017-06-131-5/+4
|
* Improved mapsTiger Wang2015-07-141-4/+6
|
* NULL -> nullptrTiger Wang2014-12-171-1/+1
|
* Moved tall grass pickups handle.Howaner2014-10-211-0/+37
|
* Corrected drops from dead bush, tall grass and cobweb.Howaner2014-10-071-16/+7
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-6/+0
|
* Fix item durability.Howaner2014-07-231-1/+2
| | | Fixes #1181
* Add tallgrass drop to big flowers.Howaner2014-03-281-5/+19
| | | Add tallgrass drop, when a players break a tallgrass with the shear.
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-1/+1
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Moved source to srcAlexander Harkness2013-11-241-0/+51