Class SpiralGen

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

public class SpiralGen extends Shape
  • Constructor Details

    • SpiralGen

      public SpiralGen(@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, int radiusx, int radiusz, int height, float turnNumber)
    • SpiralGen

      public SpiralGen(@NotNull @NotNull net.minecraft.world.StructureWorldAccess world, @NotNull @NotNull net.minecraft.util.math.BlockPos pos, int radius, int height)
  • Method Details

    • getOutlineRadiusz

      public int getOutlineRadiusz()
    • setOutlineRadiusz

      public void setOutlineRadiusz(int outlineRadiusz)
    • getOutlineRadiusx

      public int getOutlineRadiusx()
    • setOutlineRadiusx

      public void setOutlineRadiusx(int outlineRadiusx)
    • getSpiralFilling

      public float getSpiralFilling()
    • setSpiralFilling

      public void setSpiralFilling(float spiralFilling)
    • getSpiralType

      public SpiralGen.SpiralType getSpiralType()
    • setSpiralType

      public void setSpiralType(SpiralGen.SpiralType spiralType)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getRadiusz

      public int getRadiusz()
    • setRadiusz

      public void setRadiusz(int radiusz)
    • getRadiusx

      public int getRadiusx()
    • setRadiusx

      public void setRadiusx(int radiusx)
    • getTurnNumber

      public float getTurnNumber()
    • setTurnNumber

      public void setTurnNumber(float turnNumber)
    • getOffset

      public int getOffset()
    • setOffset

      public void setOffset(int offset)
    • getHelicoidAngle

      public int getHelicoidAngle()
    • setHelicoidAngle

      public void setHelicoidAngle(int helicoidAngle)
    • 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
    • generateElipsoidSpiral

      public List<net.minecraft.util.math.BlockPos> generateElipsoidSpiral(net.minecraft.util.math.BlockPos pos)
    • generateLargeOutlineSpiral

      public List<net.minecraft.util.math.BlockPos> generateLargeOutlineSpiral()
      this allow the generation of a large outline spiral.
      Returns:
      BlockPos list
    • generateHelicoid

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