From 51002b1629c69adb0053bc36d3667d2b790e5c21 Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 6 Sep 2017 22:20:09 +0100 Subject: Schematic decorations: Add 'place_offset_y' placement parameter For precise control of schematic vertical position relative to the 'place_on' node. Avoids workarounds that add empty nodes to a schematic and therefore reduce performance. Also remove long-unused decoration cutoff code. --- doc/lua_api.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ec5a8ff32..ef62f1356 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4743,6 +4743,13 @@ The Biome API is still in an experimental phase and subject to change. -- ^ Flags for schematic decorations. See 'Schematic attributes'. rotation = "90" -- rotate schematic 90 degrees on placement -- ^ Rotation can be "0", "90", "180", "270", or "random". + place_offset_y = 0, + -- ^ Y offset of the schematic base node layer relative to the 'place_on' + -- ^ node. + -- ^ Can be positive or negative. Default is 0. + -- ^ If the flag 'place_center_y' is set this parameter is ignored. + -- ^ If absent or 0 the schematic base node layer will be placed level + -- ^ with the 'place_on' node. } ### Chat command definition (`register_chatcommand`) -- cgit v1.2.3