| BlockEntity | R Documentation |
BlockEntity data (tag 49) holds a list of NBT values for entity data associated with specific blocks.
get_block_entity_data() and get_block_entity_value() load BlockEntity
data from db. get_block_entity_data() will silently drop and keys not
representing BlockEntity data. get_block_entity_value() supports loading
only a single value. get_block_entity_values() is a synonym for
get_block_entity_data().
put_block_entity_values(), put_block_entity_value(), and
put_block_entity_data() store BlockEntity data into db.
get_block_entity_data(db, x, z, dimension)
get_block_entity_values(db, x, z, dimension)
get_block_entity_value(db, x, z, dimension)
put_block_entity_values(db, x, z, dimension, values)
put_block_entity_value(db, x, z, dimension, value)
put_block_entity_data(db, data)
db |
A bedrockdb object. |
x, z, dimension |
Chunk coordinates to extract data from.
|
values |
A list of nbt objects |
value |
An nbt object. |
data |
A named-list specifying key-value pairs. |
get_block_entity_data() returns a named-list of nbt data.
get_block_entity_values() returns a single nbt value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.