Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | * 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/+29 |
| | | | | | | | + 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 | -11/+6 |
| | | | | | | | | | | | | | * 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 D | 2020-04-21 | 1 | -2/+4 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -14/+11 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -23/+25 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -11/+11 |
| | |||||
* | BlockCrops: Fixed RipeMeta off-by-one error properly. | Mattes D | 2017-05-09 | 1 | -2/+2 |
| | | | | Ref.: #3691 | ||||
* | Adjusted RipeMeta for off by one error (#3691) | dbhicks | 2017-05-06 | 1 | -2/+2 |
| | |||||
* | BlockCrops: Fixed comments and reformatted control flow. (#3576) | Mattes D | 2017-02-25 | 1 | -46/+54 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -6/+17 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -8/+1 |
| | |||||
* | * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. | Samuel Barney | 2015-08-19 | 1 | -6/+12 |
| | | | | * Blocks now have an effect upon plant growth, just like in vanilla. | ||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -3/+3 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -4/+7 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 2014-03-30 | 1 | -6/+6 |
| | |||||
* | Fixed issues with farmland | Tiger Wang | 2014-02-03 | 1 | -1/+1 |
| | | | | | | * Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623 | ||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Removed cWorld Include | Tycho | 2014-01-26 | 1 | -1/+0 |
| | |||||
* | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -6/+6 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+114 |