summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_BlockArea.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-16Removed all Printf-family functions from StringUtils.Mattes D1-39/+42
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
2022-06-18Additional Y height checks (#5405)Debucquoy Anthony tonitch1-32/+5
For redstone wire, block area bindings, and fire simulator. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-03-28Unify DoWithBlockEntity (#5168)Tiger Wang1-0/+60
+ DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-8/+42
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-05-04Fix incorrect formatter invocationTiger Wang1-1/+1
2020-04-14Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D1-8/+2
In manually bound functions, allows one to use any Vector3<T> value, as well as a {x, y, z} table, in Lua as any Vector3<T> parameter. Has example in Debuggers' /vector command. Unfortunately doesn't work in auto-bindings.
2020-04-01Fix off-by-one error and clean error messages in manual bindings for BlockArea (#4549)Alexander Harkness1-68/+73
* Correct off-by-one error in manual bindings for FillRelCuboid Fixes #4454 * Fix inconsistent error messages in manual bindings for BlockArea * Generate error if invalid coords passed to FillRelCuboid
2019-09-20Added missing closing } in message outputLukas Pioch1-1/+1
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-37/+25
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-19cBlockArea: Write all present data types by default (#4252)peterbell101-11/+21
cBlockArea::Write now defaults to use GetDataTypes() instead of assuming all data types are present. Fixes cuberite/WorldEdit#130
2017-06-26Moved ApiParamError into cLuaState.Mattes D1-68/+68
2017-06-26Corrected APIDoc for cBlockArea and exported missing functions (#3808)Lukas Pioch1-1/+102
2017-06-26Added check if datatype is present in block area (#3811)Lukas Pioch1-0/+6
2017-06-24cBlockArea supports block entities. (#3795)Mattes D1-0/+998