public class SchematicHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SchematicHandler.DataCollection
Schematic Data Collection
|
static class |
SchematicHandler.Dimension
Schematic Dimensions
|
static class |
SchematicHandler.Schematic
Schematic Class
|
Constructor and Description |
---|
SchematicHandler()
|
Modifier and Type | Method and Description |
---|---|
static CompoundTag |
getCompoundTag(org.bukkit.World world,
PlotId id)
Gets the schematic of a plot
|
static SchematicHandler.Schematic
|
getSchematic(java.lang.String name)
Get a schematic
|
static boolean |
paste(org.bukkit.Location location,
SchematicHandler.Schematic schematic,
Plot plot,
int x_offset,
int z_offset)
Paste a schematic
|
static boolean |
pastePart(org.bukkit.World world,
SchematicHandler.DataCollection[] blocks,
org.bukkit.Location l1,
int x_offset,
int z_offset,
int i1,
int i2,
int WIDTH,
int LENGTH) |
static boolean |
save(CompoundTag tag,
java.lang.String path)
Saves a schematic to a file path
|
public static boolean paste(org.bukkit.Location location, SchematicHandler.Schematic schematic, Plot plot, int x_offset, int z_offset)
location
- originschematic
- schematic to pasteplot
- plot to paste inpublic static SchematicHandler.Schematic getSchematic(java.lang.String name)
name
- to checkpublic static boolean save(CompoundTag tag, java.lang.String path)
tag
- to savepath
- to save inpublic static CompoundTag getCompoundTag(org.bukkit.World world, PlotId id)
world
- to checkid
- plotpublic static boolean pastePart(org.bukkit.World world, SchematicHandler.DataCollection[] blocks, org.bukkit.Location l1, int x_offset, int z_offset, int i1, int i2, int WIDTH, int LENGTH)