mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-08-20 11:34:05 +02:00
update api docs
This commit is contained in:
parent
2073a8f9cd
commit
02d6ae92b7
16
api.txt
16
api.txt
@ -48,7 +48,21 @@ Drop 5x random Tools from list
|
|||||||
{"dro", {"default:pick_mese", "default:shovel_steel", "default:axe_diamond"}, 5}
|
{"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}
|
{"sch", "schematic name", position, force placement}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user