summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSapling.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-20/+9
| | | | | | | | | | | | | * 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>
* Changed tree-growing functions in cWorld to use Vector3i coords.Mattes D2020-08-271-2/+2
|
* Vector3 in Handlers (#4680)Mattes D2020-04-211-2/+2
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-8/+13
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Using Super.Mattes D2020-04-161-2/+2
|
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-8/+52
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-5/+16
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+3
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* implement height logic for Acacia blocksKevin Riggle2016-02-041-1/+12
|
* Improved mapsTiger Wang2015-07-141-5/+8
|
* Sapling Growth UpdateSamuel Barney2015-07-131-7/+135
| | | | | | | | | * Growth has been slowed down * Saplings do not grow if they do not have enough space to grow * Saplings do not grow unless the light level is 9 or above * Dark Oak doesn't grow unless it is in a 2x2 Jungle Trees now will grow into a large tree when 2x2 saplings are used.
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-6/+0
|
* Fix misguided comment on bits...Tiger Wang2014-07-221-1/+1
| | | | ...obviously written by someone very confused, also known as me
* Fixed issues relating to saplings and leavesTiger Wang2014-07-171-2/+2
| | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
* Changed Signiture of OnUpdateTycho2014-02-021-1/+1
|
* 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
* Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-4/+6
|
* Moved source to srcAlexander Harkness2013-11-241-0/+57