summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBanner.h (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2021-03-15Adding basic Banner functionality (#4806)12xx121-7/+18
+ Added item and block for banners 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-8/+3
- 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-8/+4
* 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-04-16Using Super.Mattes D1-2/+2
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-36/+15
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-13/+9
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-9/+13
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-13/+9
2017-08-01cBlockHandler: take player by refpeterbell101-2/+2
2017-06-13FastRandom rewrite (#3754)peterbell101-3/+3
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+1
2015-07-14Improved mapsTiger Wang1-2/+6
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-199/+5
Fixes #1618.
2014-09-17Added first test to show the object can be createdTycho1-2/+2
2014-09-12Fixed farmland issues.Howaner1-6/+6
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-06-17Check block type from cBlockEntityHowaner1-8/+8
2014-06-17Add DoWithBlockEntityAt() to WorldInterface.hHowaner1-37/+52
2014-05-28Code improvementsHowaner1-6/+2
2014-05-28Fix skull bugs.Howaner1-2/+41
2014-05-25Hopefully fixed piston duplication issuesTiger Wang1-1/+1
* Fixes #879 * Fixes #714
2014-05-21Fixed cWither::KilledByandrew1-0/+1
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew1-0/+27
2014-04-01Fixed clang warnings in BlockHandlers.madmaxoft1-1/+1
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft1-2/+2
2014-03-25Fixed clang compilationandrew1-13/+16
2014-03-25Fixed wither summoningandrew1-1/+24
2014-03-25Protocol: Wither metadataandrew1-3/+79
2014-03-24Wither invulnerabilityandrew1-0/+14
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner1-2/+3
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-8/+8
2014-02-23Add Heads completelyHowaner1-0/+69
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-69/+0
2014-02-18Add Heads completelyHowaner1-0/+69