Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
component:debug [2018/03/12 12:09]
kiritow Add scoreboard object manual
component:debug [2018/03/12 12:23]
kiritow add maunal for new function
Line 94: Line 94:
 - `hasTileEntity(x:​number,​ y:number, z:​number):​number`  ​ - `hasTileEntity(x:​number,​ y:number, z:​number):​number`  ​
   Check whether the block at the specified coordinates has a tile entity.   Check whether the block at the specified coordinates has a tile entity.
 +- `playSoundAt(x:​number,​ y:number, z:number, sound:​string,​ range:​number)`  ​
 +  Play a sound at the specified coordinates.
 +- `getTileNBT(x:​number,​ y:number, z:​number):​table`  ​
 +  Get the NBT of the block at the specified coordinates.
 +- `setTileNBT(x:​number,​ y:number, z:number, nbt:​table):​boolean`  ​
 +  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 ====