summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLeaves.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded MarkDirty, SendToClients parameters of SetMetaTiger Wang2020-08-281-2/+2
| | | | | | | | Partially reverts #3129, whose addition of these parameters was superseded by #3149 that fixed generated leaves' metas. References: https://github.com/cuberite/cuberite/pull/4417#discussion_r334950513 e0bcd754009f16480437b2c1fa5e7fbedab31496
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-86/+90
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-17/+39
|
* Fix building with clang 8.0 (#4346)Bond-0092019-08-111-7/+9
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* FastRandom rewrite (#3754)peterbell102017-06-131-6/+6
|
* Fixed bindings for cBlockArea:Read and Write. (#3568)Mattes D2017-02-051-1/+1
| | | The original bindings accepted nil as the World param, causing a crash.
* Use cChunkDef::Height for Y coord comparison where applicable.Moritz Borcherding2016-09-271-1/+1
|
* Reduced unnecessary block updatesLogicParrot2016-04-221-8/+7
|
* Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usageLogicParrot2016-04-161-3/+5
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-2/+2
|
* Improved mapsTiger Wang2015-07-141-3/+6
|
* Added neighbor specification in the OnNeighborChanged() block callback.Mattes D2015-07-011-2/+6
| | | | | Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213.
* Merge branch 'master' into PreventNewWarningstycho2015-05-191-8/+20
|\ | | | | | | | | Conflicts: src/Blocks/BlockLeaves.h
| * Improved leaves a bit more.Alexander Harkness2015-05-181-8/+20
| | | | | | | | Should fix #2058.
* | Fixed a lot of warningstycho2015-05-191-1/+1
|/
* Fix sapling probability.Alexander Harkness2015-05-171-1/+1
| | | | | Probability is 5% of leaves drop a sapling. This should really be different for jungle leaves (2.5%) and the Fortune enchantment should increase the probability.
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-1/+1
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-6/+0
|
* Check range of y in HasNearLogworktycho2014-08-311-1/+1
| | | Fixes #803
* Merge branch 'master' into Inventory2Howaner2014-07-261-3/+9
|\ | | | | | | | | Conflicts: src/BlockInfo.cpp
| * BlockLeaves: Fixed comment style.madmaxoft2014-07-231-2/+2
| |
| * Merge branch 'master' into saplingsandleavesTiger Wang2014-07-201-6/+6
| |\ | | | | | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h
| * | Fixed issues relating to saplings and leavesTiger Wang2014-07-171-2/+8
| | | | | | | | | | | | | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
* | | Fix item durability.Howaner2014-07-231-16/+0
| |/ |/| | | Fixes #1181
* | Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
| |
* | Basic style fixes.madmaxoft2014-07-171-4/+4
| |
* | 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.
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-3/+3
|
* The new leaves don't decay anymore.STRWarrior2014-04-231-0/+1
| | | | Fixes #792
* Fixed a few Clang warnings in BlockHandlers.madmaxoft2014-03-301-9/+10
|
* Wrong if in BlockLeavesHowaner2014-03-161-1/+1
|
* Add new leaves to all classes.Howaner2014-03-161-1/+2
|
* Add new Trees (without Generator)Howaner2014-02-191-0/+2
|
* Changed Signiture of OnUpdateTycho2014-02-021-3/+3
|
* Changed pointers to referencesTycho2014-02-011-6/+6
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-3/+3
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-4/+4
|
* Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-12/+13
|
* Moved source to srcAlexander Harkness2013-11-241-0/+184