java.lang.Object
net.rodofire.easierworldcreator.shapeutil.Shape
net.rodofire.easierworldcreator.shapegen.LineGen

public class LineGen extends Shape
  • Constructor Details

    • LineGen

      public LineGen(@NotNull @NotNull net.minecraft.world.StructureWorldAccess world, @NotNull @NotNull net.minecraft.util.math.BlockPos pos, List<BlockLayer> layers, boolean force, List<net.minecraft.block.Block> blocksToForce, int xrotation, int yrotation, int secondxrotation, net.minecraft.util.math.BlockPos secondPos)
    • LineGen

      public LineGen(@NotNull @NotNull net.minecraft.world.StructureWorldAccess world, @NotNull @NotNull net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos secondPos)
  • Method Details

    • getBlockPos

      public List<net.minecraft.util.math.BlockPos> getBlockPos()
      Specified by:
      getBlockPos in class Shape
    • getVec3d

      public List<net.minecraft.util.math.Vec3d> getVec3d()
      Specified by:
      getVec3d in class Shape
    • generateAxisLine

      public List<net.minecraft.util.math.BlockPos> generateAxisLine(net.minecraft.util.math.Direction dir)
    • drawLine

      public List<net.minecraft.util.math.BlockPos> drawLine()