When I just want to copy data, I usually can do something like this
block_entities = nbt.TAG_List(name="block_entitites", value=self.nbt_data["block_entities"])
except for the type "compound":
heightmaps = nbt.TAG_Compound(name="Heightmaps", value=self.nbt_data["Heightmaps"])
where I get an error
heightmaps = nbt.TAG_Compound(name="Heightmaps", value=self.nbt_data["Heightmaps"])
TypeError: __init__() got an unexpected keyword argument 'value'
Why is that? Why can't I copy the data as for all the other data types?
And how to best copy data like that?
When I just want to copy data, I usually can do something like this
except for the type "compound":
where I get an error
Why is that? Why can't I copy the data as for all the other data types?
And how to best copy data like that?