Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 2021-03-28 | 1 | -1/+1 |
| | | | | | * When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Fortune Drops (#4932) | KingCol13 | 2020-09-28 | 1 | -15/+44 |
| | | | | | | | + 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 conversion | Tiger Wang | 2020-09-25 | 1 | -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 Wang | 2020-09-20 | 1 | -16/+10 |
| | | | | | | | | | | | | | * 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> | ||||
* | Remove unneeded MarkDirty, SendToClients parameters of SetMeta | Tiger Wang | 2020-08-28 | 1 | -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 D | 2020-04-17 | 1 | -86/+90 |
| | | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -17/+39 |
| | |||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 1 | -7/+9 |
| | |||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -1/+1 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -6/+6 |
| | |||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -1/+1 |
| | | | The original bindings accepted nil as the World param, causing a crash. | ||||
* | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 2016-09-27 | 1 | -1/+1 |
| | |||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -8/+7 |
| | |||||
* | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 2016-04-16 | 1 | -3/+5 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -2/+2 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -3/+6 |
| | |||||
* | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 2015-07-01 | 1 | -2/+6 |
| | | | | | Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | ||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-19 | 1 | -8/+20 |
|\ | | | | | | | | | Conflicts: src/Blocks/BlockLeaves.h | ||||
| * | Improved leaves a bit more. | Alexander Harkness | 2015-05-18 | 1 | -8/+20 |
| | | | | | | | | Should fix #2058. | ||||
* | | Fixed a lot of warnings | tycho | 2015-05-19 | 1 | -1/+1 |
|/ | |||||
* | Fix sapling probability. | Alexander Harkness | 2015-05-17 | 1 | -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 replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Check range of y in HasNearLog | worktycho | 2014-08-31 | 1 | -1/+1 |
| | | | Fixes #803 | ||||
* | Merge branch 'master' into Inventory2 | Howaner | 2014-07-26 | 1 | -3/+9 |
|\ | | | | | | | | | Conflicts: src/BlockInfo.cpp | ||||
| * | BlockLeaves: Fixed comment style. | madmaxoft | 2014-07-23 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -6/+6 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | | | Fix item durability. | Howaner | 2014-07-23 | 1 | -16/+0 |
| |/ |/| | | | Fixes #1181 | ||||
* | | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | |||||
* | | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 D | 2014-05-09 | 1 | -3/+3 |
| | |||||
* | The new leaves don't decay anymore. | STRWarrior | 2014-04-23 | 1 | -0/+1 |
| | | | | Fixes #792 | ||||
* | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 2014-03-30 | 1 | -9/+10 |
| | |||||
* | Wrong if in BlockLeaves | Howaner | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -1/+2 |
| | |||||
* | Add new Trees (without Generator) | Howaner | 2014-02-19 | 1 | -0/+2 |
| | |||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -3/+3 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -6/+6 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -4/+4 |
| | |||||
* | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -12/+13 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+184 |