From 02d6ae92b7cb7e20f449d0ee92031b828c7be388 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 11 Dec 2015 13:00:53 +0000 Subject: [PATCH] update api docs --- api.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/api.txt b/api.txt index 1a68a90..8048cd5 100644 --- a/api.txt +++ b/api.txt @@ -48,7 +48,21 @@ Drop 5x random Tools from list {"dro", {"default:pick_mese", "default:shovel_steel", "default:axe_diamond"}, 5} --= Place Schematic (schematics must be added using lucky_block:add_schematics() before this can be used) +-= Place Schematic + +Add schematic file to main list before adding lucky block: + +lucky_block:add_schematics({ + {"name", schematic filename or definition, {offset}}, +end + +e.g. + +lucky_block:add_schematics({ + {"platform", platform, {x = 2, y = 0, z = 2}}, +}) + +then you can add the lucky block containing the schematic: {"sch", "schematic name", position, force placement}