| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
|
|
|
|
| |
Also add observer block handler.
|
|
|
|
|
|
|
|
|
|
| |
* Vector3: Add custom fmt compatible formatter.
* cLuaState: Add fmt version of ApiParamError
* Use vector formatting in manual bindings
* Always log vectors with FLOG
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
|
|
|
|
| |
Except top-half slabs as transparent blocks for doors.
|
|
|
|
|
| |
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
|
|
|
|
| |
Doors now have hinges on the correct side, based on what the surroundings are when placing them.
|
|
|
|
| |
The Y coord has already been checked above.
|
| |
|
| |
|
|
|
|
| |
Fixes #1618.
|
| |
|
| |
|
| |
|
|
|
|
| |
May Fix #640
|
| |
|
| |
|
|
|