All Implemented Interfaces:
Comparable<VectorGeometry>, net.buildtheearth.terracore.geo.bvh.Bounds2d, VectorGeometry

public class SharpLine extends AbstractLine
A line style that resembles WorldEdit //line tool, that BTE Builders seem to prefer a lot.
  • Constructor Details

  • Method Details

    • apply

      public void apply(@NonNull CachedChunkData.Builder builder, int chunkX, int chunkZ, @NonNull @NonNull net.buildtheearth.terracore.geo.bvh.Bounds2d bounds)
      Description copied from interface: VectorGeometry
      Modifies the given CachedChunkData.Builder for the given chunk
      Parameters:
      builder - the CachedChunkData.Builder
      chunkX - the chunk's X coordinate
      chunkZ - the chunk's Z coordinate
      bounds - the chunk's bounding box
    • minX

      public double minX()
      Specified by:
      minX in interface net.buildtheearth.terracore.geo.bvh.Bounds2d
      Overrides:
      minX in class AbstractLine
    • maxX

      public double maxX()
      Specified by:
      maxX in interface net.buildtheearth.terracore.geo.bvh.Bounds2d
      Overrides:
      maxX in class AbstractLine
    • minZ

      public double minZ()
      Specified by:
      minZ in interface net.buildtheearth.terracore.geo.bvh.Bounds2d
      Overrides:
      minZ in class AbstractLine
    • maxZ

      public double maxZ()
      Specified by:
      maxZ in interface net.buildtheearth.terracore.geo.bvh.Bounds2d
      Overrides:
      maxZ in class AbstractLine