Updated Introduction to Editor Scripting.md (markdown)
commited
commit
35db9464da4af60eaa0debe81078a24a4d7de897
... | ... | @@ -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 | } |