This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:debug [2018/03/12 12:17] kiritow [World Object] |
component:debug [2018/03/12 12:23] kiritow add maunal for new function |
||
---|---|---|---|
Line 100: | Line 100: | ||
- `setTileNBT(x:number, y:number, z:number, nbt:table):boolean` | - `setTileNBT(x:number, y:number, z:number, nbt:table):boolean` | ||
Set the NBT of the block at the specified coordinates. | Set the NBT of the block at the specified coordinates. | ||
+ | - `getBlockState(x:number, y:number, z:number[, actualState:boolean=false])` | ||
+ | Gets the block state for the block at the specified position, optionally getting additional display related data | ||
==== Player Object ==== | ==== Player Object ==== |