Package com.plotsquared.bukkit.util.fawe
Class FaweSchematicHandler
java.lang.Object
com.plotsquared.core.util.SchematicHandler
com.plotsquared.bukkit.util.fawe.FaweSchematicHandler
public class FaweSchematicHandler
extends com.plotsquared.core.util.SchematicHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.util.SchematicHandler
com.plotsquared.core.util.SchematicHandler.UnsupportedFormatException -
Field Summary
Fields inherited from class com.plotsquared.core.util.SchematicHandler
manager -
Constructor Summary
ConstructorsConstructorDescriptionFaweSchematicHandler(@NotNull com.plotsquared.core.util.WorldUtil worldUtil, @NotNull com.plotsquared.core.inject.factory.ProgressSubscriberFactory subscriberFactory) -
Method Summary
Modifier and TypeMethodDescriptioncom.plotsquared.core.plot.schematic.SchematicgetSchematic(@NotNull InputStream is) voidpaste(com.plotsquared.core.plot.schematic.Schematic schematic, com.plotsquared.core.plot.Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, com.plotsquared.core.player.PlotPlayer<?> actor, com.plotsquared.core.util.task.RunnableVal<Boolean> whenDone) booleanrestoreTile(com.plotsquared.core.queue.QueueCoordinator queue, CompoundTag tag, int x, int y, int z) booleansave(CompoundTag tag, String path) voidupload(CompoundTag tag, UUID uuid, String file, com.plotsquared.core.util.task.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 com.plotsquared.core.util.WorldUtil worldUtil, @NotNull @NotNull com.plotsquared.core.inject.factory.ProgressSubscriberFactory subscriberFactory)
-
-
Method Details
-
restoreTile
public boolean restoreTile(com.plotsquared.core.queue.QueueCoordinator queue, CompoundTag tag, int x, int y, int z) - Specified by:
restoreTilein classcom.plotsquared.core.util.SchematicHandler
-
paste
public void paste(com.plotsquared.core.plot.schematic.Schematic schematic, com.plotsquared.core.plot.Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, com.plotsquared.core.player.PlotPlayer<?> actor, com.plotsquared.core.util.task.RunnableVal<Boolean> whenDone) - Overrides:
pastein classcom.plotsquared.core.util.SchematicHandler
-
save
- Overrides:
savein classcom.plotsquared.core.util.SchematicHandler
-
upload
public void upload(CompoundTag tag, UUID uuid, String file, com.plotsquared.core.util.task.RunnableVal<URL> whenDone) - Overrides:
uploadin classcom.plotsquared.core.util.SchematicHandler
-
getSchematic
- Overrides:
getSchematicin classcom.plotsquared.core.util.SchematicHandler
-