summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCake.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not fake a tool when converting to pickups (#5170)Tiger Wang2021-03-281-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.
* Merged OnBreak with OnPlayerBreak (#4967)12xx122020-10-081-1/+1
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-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>
* 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-10/+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>
* Add more statistic tracking (#4837)12xx122020-09-051-0/+1
| | | | | | | | + Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-4/+11
| | | 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-5/+10
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-1/+10
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* cBlockHandler: take player by refpeterbell102017-08-011-2/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-2/+3
|
* Improved mapsTiger Wang2015-07-141-0/+6
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-5/+0
|
* Code formatting fixes.Howaner2014-08-191-1/+1
|
* Change if-clause in BlockCake.hHowaner2014-03-161-1/+1
|
* Add cakeHowaner2014-03-161-0/+55