Class GenSpiral.circularSpiral

java.lang.Object
net.rodofire.easierworldcreator.shape.block.simplegen.GenSpiral.circularSpiral
Enclosing class:
GenSpiral

public static class GenSpiral.circularSpiral extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    generateCircleSpiral(int large, int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, List<net.minecraft.block.BlockState> blockState)
    Generate a spiral that goes around the center point
    static void
    generateFullSpiral(int height, int turn, int start, int end, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, boolean force, List<net.minecraft.block.BlockState> blockState)
    this generates a Spiral that fills blocks in a straight line starting from the center to the separated from the radius
    static void
    generateFullSpiral(int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, List<net.minecraft.block.BlockState> blockState)
     
    static void
    generateSpiral(int radius, int height, int turn, List<net.minecraft.block.BlockState> blocks, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)
     
    static void
    generateSpiral(int radius, int height, int turn, net.minecraft.block.BlockState block, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)
     
    static void
    generateSpiral(int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, boolean force, double k, List<net.minecraft.block.Block> blocksToForce, List<net.minecraft.block.BlockState> blocksToPlace)
     
    static void
    generateSpiral(int radius, int height, net.minecraft.block.BlockState block, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • circularSpiral

      public circularSpiral()
  • Method Details

    • generateSpiral

      public static void generateSpiral(int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, boolean force, double k, List<net.minecraft.block.Block> blocksToForce, List<net.minecraft.block.BlockState> blocksToPlace)
      Parameters:
      radius - the radius of the spiral
      height - the height of the spiral
      turn - the number of turns that the spiral is going to do
      world - the world
      pos - the pos of the center of the spiral
      force - force the blockPos (will put the block no matter what block is at the current pos)
      k - the spiral offset in degrees
      blocksToForce - blocks that the generation will replace if force = false
      blocksToPlace - list of blocks that the generation will place randomly
    • generateCircleSpiral

      public static void generateCircleSpiral(int large, int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, List<net.minecraft.block.BlockState> blockState)
      Generate a spiral that goes around the center point
      Parameters:
      large - the radius of the blocks
      radius - the radius of the spiral
      height - the height of the spiral
      turn - the number of turns that the spiral is going to do until it reaches the wanted height
      world - the world in which the spiral is going to spawn
      pos - the pos of the center of the spiral
      blockState - the BlockStates that will randomly be placed
    • generateFullSpiral

      public static void generateFullSpiral(int height, int turn, int start, int end, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, boolean force, List<net.minecraft.block.BlockState> blockState)
      this generates a Spiral that fills blocks in a straight line starting from the center to the separated from the radius
      Parameters:
      start - the start of the filling. To start from the center, start should be equal to 0. A value equal to - radius will generate a double full spiral
      end - the end of the filling. To finish it at a distance from the center equal to the radius, it should be equal to the radius
    • generateFullSpiral

      public static void generateFullSpiral(int radius, int height, int turn, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos, List<net.minecraft.block.BlockState> blockState)
    • generateSpiral

      public static void generateSpiral(int radius, int height, int turn, List<net.minecraft.block.BlockState> blocks, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)
    • generateSpiral

      public static void generateSpiral(int radius, int height, int turn, net.minecraft.block.BlockState block, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)
    • generateSpiral

      public static void generateSpiral(int radius, int height, net.minecraft.block.BlockState block, net.minecraft.world.StructureWorldAccess world, net.minecraft.util.math.BlockPos pos)