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

    Constructors
    Constructor
    Description
    FaweSchematicHandler(@NotNull com.plotsquared.core.util.WorldUtil worldUtil, @NotNull com.plotsquared.core.inject.factory.ProgressSubscriberFactory subscriberFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.plotsquared.core.plot.schematic.Schematic
     
    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)
     
    boolean
    restoreTile(com.plotsquared.core.queue.QueueCoordinator queue, CompoundTag tag, int x, int y, int z)
     
    boolean
    save(CompoundTag tag, String path)
     
    void
    upload(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      restoreTile in class com.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:
      paste in class com.plotsquared.core.util.SchematicHandler
    • save

      public boolean save(CompoundTag tag, String path)
      Overrides:
      save in class com.plotsquared.core.util.SchematicHandler
    • upload

      public void upload(CompoundTag tag, UUID uuid, String file, com.plotsquared.core.util.task.RunnableVal<URL> whenDone)
      Overrides:
      upload in class com.plotsquared.core.util.SchematicHandler
    • getSchematic

      public com.plotsquared.core.plot.schematic.Schematic getSchematic(@NotNull @NotNull InputStream is)
      Overrides:
      getSchematic in class com.plotsquared.core.util.SchematicHandler