summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemDoor.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-02ItemHandler initialisation is a constant expression (#5344)x12xx12x1-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
2021-05-05Move item placement into item handlers (#5184)Tiger Wang1-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>
2020-04-21Vector3 in Handlers (#4680)Mattes D1-15/+25
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-10Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness1-1/+1
Also add observer block handler.
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-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
2018-01-17Prioritize hinge on the left side (#4153)Bond-0091-0/+1
2015-07-14Improved mapsTiger Wang1-1/+1
2015-06-25Doors now get placed on the server-side.bibo381-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
2015-06-21Refactored block placement workflow.Mattes D1-6/+6
Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
2015-04-21Fix door placing in connection with slabswraith111-1/+1
Except top-half slabs as transparent blocks for doors.
2015-03-20Correct world height validations.Tommy Santerre1-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
2015-02-28Fixed door placement.Mattes D1-4/+17
Doors now have hinges on the correct side, based on what the surroundings are when placing them.
2015-02-21Door handler: Removed needless check.Mattes D1-1/+1
The Y coord has already been checked above.
2015-02-21Fix door placement checkFreddie Wang1-7/+3
2014-12-25Fixed door placement.Mattes D1-2/+2
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-23/+73
Fixes #1618.
2014-09-26Moved curly brace to seperate lineMasy981-1/+2
2014-09-11Added new doors in ItemDoor.hMasy981-1/+15
2014-07-17Basic style fixes.madmaxoft1-3/+3
2014-02-04Improved Type safety of eBlockFaceTycho1-1/+1
May Fix #640
2014-02-01Changed pointers to referencesTycho1-1/+1
2014-01-26Refactored GetPlacementBlockTypeMetaTycho1-2/+4
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-45/+45
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-7/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+25
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6