summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockEnderchest.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Handlers: update item and block handlers (#5371)Tiger Wang2022-01-021-44/+0
| | | | | | | + Resend blocks when server rejects placement because in a block * Fix chest handler not invoked, fixes #5367 * Fix comparator handler not invoked * Update some naming
* 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-7/+5
| | | | | - 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-8/+3
| | | | | | | | | | | | | * 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>
* Fix enderchest placement rotationion2322020-08-091-2/+2
|
* Using Super.Mattes D2020-04-161-2/+2
|
* Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness2020-04-101-44/+3
| | | | Also add observer block handler.
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-5/+32
|
* Drop enderchest when broken by a silk touck pick (#3986)Bond-0092017-08-311-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-2/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-5/+0
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Fixed spelling; Rotater to Rotator.narroo2014-03-251-3/+3
|
* ReformattedTycho2014-03-021-2/+2
|
* Implemented RotationsTycho2014-03-011-1/+1
|
* Added some Metadate rotaters using templated MixinTycho2014-02-271-2/+2
|
* 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-3/+46
| | | | Note that they just mirror chests now, so no per player inventory.
* Moved source to srcAlexander Harkness2013-11-241-0/+28