Uses of Interface
org.bukkit.structure.Structure
Packages that use Structure
Package
Description
Classes related to creating or using
structures without creating Structure
blocks in the world.-
Uses of Structure in org.bukkit.structure
Methods in org.bukkit.structure that return StructureModifier and TypeMethodDescriptionCreates a copy of this structure.StructureManager.createStructure()Creates a new empty structure.StructureManager.getStructure(NamespacedKey structureKey)Gets a registered Structure.StructureManager.loadStructure(File file)Reads a Structure from disk.StructureManager.loadStructure(InputStream inputStream)Reads a Structure from a stream.StructureManager.loadStructure(NamespacedKey structureKey)Loads the structure for the specified key and automatically registers it.StructureManager.loadStructure(NamespacedKey structureKey, boolean register)Loads a structure for the specified key and optionallyregistersit.StructureManager.registerStructure(NamespacedKey structureKey, Structure structure)Registers the given structure.StructureManager.unregisterStructure(NamespacedKey structureKey)Unregisters a structure.Methods in org.bukkit.structure that return types with arguments of type StructureModifier and TypeMethodDescriptionStructureManager.getStructures()Gets the currently registered structures.Methods in org.bukkit.structure with parameters of type StructureModifier and TypeMethodDescriptionCreates a copy of this structure.StructureManager.registerStructure(NamespacedKey structureKey, Structure structure)Registers the given structure.voidStructureManager.saveStructure(File file, Structure structure)Save a structure to a file.voidStructureManager.saveStructure(OutputStream outputStream, Structure structure)Save a structure to a stream.voidStructureManager.saveStructure(NamespacedKey structureKey, Structure structure)Saves a structure with a given key to the primary world folder.