Class Schematic
java.lang.Object
fr.multimc.api.spigot.common.worlds.schematics.Schematic
-
Constructor Summary
ConstructorsConstructorDescriptionSchematic(@NotNull File schematicFile, @NotNull SchematicOptions options) Constructor forSchematicclassSchematic(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull String name, @NotNull SchematicOptions options) Constructor forSchematicclass -
Method Summary
Modifier and TypeMethodDescriptionGet the block count of the schematiccom.sk89q.worldedit.extent.clipboard.Clipboardvoidpaste()Paste the schematicvoidpaste(@NotNull SchematicOptions options) Paste the schematic
-
Constructor Details
-
Schematic
public Schematic(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull String name, @NotNull @NotNull SchematicOptions options) Constructor forSchematicclass- Parameters:
plugin- thePluginname- the name of the schematicoptions- theSchematicOptionsof the schematic
-
Schematic
Constructor forSchematicclass- Parameters:
schematicFile- theFileof the schematicoptions- theSchematicOptionsof theSchematic
-
-
Method Details
-
paste
public void paste() throws com.sk89q.worldedit.WorldEditExceptionPaste the schematic- Throws:
com.sk89q.worldedit.WorldEditException- the world edit exception
-
paste
public void paste(@NotNull @NotNull SchematicOptions options) throws com.sk89q.worldedit.WorldEditException Paste the schematic- Parameters:
options- the options of the schematic- Throws:
com.sk89q.worldedit.WorldEditException- the world edit exception
-
getBlockCount
Get the block count of the schematic- Returns:
- a
Mapcontaining the block count for eachMaterial
-
getSchematicFile
- Throws:
NullPointerException
-
getOptions
-
getClipboard
public com.sk89q.worldedit.extent.clipboard.Clipboard getClipboard()
-