summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-43/+30
| | | | | | | | | | | | | * 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>
* Update bed behavior (#4545)Mat2020-08-051-0/+6
|
* Vector3 in Handlers (#4680)Mattes D2020-04-211-4/+24
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Replace all single-digit hex constants with two-digit versionAlexander Harkness2020-04-101-2/+2
|
* Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness2020-04-101-20/+2
| | | | Also add observer block handler.
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-2/+2
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-15/+29
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* Bed piston fix (#3956)Lane Kolbly2017-08-251-1/+1
| | | | | | | | | | | | * Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references.
* Replaced includes with forward declarationsLukas Pioch2017-08-131-1/+1
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-2/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-2/+2
|
* Added bed entity (#3823)Lukas Pioch2017-07-071-8/+13
| | | | | | | | | | * Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+1
|
* Improved mapsTiger Wang2015-07-141-1/+6
|
* Rebased version of CodeSamuel Barney2015-06-221-5/+0
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Handle client 'leave bed' requestTiger Wang2015-02-081-8/+17
| | | | * Fixes #1728
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-1/+0
| | | | Fixes #1618.
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-1/+4
|
* Removed more unessicary includesTycho2014-09-261-3/+5
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner2014-05-071-1/+1
|
* Add CanChangeDirtToGrass function to Block Handlers.Howaner2014-04-061-0/+7
|
* Fixed spelling; Rotater to Rotator.narroo2014-03-251-3/+3
|
* ReformattedTycho2014-03-021-2/+2
|
* Implemented RotationsTycho2014-03-011-2/+2
|
* Added some Metadate rotaters using templated MixinTycho2014-02-271-2/+3
|
* Improved Type safety of eBlockFaceTycho2014-02-041-2/+2
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-3/+3
|
* 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
* Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-1/+1
|
* First attempt at Implementing InterfacesTycho2014-01-251-4/+5
|
* Moved source to srcAlexander Harkness2013-11-241-0/+67