Structure - Template Object (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.12.0

Syntax

structure[s] (named|with id[s]|with key[s]) %strings%

Description

Create a new, empty structure template or load a structure template from file. If the file you have specified is not available, it will be created upon saving. Structures without a namespace (ex: "tree") will default to the "minecraft" namespace and load from/save to "(main world folder)/generated/minecraft/structure/". Structures with a namespace (ex:"myname:house") will load from/save to "(main world folder)/generated/myname/structure/". To create folders, simply add a slash in your name, ex: "buildings/house". Changes made to structures will not automatically be saved to file, you will need to use the save structure effect.

Examples

set {_s} to structure template with id "my-server:houses/house1"
set {_s} to structure template with id "my-house"
set {_s} to structure template with id "minecraft:village/taiga/houses/taiga_cartographer_house_1"
set {_s::*} to structure templates with id "house1" and "house2"

View source