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

      @Deprecated(forRemoval=true, since="6.9.0") public int PLOT_SCHEMATIC_HEIGHT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PATH_WIDTH_LOWER

      public short PATH_WIDTH_LOWER
    • PATH_WIDTH_UPPER

      public short PATH_WIDTH_UPPER
    • G_SCH

      public HashMap<Integer,BaseBlock[]> G_SCH
    • G_SCH_B

      public HashMap<Integer,BiomeType> G_SCH_B
    • SCHEM_Y

      public int SCHEM_Y
      The Y level at which schematic generation will start, lowest of either road or plot schematic generation.
  • Constructor Details

  • Method Details

    • wrap

      @Deprecated(forRemoval=true, since="6.9.0") public static byte wrap(byte data, int start)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • wrap2

      @Deprecated(forRemoval=true, since="6.9.0") public static byte wrap2(byte data, int start)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • rotate

      public static BaseBlock rotate(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

      @Deprecated(forRemoval=true, since="6.10.2") public void addOverlayBlock(short x, short y, short z, BaseBlock id, boolean rotate, int height)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method should not be available for public API usage and will be made private.
    • addOverlayBiome

      @Deprecated(forRemoval=true, since="6.10.2") public void addOverlayBiome(short x, short z, BiomeType id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method should not be available for public API usage and will be made private.
    • getPlotSchematicEntities

      @DoNotUse public @Nullable List<Entity> getPlotSchematicEntities()
      Get the entities contained within the plot schematic for generation. Intended for internal use only.
      Since:
      6.9.0
    • getPlotSchematicMinPoint

      @DoNotUse public @Nullable BlockVector3 getPlotSchematicMinPoint()
      Get the minimum point of the plot schematic for generation. Intended for internal use only.
      Since:
      6.9.0
    • populationNeeded

      @DoNotUse public boolean populationNeeded()
      Get if post-generation population of chunks with tiles/entities is needed for this world. Not for public API use.
      Since:
      6.9.0
    • getRoot

      @Deprecated(forRemoval=true, since="6.9.0") public File getRoot()
      Deprecated, for removal: This API element is subject to removal in a future version.
      in favour of getSchematicRoot()
    • getSchematicRoot

      public @Nullable File getSchematicRoot()
      Get the root folder for this world's generation schematics. May be null if schematics not initialised via setupSchematics()
      Since:
      6.9.0