16 lines
436 B
Markdown
16 lines
436 B
Markdown
# IScriptTileEntity.setData
|
|
|
|
[← IScriptTileEntity](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 2/2 · [önceki](setData.md)
|
|
|
|
There is no setter method as you can directly work with returned NBT compound. Any changes to returned compound will be
|
|
reflected upon tile entity's data.
|
|
|
|
function main(c)
|
|
{
|
|
var BlockTileEntity = c.getWorld().getTileEntity(-218, 101, 199)
|
|
|
|
c.send(BlockTileEntity.getTileData())
|
|
}
|