summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemDoor.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-4/+4
| | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final
* Move item placement into item handlers (#5184)Tiger Wang2021-05-051-41/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-15/+25
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness2020-04-101-1/+1
| | | | Also add observer block handler.
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-4/+4
| | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
* Prioritize hinge on the left side (#4153)Bond-0092018-01-171-0/+1
|
* Improved mapsTiger Wang2015-07-141-1/+1
|
* Doors now get placed on the server-side.bibo382015-06-251-1/+0
| | | | | | The Y-Value is already the lower door block(From ItemHandler.cpp:346). Increasing it once again, places the door into the air, which is blocked by Cuberite. Bugfix #2279
* Refactored block placement workflow.Mattes D2015-06-211-6/+6
| | | | Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
* Fix door placing in connection with slabswraith112015-04-211-1/+1
| | | | Except top-half slabs as transparent blocks for doors.
* Correct world height validations.Tommy Santerre2015-03-201-1/+1
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* Fixed door placement.Mattes D2015-02-281-4/+17
| | | | Doors now have hinges on the correct side, based on what the surroundings are when placing them.
* Door handler: Removed needless check.Mattes D2015-02-211-1/+1
| | | | The Y coord has already been checked above.
* Fix door placement checkFreddie Wang2015-02-211-7/+3
|
* Fixed door placement.Mattes D2014-12-251-2/+2
|
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-23/+73
| | | | Fixes #1618.
* Moved curly brace to seperate lineMasy982014-09-261-1/+2
|
* Added new doors in ItemDoor.hMasy982014-09-111-1/+15
|
* Basic style fixes.madmaxoft2014-07-171-3/+3
|
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Refactored GetPlacementBlockTypeMetaTycho2014-01-261-2/+4
|
* Moved source to srcAlexander Harkness2013-11-241-0/+45