summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFenceGate.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up CanBeAt Functions (#5587)Alexander Harkness13 days1-1/+1
| | | | | | | * Use cChunkDef::IsValidHeight for CanBeAt functions, and related helpers. * Add mixins for SolidSurfaceUnderneat and DirtLikeUnderneath * Minor fixes after change review.
* 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>
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-11/+6
| | | | | | | | | | | | | * 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>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-7/+36
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness2020-04-101-43/+3
| | | | Also add observer block handler.
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-8/+6
|
* cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102018-07-271-1/+1
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* cBlockHandler: take player by refpeterbell102017-08-011-7/+7
|
* cWorld::SendBlockTo take player by refpeterbell102017-08-011-1/+1
|
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+2
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Improved mapsTiger Wang2015-07-141-7/+20
|
* Fixed convertToPickups for fence gatesMasy982014-09-271-1/+1
|
* Added flint drop and fence gate meta reset.Howaner2014-09-121-0/+6
|
* Code formatting fixes.Howaner2014-08-191-0/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Add fence gate sound.Howaner2014-06-171-0/+1
|
* Fixed spelling; Rotater to Rotator.narroo2014-03-251-3/+3
|
* Merge pull request #729 from worktycho/MetaRotateMattes D2014-03-081-3/+3
|\ | | | | Alternitive solution to #503
| * ReformattedTycho2014-03-021-2/+2
| |
| * Implemented RotationsTycho2014-03-011-3/+3
| |
| * Added some Metadate rotaters using templated MixinTycho2014-02-271-2/+2
| |
* | Add SendBlockTo to cWorldInterfaceHowaner2014-03-051-1/+1
| |
* | Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner2014-03-051-0/+6
|/
* Improved Type safety of eBlockFaceTycho2014-02-041-2/+2
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-5/+5
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-5/+5
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* First attempt at Implementing InterfacesTycho2014-01-251-1/+1
|
* Removed internal cEntity::GetRot() usage.madmaxoft2014-01-171-2/+2
|
* Removed obsoleted functionsTiger Wang2014-01-161-2/+2
|
* Moved source to srcAlexander Harkness2013-11-241-0/+88