Class GenSpiral.EllipsoidSpiral

java.lang.Object
fr.rodofire.ewc.shape.block.simplegen.GenSpiral.EllipsoidSpiral
Enclosing class:
GenSpiral

public static class GenSpiral.EllipsoidSpiral extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    generateCircleEllipsoidSpiral(int xRadius, int zRadius, int height, int turn, int radius, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, List<net.minecraft.world.level.block.state.BlockState> blockState)
     
    static void
    generateEllipsoidFullSpiral(int xRadius, int zRadius, int height, int turn, int start, int end, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, List<net.minecraft.world.level.block.state.BlockState> blockState)
     
    static void
    generateEllipsoidSpiral(int xRadius, int zRadius, int height, int turn, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, double k, List<net.minecraft.world.level.block.Block> blocksToForce, List<net.minecraft.world.level.block.state.BlockState> blocksToPlace)
     

    Methods inherited from class java.lang.Object

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

    • EllipsoidSpiral

      public EllipsoidSpiral()
  • Method Details

    • generateEllipsoidSpiral

      public static void generateEllipsoidSpiral(int xRadius, int zRadius, int height, int turn, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, double k, List<net.minecraft.world.level.block.Block> blocksToForce, List<net.minecraft.world.level.block.state.BlockState> blocksToPlace)
      Parameters:
      xRadius - the radius of the x-axis
      zRadius - the radius of the z-axis
      height - the height of the spiral
      turn - the number of turns that the spiral will do
      world - the world where the spiral will spawn
      pos - the pos of the center fo the spiral
      force - force the pos of the blocks
      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
    • generateEllipsoidFullSpiral

      public static void generateEllipsoidFullSpiral(int xRadius, int zRadius, int height, int turn, int start, int end, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, List<net.minecraft.world.level.block.state.BlockState> blockState)
    • generateCircleEllipsoidSpiral

      public static void generateCircleEllipsoidSpiral(int xRadius, int zRadius, int height, int turn, int radius, net.minecraft.world.level.WorldGenLevel world, net.minecraft.core.BlockPos pos, boolean force, List<net.minecraft.world.level.block.state.BlockState> blockState)