summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCake.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-03Add player statistics to API (#5193)nshah251-1/+1
* Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-03-28Do not fake a tool when converting to pickups (#5170)Tiger Wang1-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.
2020-10-08Merged OnBreak with OnPlayerBreak (#4967)12xx121-1/+1
Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-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>
2020-09-25Unify block entity pickup conversionTiger Wang1-1/+1
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-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>
2020-09-05Add more statistic tracking (#4837)12xx121-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>
2020-04-21Vector3 in Handlers (#4680)Mattes D1-4/+11
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-16Using Super.Mattes D1-2/+2
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-5/+10
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-1/+10
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-1/+1
2017-08-01cBlockHandler: take player by refpeterbell101-2/+2
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-2/+3
2015-07-14Improved mapsTiger Wang1-0/+6
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-5/+0
2014-08-19Code formatting fixes.Howaner1-1/+1
2014-03-16Change if-clause in BlockCake.hHowaner1-1/+1
2014-03-16Add cakeHowaner1-0/+55