java.lang.Object
me.desht.pneumaticcraft.common.progwidgets.area.AreaType
me.desht.pneumaticcraft.common.progwidgets.area.AreaTypeLine

public class AreaTypeLine extends AreaType
  • Field Details

  • Constructor Details

    • AreaTypeLine

      public AreaTypeLine()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addArea

      public void addArea(Consumer<net.minecraft.core.BlockPos> areaAdder, net.minecraft.core.BlockPos p1, net.minecraft.core.BlockPos p2, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Description copied from class: AreaType
      Actually add the positions defined by this area to the given blockpos set
      Specified by:
      addArea in class AreaType
      Parameters:
      areaAdder - the adder; call adder.accept(pos) to add a blockpos
      p1 - the first raw blockpos of the area
      p2 - the second raw blockpos of the area
      minX - min X coord
      minY - min Y coord
      minZ - min Z coord
      maxX - max X coord
      maxY - max Y coord
      maxZ - max Z coord