You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This extension would enable a plugin to write to the metadata of a schematic, when it is saved via the plugin.
Use case:
Writing custom metadata to a Schematic would enable plugins to store external data (not in the world) in schematics.
e.g. Which player created the Schematc or plugin locations, like a particle spawner.
API:
My proposal would be to add the following methods to the FastSchematicWrite:
publicvoidsetMetadata(CompoundTag);
This CompoundTag would be written as the Metadata in the Schematic, properties like the Date or WorldEdit origin would be overwritten before writing it to the Schematic.
In the FastSchematicReader there would be:
publicCompoundTaggetMetadata();
This returns the metadataCompoundTag already read in the read function.
Are there any alternatives?
Writing metadata to the schematic can already be achieved by extending the schematic writer and overwriting the writeMetadata function.
Reading requires a double parsing of the schematic to extract the metadata.
Anything else?
I'd love to implement this myself, just wanted to open this issue first, to find out if this has a chance at merging.
I feel like this is an improvement which would be worthwhile suggesting upstream (at WorldEdit) as well.
If it'd be accepted we can pull it in and apply it to our optimized readers and writers, and if not we can still implement it in FAWE exclusively.
Activity
PierreSchwang commentedon Aug 3, 2026
I feel like this is an improvement which would be worthwhile suggesting upstream (at WorldEdit) as well.
If it'd be accepted we can pull it in and apply it to our optimized readers and writers, and if not we can still implement it in FAWE exclusively.