ctx.schematics.ids
This commit is contained in:
@@ -737,6 +737,8 @@ export interface SchematicApi {
|
||||
// StructureTemplateManager.get. undefined for an id nothing registered. for reading what's in it before placing it,
|
||||
// like where a room's doorways are
|
||||
get(id: Id): Schematic | undefined;
|
||||
// every registered schematic's id, the files' and the ones scripts registered, in the order they were registered
|
||||
ids(): Id[];
|
||||
// puts a registered schematic in the world, all of it at once, replacing what was there, air too. replaced blocks
|
||||
// get their on_break. blocks it has data for get that data as it is, the rest their on_create, then everything
|
||||
// placed tells the blocks beside it. its entities come with new uuids. throws for an id nothing registered, or a
|
||||
|
||||
Reference in New Issue
Block a user