Interface Structure

All Superinterfaces:
PersistentDataHolder

public interface Structure extends PersistentDataHolder
Represents a structure.

A structure is a mutable template of captured blocks and entities that can be copied back into the world. The StructureManager, retrieved via Server.getStructureManager(), allows you to create new structures, load existing structures, and save structures.

In order for a structure to be usable by structure blocks, it needs to be null registered with the StructureManager, or located in the primary world folder, a DataPack, or the server's own default resources, so that the StructureManager can find it.