summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFurnace.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up CanBeAt Functions (#5587)Alexander Harkness34 hours1-1/+1
| | | | | | | * Use cChunkDef::IsValidHeight for CanBeAt functions, and related helpers. * Add mixins for SolidSurfaceUnderneat and DirtLikeUnderneath * Minor fixes after change review.
* 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.
* 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-10/+2
| | | | | - 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-9/+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>
* Using Super.Mattes D2020-04-161-2/+2
|
* Fix rotation metas on blocksAlexander Harkness2020-04-111-2/+2
|
* Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness2020-04-101-21/+2
| | | | Also add observer block handler.
* Furnace and brewing stand drops (#4534)Mat2020-03-241-3/+18
| | | | | | | | | | | | | * Furnace drops contents * Brewing stand drops contents * Fix lit furnace drop * Fix brewing stand drop * Style * Style
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-8/+14
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-2/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Improved mapsTiger Wang2015-07-141-2/+6
|
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* Hopefully fixed piston duplication issuesTiger Wang2014-05-251-2/+2
| | | | | * Fixes #879 * Fixes #714
* Fixed spelling; Rotater to Rotator.narroo2014-03-251-3/+3
|
* Added MetaRotate/Mirror Support for a number of classes.narroo2014-03-241-4/+4
|
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-1/+1
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Removed internal cEntity::GetRot() usage.madmaxoft2014-01-171-1/+1
|
* Removed obsoleted functionsTiger Wang2014-01-161-1/+1
|
* Added basic ender chestsTiger Wang2013-12-071-1/+0
| | | | Note that they just mirror chests now, so no per player inventory.
* Moved source to srcAlexander Harkness2013-11-241-0/+47