BlockEntity data (tag 49) holds a list of NBT values for entity data associated with specific blocks.
Usage
get_block_entity_data(x, z, dimension, db = default_db())
get_block_entity_value(x, z, dimension, db = default_db())
put_block_entity_data(values, x, z, dimension, db = default_db())
put_block_entity_value(value, x, z, dimension, db = default_db())Value
get_block_entity_value() returns a list of NBT objects.
get_block_entity_data() returns a named list of lists of NBT objects.
Details
get_block_entity_value()andget_block_entity_data()load BlockEntity data fromdb.get_block_entity_value()loads data for a single chunk, andget_block_entity_data()loads data for multiple chunks.put_block_entity_value()andput_block_entity_data()store BlockEntity data for one or multiple chunks intodb.