Class HybridPlotWorld


public class HybridPlotWorld extends ClassicPlotWorld
  • Field Details

    • ROAD_SCHEMATIC_ENABLED

      public boolean ROAD_SCHEMATIC_ENABLED
    • PLOT_SCHEMATIC

      public boolean PLOT_SCHEMATIC
    • PLOT_SCHEMATIC_HEIGHT

      public int PLOT_SCHEMATIC_HEIGHT
    • PATH_WIDTH_LOWER

      public short PATH_WIDTH_LOWER
    • PATH_WIDTH_UPPER

      public short PATH_WIDTH_UPPER
    • G_SCH

      public HashMap<Integer,​com.sk89q.worldedit.world.block.BaseBlock[]> G_SCH
    • G_SCH_B

      public HashMap<Integer,​com.sk89q.worldedit.world.biome.BiomeType> G_SCH_B
    • SCHEM_Y

      public int SCHEM_Y
  • Constructor Details

  • Method Details

    • wrap

      public static byte wrap(byte data, int start)
    • wrap2

      public static byte wrap2(byte data, int start)
    • rotate

      public static com.sk89q.worldedit.world.block.BaseBlock rotate(com.sk89q.worldedit.world.block.BaseBlock id)
    • createManager

      protected @NonNull PlotManager createManager()
      Specified by:
      createManager in class PlotArea
    • getSignLocation

      public Location getSignLocation(@NonNull Plot plot)
    • loadConfiguration

      public void loadConfiguration(ConfigurationSection config)

      This method is called when a world loads. Make sure you set all your constants here. You are provided with the configuration section for that specific world.

      Overrides:
      loadConfiguration in class ClassicPlotWorld
    • isCompatible

      public boolean isCompatible(@NonNull PlotArea plotArea)
      Description copied from class: PlotArea
      Check if a PlotArea is compatible (move/copy etc.).
      Overrides:
      isCompatible in class PlotArea
      Parameters:
      plotArea - the PlotArea to compare
      Returns:
      true if both areas are compatible
    • setupSchematics

      public void setupSchematics() throws SchematicHandler.UnsupportedFormatException
      Throws:
      SchematicHandler.UnsupportedFormatException
    • addOverlayBlock

      public void addOverlayBlock(short x, short y, short z, com.sk89q.worldedit.world.block.BaseBlock id, boolean rotate, int height)
    • addOverlayBiome

      public void addOverlayBiome(short x, short z, com.sk89q.worldedit.world.biome.BiomeType id)
    • getRoot

      public File getRoot()