Login

Fancade Wiki

Updated Introduction to Editor Scripting.md (markdown)

... ...
@@ -105,7 +105,8 @@ let justATree = {
105 105
leaves: [Foliage, [3, 3, 3], [-1, 4, -1]]
106 106
},
107 107
build: () => {
108
// the "this" keyword refers to the object it is inside to, in this case the "justATree" but since its not yet defined as that we use it
108
// the "this" keyword refers to the object it is inside to,
109
// in this case the "justATree" but since its not yet defined as that we use it
109 110
setBlock(this.x, this.y, this.z, 0);
110 111
}
111 112
}
Fancade Wiki