public interface SchematicManager
Modifier and Type | Method and Description |
---|---|
Schematic |
getSchematic(java.lang.String name)
Get a schematic by it's name.
|
java.util.List<SchematicParser> |
getSchematicParsers()
Get all the registered parsers, in the same order they were registered.
|
java.util.List<java.lang.String> |
getSchematics()
Get a list of all the schematics.
|
void |
registerSchematicParser(SchematicParser schematicParser)
Register a new schematic parser.
|
void |
saveSchematic(org.bukkit.Location pos1,
org.bukkit.Location pos2,
int offsetX,
int offsetY,
int offsetZ,
float yaw,
float pitch,
java.lang.String schematicName)
Save a schematic.
|
void |
saveSchematic(org.bukkit.Location pos1,
org.bukkit.Location pos2,
int offsetX,
int offsetY,
int offsetZ,
float yaw,
float pitch,
java.lang.String schematicName,
java.lang.Runnable callable)
Save a schematic.
|
void |
saveSchematic(org.bukkit.Location pos1,
org.bukkit.Location pos2,
int offsetX,
int offsetY,
int offsetZ,
java.lang.String schematicName)
Save a schematic.
|
void |
saveSchematic(org.bukkit.Location pos1,
org.bukkit.Location pos2,
int offsetX,
int offsetY,
int offsetZ,
java.lang.String schematicName,
java.lang.Runnable callable)
Save a schematic.
|
void |
saveSchematic(SuperiorPlayer superiorPlayer,
java.lang.String schematicName)
Save a schematic.
|
@Nullable Schematic getSchematic(java.lang.String name)
name
- The name to check.java.util.List<java.lang.String> getSchematics()
void registerSchematicParser(SchematicParser schematicParser)
schematicParser
- The schematic-parser to register.java.util.List<SchematicParser> getSchematicParsers()
void saveSchematic(SuperiorPlayer superiorPlayer, java.lang.String schematicName)
superiorPlayer
- The player who saves the schematic.schematicName
- The schematic name.void saveSchematic(org.bukkit.Location pos1, org.bukkit.Location pos2, int offsetX, int offsetY, int offsetZ, java.lang.String schematicName)
pos1
- First position for the schematic.pos2
- Second position for the schematic.offsetX
- The offset x value for the schematic (from minimum location between the two)offsetY
- The offset y value for the schematic (from minimum location between the two)offsetZ
- The offset z value for the schematic (from minimum location between the two)schematicName
- The new schematic name that will be created.void saveSchematic(org.bukkit.Location pos1, org.bukkit.Location pos2, int offsetX, int offsetY, int offsetZ, float yaw, float pitch, java.lang.String schematicName)
pos1
- First position for the schematic.pos2
- Second position for the schematic.offsetX
- The offset x value for the schematic (from minimum location between the two)offsetY
- The offset y value for the schematic (from minimum location between the two)offsetZ
- The offset z value for the schematic (from minimum location between the two)yaw
- The yaw value of the schematic.pitch
- The pitch value of the schematic.schematicName
- The new schematic name that will be created.void saveSchematic(org.bukkit.Location pos1, org.bukkit.Location pos2, int offsetX, int offsetY, int offsetZ, java.lang.String schematicName, java.lang.Runnable callable)
pos1
- First position for the schematic.pos2
- Second position for the schematic.offsetX
- The offset x value for the schematic (from minimum location between the two)offsetY
- The offset y value for the schematic (from minimum location between the two)offsetZ
- The offset z value for the schematic (from minimum location between the two)schematicName
- The new schematic name that will be created.callable
- A runnable that will be ran after the task is completed.void saveSchematic(org.bukkit.Location pos1, org.bukkit.Location pos2, int offsetX, int offsetY, int offsetZ, float yaw, float pitch, java.lang.String schematicName, @Nullable java.lang.Runnable callable)
pos1
- First position for the schematic.pos2
- Second position for the schematic.offsetX
- The offset x value for the schematic (from minimum location between the two)offsetY
- The offset y value for the schematic (from minimum location between the two)offsetZ
- The offset z value for the schematic (from minimum location between the two)yaw
- The yaw value of the schematic.pitch
- The pitch value of the schematic.schematicName
- The new schematic name that will be created.callable
- A runnable that will be ran after the task is completed.