Package com.plotsquared.bukkit.util.fawe
Class FaweSchematicHandler
java.lang.Object
com.plotsquared.core.util.SchematicHandler
com.plotsquared.bukkit.util.fawe.FaweSchematicHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.util.SchematicHandler
SchematicHandler.UnsupportedFormatException -
Field Summary
Fields inherited from class com.plotsquared.core.util.SchematicHandler
manager -
Constructor Summary
ConstructorsConstructorDescriptionFaweSchematicHandler(@NotNull WorldUtil worldUtil, @NotNull ProgressSubscriberFactory subscriberFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetSchematic(@NotNull InputStream is) voidpaste(Schematic schematic, Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, PlotPlayer<?> actor, RunnableVal<Boolean> whenDone) booleanrestoreTile(QueueCoordinator queue, com.sk89q.jnbt.CompoundTag tag, int x, int y, int z) booleanvoidupload(com.sk89q.jnbt.CompoundTag tag, UUID uuid, String file, RunnableVal<URL> whenDone) Methods inherited from class com.plotsquared.core.util.SchematicHandler
exportAll, getCompoundTag, getCompoundTag, getSaves, getSchematic, getSchematic, getSchematic, getSchematicNames, upload
-
Constructor Details
-
FaweSchematicHandler
@Inject public FaweSchematicHandler(@NotNull @NotNull WorldUtil worldUtil, @NotNull @NotNull ProgressSubscriberFactory subscriberFactory)
-
-
Method Details
-
restoreTile
public boolean restoreTile(QueueCoordinator queue, com.sk89q.jnbt.CompoundTag tag, int x, int y, int z) - Specified by:
restoreTilein classSchematicHandler
-
paste
public void paste(Schematic schematic, Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, PlotPlayer<?> actor, RunnableVal<Boolean> whenDone) - Overrides:
pastein classSchematicHandler
-
save
- Overrides:
savein classSchematicHandler
-
upload
public void upload(com.sk89q.jnbt.CompoundTag tag, UUID uuid, String file, RunnableVal<URL> whenDone) - Overrides:
uploadin classSchematicHandler
-
getSchematic
- Overrides:
getSchematicin classSchematicHandler
-