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