Block entity support
rom1504 opened this issue · 5 comments
rom1504 commented
Block entity support
rom1504 commented
The name of the property should be the same as the one created by mineflayer block at
Dump and load should put in internal storage
And get/set block should get/put in internal storage
extremeheat commented
#162 adds block entity read/writing for anvil provider through the .entity property. I don’t think .blockEntity can be used (like in mineflayer) since it returns simplified NBT data, which can’t be written back to disk later on. So to keep things api compatible both .entity and blockEntity could exist, the former being the un-simplified NBT and the latter being simplified (.blockEntity can be a getter to nbt.simplify(block.entity))