Class SpiralGen
java.lang.Object
net.rodofire.easierworldcreator.shapeutil.Shape
net.rodofire.easierworldcreator.shapegen.SpiralGen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumset every possible spiral shapeNested classes/interfaces inherited from class net.rodofire.easierworldcreator.shapeutil.Shape
Shape.LayerPlace, Shape.LayersType, Shape.PlaceType -
Constructor Summary
ConstructorsConstructorDescriptionSpiralGen(@NotNull net.minecraft.world.StructureWorldAccess world, @NotNull net.minecraft.util.math.BlockPos pos, int radius, int height) SpiralGen(@NotNull net.minecraft.world.StructureWorldAccess world, @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) -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.util.math.BlockPos> generateElipsoidSpiral(net.minecraft.util.math.BlockPos pos) List<net.minecraft.util.math.BlockPos> List<net.minecraft.util.math.BlockPos> this allow the generation of a large outline spiral.List<net.minecraft.util.math.BlockPos> intintintintintintintfloatfloatList<net.minecraft.util.math.Vec3d> getVec3d()voidsetHeight(int height) voidsetHelicoidAngle(int helicoidAngle) voidsetOffset(int offset) voidsetOutlineRadiusx(int outlineRadiusx) voidsetOutlineRadiusz(int outlineRadiusz) voidsetRadiusx(int radiusx) voidsetRadiusz(int radiusz) voidsetSpiralFilling(float spiralFilling) voidsetSpiralType(SpiralGen.SpiralType spiralType) voidsetTurnNumber(float turnNumber) Methods inherited from class net.rodofire.easierworldcreator.shapeutil.Shape
addBlockLayer, addBlockLayers, addBlocksToForce, addBlocksToForce, addPosOffset, addSecondxrotation, addXrotation, addYrotation, getBlockLayer, getBlockLayers, getBlocksToForce, getCoordinatesRotation, getCoordinatesRotation, getCoordinatesRotationList, getForce, getGenTime, getLayerPlace, getLayersType, getNoise, getPlaceType, getPos, getRotations, getSecondXrotation, getWorld, getXrotation, getYrotation, place, placeBlocks, placeBlocks, placeBlocksWithVerification, placeBlocksWithVerification, placeCylindricalBlocks, placeFirstSurfaceBlockLayers, placeLayers, placeRadialBlocks, placeSurfaceBlockLayers, removeBlockLayer, removeBlockLayer, removeBlockLayer, setBlockLayers, setBlockLayers, setBlocksToForce, setForce, setLayerDirection, setLayerPlace, setLayersType, setNoise, setPlaceType, setPos, setSecondxrotation, setXrotation, setYrotation, verifyBlocks
-
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
-
setSpiralType
-
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
- Specified by:
getBlockPosin classShape
-
getVec3d
-
generateElipsoidSpiral
public List<net.minecraft.util.math.BlockPos> generateElipsoidSpiral(net.minecraft.util.math.BlockPos pos) -
generateLargeOutlineSpiral
this allow the generation of a large outline spiral.- Returns:
- BlockPos list
-
generateHelicoid
-